soapRequestData | Object SOAP message that is to be sent. This object must be produced with the services in the soap folder. See the Usage Notes for more information. | |
address | String URL to which you want the SOAP message sent. For example: https://servername:5555/soap/default | |
auth | Document Optional. Parameters specifying the credentials that are to be submitted to the server specified in address. Each element is defined as follows: | |
Key | Description | |
type | String Type of authentication that the service will perform. Leave this field blank, as the only option currently available is basic HTTP authentication. | |
user | String User name that this service will use if one is requested. | |
pass | String Password that this service will submit if one is requested. | |
validateSOAP | String Optional. Indicates whether or not the response message is to be validated against the SOAP schema. Set to: ![]() ![]() | |
SOAPAction | String Optional. Value to which you want to set the SOAPAction HTTP header. | |
contentType | String Optional. Specifies the value of Content-Type in the HTTP header. Set to: ![]() ![]() | |
loadAs | String Optional. Specifies the format of the soapResponseData. Default value is stream for an HTTP service and byteArrayStream for an HTTPS service. Set to: ![]() ![]() ![]() | |
timeout | String Optional. Time (measured in milliseconds) to wait for a response from the remote server before timing out and terminating the request. The default value is to wait forever. | |
encoding | String Default character set for encoding SOAP message. Specify an IANA-registered character set (for example, ISO-8859-1). The default is UTF-8. The encoding parameter is used to override the encoding determined by the watt.server.netEncoding server configuration parameter. For more information about watt.server.netEncoding, see webMethods Integration Server Administrator’s Guide . |
soapResponseData | Object The SOAP response message returned by the server specified in address. | |
header | Document Conditional. Headers from the HTTP response. Will contain the following keys: | |
Key | Description | |
lines | Document Header fields from the HTTP response. Each key in lines represents a field (line) of the response header. Key names represent the names of header fields. The keys' values are Strings containing the values of the fields. | |
status | String Status code from the HTTP response. | |
statusMessage | String Status message from the HTTP response. | |
soapStatus | String Flag indicating whether the SOAP request message was processed successfully. | |
A value of... | Indicates that... | |
0 | The remote server successfully processed the SOAP request and returned a SOAP response message. | |
1 | The remote server returned a SOAP fault, indicating that the SOAP request was received but was not processed successfully. | |
2 | The server returned an error that was not a SOAP fault. This indicates that some type of HTTP error occurred (often, an HTTP 404). You can check the status element in header to determine the type of HTTP error that occurred. |