SoapConfig
Configuration Object für Soap Webservice Aufrufe. Das resultierende Objekt wird bei Ausführung auf plausible Konfiguration geprüft (validiert).
Methods
action
action(
pAction):SoapConfig
The function that is to be called on the webservice.
Parameters
string | number | booleanthe function name
Returns
SoapConfigSoapConfig
addHeader
addHeader(
pName,pValue):SoapConfig
Adds a header entry.
Parameters
string | number | booleanthe name of the header entry
string | number | booleanthe value of the header entry
Returns
SoapConfigRestConfig
addHeaders
addHeaders(
pName,pValues):SoapConfig
Adds a header entry.
Parameters
string | number | booleanthe name of the header entry
string[]the values of the header entry
Returns
SoapConfigRestConfig
addQueryParameter
addQueryParameter(
pName,pValue):SoapConfig
Adds a query parameter.
Parameters
string | number | booleanthe name of the parameter
string | number | booleanthe value of the parameter
Returns
SoapConfigRestConfig
addQueryParameters
addQueryParameters(
pName,pValues):SoapConfig
Adds a query parameter.
Parameters
string | number | booleanthe name of the parameter
string[]the values of the parameter
Returns
SoapConfigRestConfig
connectionTimeoutInMillis
connectionTimeoutInMillis(
pValue):SoapConfig
The timeout in milliseconds when connecting.
Parameters
numberthe value
Returns
SoapConfigSoapConfig
getAction
getAction():
string
Returns the action (function name).
Returns
stringthe action
getConnectionTimeoutInMillis
getConnectionTimeoutInMillis():
number
Returns the timeout in milliseconds when reading.
Returns
numberthe timeout value
getHeaders
getHeaders():
Map<string,string[]>
Returns the headers.
Returns
Map<string, string[]>the headers
getQueryParameters
getQueryParameters():
Map<string,string[]>
Returns the query parameters.
Note: Curly braces in parameter values (e.g. {value}) may be interpreted as URI templates by underlying JDK implementations (see UriBuilder.queryParam(java.lang.String, java.lang.Object...)).
If raw values are needed, ensure they are properly escaped before being added.
Returns
Map<string, string[]>the parameters
getReadTimeoutInMillis
getReadTimeoutInMillis():
number
Returns the timeout in milliseconds when reading.
Returns
numberthe timeout value
getUrl
getUrl():
string
Return the URL of the webservice request.
Returns
stringthe URL
getXml
getXml():
string
Returns the xml payload.
Returns
stringxml as String
readTimeoutInMillis
readTimeoutInMillis(
pValue):SoapConfig
The timeout in milliseconds when reading.
Parameters
numberthe value
Returns
SoapConfigSoapConfig
url
url(
pUrl):SoapConfig
The URL to be called in the webservice request.
Parameters
string | number | booleanthe URL
Returns
SoapConfigSoapConfig
xml
xml(
pXml):SoapConfig
The xml representing the request as String.
Parameters
string | number | booleanthe xml
Returns
SoapConfigSoapConfig