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.
-
-
Save chameleonbr/355136b836c0d726fe12 to your computer and use it in GitHub Desktop.
SOAP Call Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"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":[]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am getting below error :
Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char: D
Please help me out to resolve this.
Thanks