SOAPMethod.Constructor(URL as String)

From Xojo Documentation

Constructor
SOAPMethod.Constructor(URL as String)

Creates a SOAPMethod object, optionally with the URL to the WSDL document.

Otherwise, set the URL and WSDL using the URL and WSDL properties.

Example

The following example creates a SOAPMethod and loads its WSDL from the URL specified in the constructor. It assumes that a valid Zip Code has been entered into a TextField called ZipCodeFld. It then calls the GetTemp function and displays the result.

Var sm As SOAPMethod
sm = New SOAPMethod("http://www.webservicex.net/stockquote.asmx?WSDL")
MessageBox(sm.GetQuote("AAPL"))