SOAPMethod.Constructor(URL as String)

From Xojo Documentation


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.


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("")