Question

1
Replies
597
Views
Arun Kumar Gopal (GopalArunKumar)
Transport for NSW

Transport for NSW
AU
GopalArunKumar Member since 2016 2 posts
Transport for NSW
Posted: July 6, 2016
Last activity: July 7, 2016
Posted: 6 Jul 2016 21:30 EDT
Last activity: 7 Jul 2016 10:14 EDT
Closed

Parse XML - Can an element or attribute value be restricted from a ENUM ?

All,

 

Version - Pega 7.1.8 

 

As per our current requirement, I'm in need of hosting a SOAP service which can have several request parameters. Off the input list, I would like to restrict one of the request parameter with enum. Is this possible ?

 

For example, Input parameter - "VERSION" can only have the valid values from the list - {Pega 7.1.8, Pega 7.1.9, Pega 7.2}. Rest all are invalid.

 

Things I tried :

In Parse-xml, I wasn't sure attribute or element can be restricted at TYPE-> XSD Base type being set as ENUM. This didn't help though. 

 

Attribute.JPG

 

Element.JPG

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.