SOAP-S Messages
Introduction
The SoapServerApp uses SOAP-S-… messages to communicate with other applications (such as the LogicApp) to handle inbound SOAP/HTTP(S) requests received from an external SOAP/HTTP(S) Client.
The following LuaApp agents from the core n2svcd module handle messages
from SoapServerApp.
SoapLuaService(handles inbound SOAP requests within LogicApp)
The internal SOAP-S-… messages are:
SOAP-S-REQUESTSOAP-S-RESPONSE
Note that this page uses the term “on-the-wire” to refer to the sending or receiving of SOAP content by the SoapServerApp. This term is also inclusive of the case where the message is sent by local loopback and does not physically transit a Network Interface Controller (NIC).
SOAP-S-REQUEST
The SOAP-S-REQUEST message is sent by SoapServerApp to the application that is configured
for handling of inbound SOAP requests.
Refer to the SoapServerApp Configuration documentation for more information on setting default parameters.
The attributes of the SOAP-S-REQUEST message are:
| Field | Type | Description |
|---|---|---|
soap
|
Object | Container for the parameters of the SOAP request that we have received. |
.remote_host
|
String | The remote IP address from which the SOAP HTTP(S) request was sent. |
.remote_port
|
Integer | The remote IP port from which the SOAP HTTP(S) request was sent. |
.method
|
String | The HTTP Request method. |
.uri
|
String |
The URI for which the request was received. Includes only path and query. No host/port/auth/user/fragment is present. |
.path
|
String | The URI path. |
.query
|
String | The URI query string (the part following "?" in the URI). |
.message_name
|
String | The name of the SOAP message (without namespace), being the name of the element contained within the SOAP body. |
.args
|
Object |
The args provided by the client into the SOAP request.
This may be a complex, nested structure.
The decoding and parsing of the args into an internal object
representation differs slightly according the quirks_mode.
|
.message_namespace
|
Object | A container for the message namespace information. |
.location
|
message/envelope
|
Location of the message namespace. |
.alias
|
String | The alias for the message namespace, if one was used. |
.uri
|
String | The message namespace URI, if one was provided. |
.standard_namespaces
|
Object | A container for the standard namespace information. |
.encoding_alias
|
String | The alias for the standard encoding namespace, if present. |
.envelope_alias
|
String | The alias for the standard envelope namespace, if present. |
.schema_alias
|
String | The alias for the standard schema namespace, if present. |
.schema_instance_alias
|
String | The alias for the standard schema instance namespace, if present. |
Note that SSL and security parameters are not placed into this message.
SOAP-S-RESPONSE
The SOAP-S-RESPONSE message is sent back to the SoapServerApp by the handling application
when it is ready to send a HTTP Response to the original received HTTP Request.
The attributes of the SOAP-S-RESPONSE message are:
| Field | Type | Description |
|---|---|---|
success
|
0/1
|
[Required] Indicates if the request handling was successful or not. |
error
|
String |
Indicates the reason why the request handling failed. Present and applicable only if success == 0.
|
soap
|
Object |
Container for the SOAP response parameters we are to send. Present only if success == 1.
|
.message_name
|
String |
Response message name to use. (Default = Request name with Response appended)
|
.args
|
Object |
The arguments which we will encode into XML for the SOAP response. The quirks_mode for the SoapServerApp will control how this is done.
|