Ref : Integration Server version 9.7
subject : Consumer Web Service
Type Consumer
Transport Type HTTPS
ISSUE :soapenv:Header and the wsse:Security information is missing from SOAP request.
- Created an "Web Services " Endpoint Alias for a Consumer Web Service Descriptor for Use with HTTP/S on Integration server
- Filled the WS Security Properties username password in the “WS Security Properties (Optional)” Information for the WS-Security header
- Webconnectors are created by consuming the WSDL and Binding to the port alias applied
- pub.client:soapClient is invoked
Issue is however when tracing the SOAP request sent outbound the soapenv:Header and the wsse:Security information is missing ?
hence possibly getting SOAP exception Read timed out
The Soap soapenv:Body and the request inputs are well formed within the soapENv.
I.e the below elements are missing in the outbound soap request form Integration server
soapenv:Header
<wsse:Security xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”
xmlns=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”
xmlns:env=“http://schemas.xmlsoap.org/soap/envelope/”
soapenv:mustUnderstand=“1”>
<wsse:UsernameToken xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”
xmlns=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”>
wsse:UsernameABC</wsse:Username>
<wsse:Password Type=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>1234</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
Tested using SOAP uI to add this header to request and get successful execution of the SOAP response.
- Have I missed anything? I thought creating "Web Services " Endpoint Alias with WSSE security
and binding the weConnectors to Port would pick up the credentials and add it the details in the Outbound SOAP request.
Timeout errors
Or HTTP 408 Timeout
com.wm.app.b2b.server.ServiceException: org.apache.axis2.AxisFault: Read timed out
at pub.clientimpl.wssClient(clientimpl.java:3033)