Zum Hauptinhalt springen

SOAPClient

SOAPClient

Constructors

Constructor

new SOAPClient(): SOAPClient

Returns

SOAPClient

Properties

timeout

readonly static timeout: 30000 = 30000

Timeout in milliseconds for asynchronous calls, the value 0 implies infinite timeout.


idle

readonly static idle: 50 = 50

Idle time in milliseconds for asynchronous calls

Methods

invoke()

invoke<T>(user, password, url, method, parameters): T

This method is invoked by the SOAP client using a JavaScript function with following parameters.

Type Parameters

T

T

Parameters

user

string

The user name for the Web Service

password

string

The password for the Web Service

url

string

The Web Service UR

method

string

Web methode name

parameters

object

Web methode parameter values

Returns

T

The result of the SOAP call (usually an object)