midrange.com code scratchpad |
Name:
HTTP API soap message
|
Scriptlanguage:
Plain Text
|
Tabwidth:
4
|
Date:
08/28/2014 04:23:09 pm
|
IP:
Logged
|
|
Description:
corrected SOAP message
|
Code:
- SOAP =
- '<soapenv:Envelope'
- +' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"'
- +' xmlns:ns="http://www.restfulwebservices.net/ServiceContracts/2008/'
- +'01">'
- +'<soapenv:Header/>'
- +'<soapenv:Body>'
- +'<ns:GetConversionRate>'
- +'<ns:FromCurrency>'+ %trim(Country1) +'</ns:FromCurrency>'
- +'<ns:ToCurrency>'+ %trim(Country2) + '</ns:ToCurrency>'
- +'</ns:GetConversionRate>'
- +'</soapenv:Body>'
- +'</soapenv:Envelope>';
|
|
|