Overview Module Function Class I*Tea 3.6.8 Reference Documentation© 2013 PDM&FC

Class TSoapClient

TSoapClient -> TWsClient

The client end for connecting to a particular web service using the SOAP protocol.

Method Summary
constructor host port uri
constructor host port uri opNamespaceUri
constructor host port uri descriptor
constructor url
constructor url descriptor
         Prepares for creating Tea functions that invoke SOAP operations on a particular web service.
function opName
function opName opArgNameList resultParam
function opName opArgNameList resultParam soapAction
         Creates a Tea function that executes a remote operation on a SOAP web service.

Method Detail

constructor

TSoapClient constructor host port uri
TSoapClient constructor host port uri opNamespaceUri
TSoapClient constructor host port uri descriptor
TSoapClient constructor url
TSoapClient constructor url descriptor

Prepares for creating Tea functions that invoke SOAP operations on a particular web service.

Parameters:
host - The TCP/IP hostname for the web service server.
port - The TCP/IP port to connect to the web service server.
uri - The URI for the web service that will be used.
opNamespaceUri - The namespace URI to be used in all requests.
descriptor - A web service descriptor. These objects can be created from files containing a web service description by using the itea-load-ws-descriptor.
url - The URL for the web service that will be used. This is expected to be a string


function

TSoapClient function opName
TSoapClient function opName opArgNameList resultParam
TSoapClient function opName opArgNameList resultParam soapAction

Creates a Tea function that executes a remote operation on a SOAP web service.

Parameters:
opName - Symbol representing the name of the web service operation that is invoked.
opArgNameList - List of symbols representing the names of the operation arguments.
resultParam - Symbol representing the name of the parameter in the response whose value will be used as the result of the Tea function.
soapAction - The value of SOAPAction to associate with this operation. When invoking this operation the SOAPAction attribute of the HTTP request will have this value.
Returns:
A function object.

Creates a Tea function that executes a remote operation on a SOAP web service.


Overview Module Function Class ${tea.teadoc.header}
Report a bug or request new features
© 2013