Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

These are the steps to setup the integration, it should now be fully functional for getting any SOAP message.

Info

Note that the groovy script will try to parse the result into a JSON object, if the information in that you need is a string then remove the mapper part and it will look like this;

  • Code Block
    languagegroovy
    import org.json.JSONObject
    import org.json.XML
    
    JSONObject xmlJSONObj = XML.toJSONObject(response)
    def jsonObject = xmlJSONObj["soap:Envelope"]["soap:Body"]["someStringElement"]

Step 5. Testing

Testing can be done from any tool or SOAP system. We use iHub to test this integration.

...