Skip to content

Instantly share code, notes, and snippets.

@WietseWind
Created July 27, 2016 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WietseWind/9ee414049aba5f77fdd709d7ebc33ed7 to your computer and use it in GitHub Desktop.
Save WietseWind/9ee414049aba5f77fdd709d7ebc33ed7 to your computer and use it in GitHub Desktop.
Calling webservices with nodum
<h1>Websrvices</h1>
{% set ws =
api
.WebService_Connect('http://www.swanandmokashi.com/Homepage/Webservices/QuoteOfTheDay.asmx?WSDL')
.addHeader('http://swanandmokashi.com/GetQuote', 'QuoteofTheDayHttpPost', ''|date('YmdHis') )
%}
{{ ws.getFunctions | pre }}
{{ ws.getQuote | pre }}
<hr />
{% set ws = api.WebService_Connect('http://www.w3schools.com/xml/tempconvert.asmx?WSDL') %}
{{ ws.getFunctions | pre }}
{{ ws.CelsiusToFahrenheit({ Celsius : '20' }) | pre }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment