Creating SOAP Services and Web Clients with Ensemble
Settings for the SOAP Outbound Adapter
Provides reference information for settings of the SOAP outbound adapter, EnsLib.SOAP.OutboundAdapter.
The outbound SOAP adapter has the following settings:
||Web Service URL, Web Service Client Class, SOAP Credentials, Credentials
||SSL Configuration, SSL Check Server Identity
||Proxy Server, Proxy Port, Proxy HTTPS, ProxyHttpTunnel, ProxyHttpSSLConnect
||ResponseTimeout, HttpVersion, ConnectTimeout, SendSuperSession
Specifies the number of seconds to wait for the connection to the server to open. The default value is 5.
If the connection is not opened in this time period, the adapter retries repeatedly, up to the number of times given by Failure Timeout
divided by Retry Interval
Specifies the HTTP version that the adapter should report in the HTTP request it sends to the server.
Specifies whether the proxy (if any) uses HTTPS to communicate with the real HTTP/HTTPS server.
Specifies whether the adapter use the HTTP CONNECT command to establish a tunnel through the proxy to the target HTTP server.
Specifies the proxy server port on which to send HTTP requests, if using a proxy server. The default value is 80.
Specifies the proxy server through which to send HTTP requests, if any.
Specifies whether the adapter should use a proxy SSL connection to the proxy. Note that the use of SSL to the eventual endpoint is determined by the protocol part of web service's location URL.
Specifies the timeout for getting a response from the remote web server (the timeout for opening the connection to the server is set by ConnectTimeout
). The default value is 30.
is a Boolean setting that controls whether the outbound adapter creates a SuperSession header in the HTTP header and assigns an identifier to it. When finding a message, you can use the SuperSession value to match a message in one production with the related message in another production. Within a production, it is easy to track a message as it travels between business services, processes, and operations using the SessionId. But once a message leaves a business operation via a SOAP message and enters a different production, the production receiving the message assigns a new SessionId.
Check if the message has an empty value in Ens.MessageHeaderBase.SuperSession property. If it does have an empty value, the adapter generates a new value and stores it in the SuperSession property.
Stores the value of the SuperSession property in the private InterSystems.Ensemble.SuperSession HTTP header of the outgoing message.
When an SOAP incoming adapter receives a message, it checks for the SuperSession value in the incoming HTTP message header. If the value is present, it sets the Ens.MessageHeaderBase.SuperSession property. This property is preserved as the message passes from one production component to another.
There are no tools to automate tracking messages between productions using SuperSession.
Specifies that when making an SSL connection, the adapter should check that the server identity in the certificate matches the name of the system being connecting to. This defaults to specifying that the check should be made. Uncheck this for test and development systems where the name specified in the SSL certificate does not match the DNS name.
The name of an existing SSL/TLS configuration to use to authenticate this connection. Choose a client SSL/TLS configuration, because the web client initiates the communication.
If your SSL configuration requires a private key password, include that in the SSL Config
setting. To do so, add a vertical bar character |
after the configuration name, followed by the password. For example: MySSLItem|mypassword
You must also ensure the web service is at a URL that uses https://
. The web service location is determined by the WebServiceURL
setting; if this is not specified, the Ensemble web client assumes the web service is at the URL specified by the LOCATION
parameter in proxy client class.
Specifies the full name (including package) of the proxy client class, specifically the class that actually sends and receives SOAP messages to the web service.
Specifies the URL where the web service is located. If this setting is not given, the adapter uses the default location (the LOCATION
parameter) declared in the proxy client class; see the WebServiceClientClass
setting. Note that SSL will only work if this URL uses https://