My partner is posting an XML document to webMethods IS using HTTP post and setting the content-type to “application/x-icc-xml”
When the xml is posted to IS, webMethods is placing a variable called “contentStream” with a value com.wm.app.b2b.server.BoundedInputStream in the pipeline.
Can anyone please help in parsing the XML document with the input as contentStream.
Try this code for converting stream to string further to parse the xml.
pub.io:streamToBytes(map contentStream object)
pub.string:bytesToString(extract xml string)
pub.xml:XmlStringToXMLNode
pub.xml:xmlNodeToDocument(parses xml to IDATA document)
Do mapping etc…