Skip to main content

Settings for the SOAP Outbound Adapter

Provides reference information for settings of the SOAP outbound adapter, EnsLib.SOAP.OutboundAdapterOpens in a new tab.

Summary

The outbound SOAP adapter has the following settings:

Group Settings
Basic Settings Web Service URL, Web Service Client Class, SOAP Credentials, Credentials
Connection Settings SSL Configuration, SSL Check Server Identity
Proxy Settings Proxy Server, Proxy Port, Proxy HTTPS, ProxyHttpTunnel, ProxyHttpSSLConnect
Additional Settings ResponseTimeout, HttpVersion, ConnectTimeout, SendSuperSession

The remaining settings are common to all business operations. For information, see “Settings for All Business Operations” in Configuring Ensemble Productions.

ConnectTimeout

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.

Credentials

Specify the ID of the Ensemble credentials that contain the username and password to be used in the HTTP header. For information on creating Ensemble credentials, see Configuring Ensemble Productions.

HttpVersion

Specifies the HTTP version that the adapter should report in the HTTP request it sends to the server.

ProxyHTTPS

Specifies whether the proxy (if any) uses HTTPS to communicate with the real HTTP/HTTPS server.

ProxyHttpTunnel

Specifies whether the adapter uses the HTTP CONNECT command to establish a tunnel through the proxy to the target HTTP server. If true, the request uses the HTTP CONNECT command to establish a tunnel. The address of the proxy server is taken from the Proxy Server and Proxy Port properties. If Proxy Https SSL Connect is true, then once the tunnel is established, Ensemble negotiates the SSL connection. The default value is false.

ProxyPort

Specifies the proxy server port on which to send HTTP requests, if using a proxy server. The default value is 80.

ProxyServer

Specifies the proxy server through which to send HTTP requests, if any.

ProxyHttpSSLConnect

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.

ResponseTimeout

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.

SendSuperSession

The SendSuperSession 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.

If SendSuperSession is selected, the SOAP outbound adapter does the following:

  1. 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.

  2. 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.

Note:

There are no tools to automate tracking messages between productions using SuperSession.

SOAPCredentials

Specify the ID of the Ensemble credentials that contain the username and password to be used in the WS-Security header of the SOAP request. For more information on WS-Security support, see Securing Caché Web Services in the Caché documentation set.

SSLCheckServerIdentity

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.

SSLConfig

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.

To create and manage SSL/TLS configurations, use the Management Portal. See the chapter “Using SSL/TLS with Caché” in the Caché Security Administration Guide. The first field on the Edit SSL/TLS Configuration form is Configuration Name. Use this string as the value for the SSLConfig setting.

Note:

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.

WebServiceClientClass

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.

WebServiceURL

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://

FeedbackOpens in a new tab