Skip to main content
Version: 7.2402.x.x RR

SoapConnectionPool

The SoapConnectionPool is used to define a SOAP web service endpoint. It creates a SOAP dispatcher using an endpoint URL, a web service qualified name and a port qualified name.

Configuration

NameType, usage constraints, defaultsDescription
endpointrequired: paraVal
default: none
type: http URL
The endpoint URL of the web service.
serviceNamerequired: paraVal
default: none
type: QName
The qualified name of the web service.
portNamerequired: paraVal
default: none
type: QName
The qualified name of the web service's port.
sslSettingsoptional: paraMap
default: none
type: string/string
The SSL configuration settings used for this connection pool. It uses the Java system property names to set up the key and trust stores.
soapVersionoptional: paraVal
default: none
type: QName
The version of the SOAP binding that shall be used. Supported are 1.1 and 1.2.
usernameoptional: paraVal
default: none
type: QName
The username used in the HTTP basic authentication scheme.
passwordoptional: paraVal
default: none
type: string
sensitive: true
The password used in the HTTP basic authentication scheme. If omitted, the username is used as a password instead.
sessionMaintainoptional: paraVal
default: true
type: boolean
A Boolean value indicating whether the SOAP connection shall maintain a session and store session cookies.

Example

Example using an unencrypted connection

<object type="SoapConnectionPool" name="soapService">
<dp:paraVal name="endpoint" value="http://localhost:1234/ws"/>
<dp:paraVal name="serviceName" value="${xml:qname('http://dom.ch/ws','Ws')"/>
<dp:paraVal name="portName" value="${xml:qname('http://dom.ch/ws','WsPort')"/>
</object>

Example using an SSL connection

<object type="SoapConnectionPool" name="soapService">
<dp:paraVal name="endpoint" value="https://localhost:1234/ws"/>
<dp:paraVal name="serviceName" value="${xml:qname('http://dom.ch/ws','Ws')"/>
<dp:paraVal name="endpoint" value="${xml:qname('http://dom.ch/ws','WsPort')"/>
<dp:paraMap name="sslSettings">
<value name="javax.net.ssl.trustStore" value="truststore.jks"/>
<value name="javax.net.ssl.trustStorePassword" value="secret"/>
<value name="javax.net.ssl.trustStoreType" value="jks"/>
</dp:paraMap>
</object>

Example using basic authentication

<object type="SoapConnectionPool" name="soapService">
<dp:paraVal name="endpoint" value="http://localhost:1234/ws"/>
<dp:paraVal name="serviceName" value="${xml:qname('http://dom.ch/ws','Ws')"/>
<dp:paraVal name="portName" value="${xml:qname('http://dom.ch/ws','WsPort')"/>
<dp:paraVal name="username" value="my user"/>
<dp:paraVal name="password" value="secret"/>
</object>