I’m facing a problem where an external system (third party vendor) is sending in a request XML to our webMethods IS service called ABC. Basically this service receives an object as input and the structure is as follows:
–savePipelineToFile
–xmlNodeToDocument
–customEventLogToFile
– etc etc etc…
The problem occurs when there is a special character like &, <,>, " within the XML message sent to ABC via HTTP. The third party vendor provided the XML file they generated before passing to webMethods IS (OutputXML.xml) which I used to test ABC with. Using Developer, I used “Send XML File” to test and it passes through the whole service successfully. However, when the external system passes the same XML via HTTP, it fails at the xmlNodeToDocument step above. The content of the saved pipeline file having the special characters (at custName tag) shows that the strange tags </value> <array name=$xmldataList" type=“value” … were added at the point where the HTML-encoded ampersand was. FYI, I have set makeArrays parameter within that xmlNodeToDocument to false, however the arrays parameter have some values.
One thing I would like to know is, does wM IS automatically do parsing when saving the pipeline to file? Other transactions sent in without special characters have not faced this problem. From OutLookXML.xml it seems that the third party provider is doing the right thing by HTML-encoding the ampersand to & which has lead both the third party vendor and I to a deadlock situation.
–Kelvin
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods