Question

1
Replies
583
Views
GopalArunKumar Member since 2016 2 posts
Transport for NSW
Posted: 4 years ago
Last activity: 4 years 3 months ago
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
Share this page LinkedIn