Search code examples
soapwebmethods

How to catch messages from WebMethods Integration Server


I have to catch messages from WebMethods IS, put them into database and analyze them. I've stuck at the beginning, because I have no idea how to get xml file with message, that IntegrationServer is processing. Any ideas?


Solution

  • I assume that the "messages" you're talking about are the input documents of your service.

    To transform documents into xml strings you can use the following built-in service:

    pub.xml:documentToXMLString 
    

    Which is located in the built-in package: WmPublic/pub/xml

    Below a screenshot of the built-in service in action:

    enter image description here

    The output xmldata pipeline field is the xml string that you will use to persist in your database.

    Hope this helps!