How to connect to SOAP Web Service?

This document specifies the steps to connect to a SOAP WebService from the Orbita Experience Designer. This uses the SOAP Request Node available in the Orbita system.

 

 

  • Import the sample flow into the Experience Designer. Go to Experience Designer> Harumburger menu> Import> Clipboard

[{"id":"12608a35.6cc226","type":"soap request","z":"326a5bac.239f34","name":"soap request node","topic":"","wsdl":"acfdd48b.3c7c48","method":"NumberToWords","x":570,"y":280,"wires":[["b4c3c8b1.21e6f8"]]},{"id":"ada8f21b.3b9ed8","type":"inject","z":"326a5bac.239f34","name":"Trigger Service","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":"","x":140,"y":280,"wires":[["1755d3d9.e81a1c"]]},{"id":"b4c3c8b1.21e6f8","type":"debug","z":"326a5bac.239f34","name":"","active":true,"console":"false","complete":"payload","x":810,"y":280,"wires":[]},{"id":"1755d3d9.e81a1c","type":"function","z":"326a5bac.239f34","name":"Request payload","func":"var newmsg = {\n\tserver: \"https://www.dataaccess.com/webservicesserver/NumberConversion.wso\",\n\toptions: {},\n\theaders: {},\n\tpayload: {\n\t\tubiNum: 500\n\t}\n};\nreturn newmsg;","outputs":1,"noerr":0,"x":350,"y":280,"wires":[["12608a35.6cc226"]]},{"id":"acfdd48b.3c7c48","type":"soap-config","z":"326a5bac.239f34","wsdl":"https://www.dataaccess.com/webservicesserver/NumberConversion.wso","auth":"0","user":"","pass":"","key":"","cert":"","token":""},{"id":"slots","type":"slots","z":"","slots":[]}]

The sample SOAP service being used here is a Number conversion service provided by https://www.dataaccess.com/webservicesserver/NumberConversion.wso

 

  • Use the Function node (Request payload) to set the payload object needed for the service. Please modify it as per the need. For the sample here, we have given,

    payload: {ubiNum: 500}

 

  • Define the parameters in the SOAP Request Node.

Property

Description

Property

Description

WSDL

Define the SOAP service URL

Method

Define the method name that is targeted in the Web service.

SOAP Request Node
  • Trigger the Web Service by injecting using the Inject Node.