Good Morning/Evening.
I am in a situation where – Client will post (HTTP) XML data to TN. Now, from TN, I will be invoking wM Developer flow service to do some back-end job; and in the same session, i will reply back to sender.
Now, I need to validate the incoming XML data – whetehr that is in proper XML format or not. If the XML is not in proper format (Invalid XML or Doesn’t match with document-type), I need to send the exact error back in the response.
In case the wel-formed XML (which does not match the document type) gets posted; I can bypass it to developer flow by not validating the structure in TN. In developer flow, I am constructing the response msg and sending it back to TN as response.
But in case, the XML is not wel-formed; I am unable to pass it to developer as it is failing in TN itself and is getting ignored. How do I catch this error and process it. Can anybody please help me?
#B2B-Integration#Integration-Server-and-ESB#webMethods