SOAP Call Example
This example call method GetWeather from free example SOAP service http://www.webservicex.net/globalweather.asmx/?WSDL and return current weather. Change Country and City on SOAP Params node.
[{"id":"178bc6ee.e87439","type":"soap-config","z":"fb08e85.f04f718","wsdl":"http://www.webservicex.net/globalweather.asmx?WSDL","auth":"0","user":"","pass":"","cert":"","token":""},{"id":"240bc803.dbf438","type":"inject","z":"fb08e85.f04f718","name":"","topic":"","payload":"","payloadType":"none","repeat":"","crontab":"","once":false,"x":88,"y":65,"wires":[["85342972.7acbd8"]]},{"id":"85342972.7acbd8","type":"function","z":"fb08e85.f04f718","name":"SOAP Params","func":"return { \n \"payload\":{\n \"CityName\":\"Curitiba\",\n \"CountryName\":\"Brazil\"\n }\n};","outputs":1,"noerr":0,"x":158,"y":96,"wires":[["7e429096.81bd7"]]},{"id":"7e429096.81bd7","type":"soap request","z":"fb08e85.f04f718","name":"SOAP Call","topic":"","wsdl":"178bc6ee.e87439","method":"GetWeather","x":248,"y":65,"wires":[["f72a044e.08d5f8"]]},{"id":"7101c4e7.8efe3c","type":"xml","z":"fb08e85.f04f718","name":"","attr":"","chr":"","x":411,"y":65,"wires":[["cf221311.30ddf"]]},{"id":"f72a044e.08d5f8","type":"function","z":"fb08e85.f04f718","name":"Result","func":"return { \"payload\": msg.payload.GetWeatherResult };","outputs":1,"noerr":0,"x":335,"y":96,"wires":[["7101c4e7.8efe3c"]]},{"id":"cf221311.30ddf","type":"debug","z":"fb08e85.f04f718","name":"","active":true,"console":"false","complete":"false","x":506,"y":96,"wires":[]}]