SOAP
(Created page with "Call SOAP service like this: vNewVar:=selfVM.SoapCall('<nowiki>http://www.webserviceX.NET/stockquote.asmx','GetQuote','http://www.webserviceX.NET/'</nowiki>,<nowiki>''</nowik...")
 
No edit summary
Line 2: Line 2:


vNewVar:=selfVM.SoapCall('<nowiki>http://www.webserviceX.NET/stockquote.asmx','GetQuote','http://www.webserviceX.NET/'</nowiki>,<nowiki>''</nowiki>,<nowiki>''</nowiki>,'NestingWParams')
vNewVar:=selfVM.SoapCall('<nowiki>http://www.webserviceX.NET/stockquote.asmx','GetQuote','http://www.webserviceX.NET/'</nowiki>,<nowiki>''</nowiki>,<nowiki>''</nowiki>,'NestingWParams')
SoapCall returns the body of the soap-envelope that is returned from the called service.
SoapCalls take a action (above 'GetQuote') and set this as SOAPAction header


==== special variables ====
==== special variables ====
ViewModel variable named vSoapDebug – when we find this in the ViewModel – we assign the complete SoapEnvelope to this prior to sending it.
ViewModel variable named vSoapDebug – when we find this in the ViewModel – we assign the complete SoapEnvelope to this prior to sending it.

Revision as of 07:37, 18 October 2019

Call SOAP service like this:

vNewVar:=selfVM.SoapCall('http://www.webserviceX.NET/stockquote.asmx','GetQuote','http://www.webserviceX.NET/','','','NestingWParams')

SoapCall returns the body of the soap-envelope that is returned from the called service.

SoapCalls take a action (above 'GetQuote') and set this as SOAPAction header

special variables

ViewModel variable named vSoapDebug – when we find this in the ViewModel – we assign the complete SoapEnvelope to this prior to sending it.

This page was edited 86 days ago on 02/10/2024. What links here