From Xojo Documentation

Class (inherits from Object)

Returns the value found for the specified XML tag.

Body Envelope ErrorCode
Document Error ErrorMessage

Sample Code

The follow code demonstrates how you might use this class. It does not refer to an actual SOAP web service.

Var sm As SOAPMethod
Var sr As SOAPResult

// Create soap method and define parameters
sm = New SOAPMethod
sm.Parameter("zipcode") = "04101"

// Setup method properties
sm.MethodNamespace = "urn:xmethods-Temperature"
sm.URL = ""

// Call the method
sr = sm.Invoke("getTemp")

// Get the result
Var r As String = sr.Result("return")

See Also

SOAPMethod class; SOAPException error.