Question
Transport for NSW
AU
Last activity: 7 Jul 2016 10:14 EDT
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.
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.