Hi Vital,
There is no service to verify the array node is IsDocument or IsString.
But you can verify the same with additional steps in your Flow service as below: (Refer screenshot)
- Loop over /documentList
- Get indexOf % for %documentList/Value% – this will print as it is if the node is a document , else it will print the node actual value
- Do Branch EvaluateLabel True , with two sequence. One sequence if node is string (indexOfPercentage!=‘0’), another sequence if node is again a document (indexOfPercentage==‘0’)
This way you can handle in flow service.
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB