Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

To parse SOAP messages iHub uses https://www.npmjs.com/package/xmldom this can either be used by using mustache function "{{{getElementByTagNameNS payload 'http://www.dataaccess.com/webservicesserver/' 'NumberToWordsResult' 0}}}" or scripted variables.

Number Example

https://www.dataaccess.com/webservicesserver/NumberConversion.wso

Sending SOAP

To run the convert number soap api, create a new Web Action like below.

POST: https://www.dataaccess.com/webservicesserver/NumberConversion.wso

Change the Content-Type to value text/xml header and add the SOAPAction header with value http://schemas.microsoft.com/sqlserver/2004/SOAPsqlbatch

Reading SOAP

This example we created a issue comment which the body "{{{getElementByTagNameNS payload 'http://www.dataaccess.com/webservicesserver/' 'NumberToWordsResult' 0}}}"

This will take the response from the first call and read the value and add it as a comment on the issue.

  • No labels