Created
July 27, 2016 19:38
-
-
Save WietseWind/9ee414049aba5f77fdd709d7ebc33ed7 to your computer and use it in GitHub Desktop.
Calling webservices with nodum
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
<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