Closed
Solved
Can we set Min\Max occurrence for Request XML in SOAP Service
I have a SOAP service where I wish to specify min\max occurrences for each element in the Request XML we receive form the External system. Can I limit this ?
There is no direct way to achieve this, at least not by a configuration option at node level on Parse XML rule. However, I can think of a workaround. You could create an XSD in which you specify all your constraints, reference this XSD on Parse XML rule and always validate the incoming XML. The other less-preferable option is to add your own validation logic in the service activity.