Skip to content

Instantly share code, notes, and snippets.

@chameleonbr
Created January 10, 2016 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chameleonbr/355136b836c0d726fe12 to your computer and use it in GitHub Desktop.
Save chameleonbr/355136b836c0d726fe12 to your computer and use it in GitHub Desktop.
SOAP Call Example
[{"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":[]}]
@parath1
Copy link

parath1 commented Jan 23, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment