Missing <wsse:Security> in SOAP Header when Calling Secured WebService from BPEL Leading to SOAPException (Doc ID 764149.1)

Last updated on JUNE 10, 2016

Applies to:

Oracle(R) BPEL Process Manager 10g - Version 10.1.3.4 and later
Information in this document applies to any platform.
***Checked for relevance on 31-Aug-2010***


Symptoms

When calling Secured Web Service from BPEL there is an error received in logs and in Bpel Console :

<ERROR> <default.collaxa.cube.ws>
<WSIFInvocationHandler::invoke> Fault happened: exception during SOAP invoke: Missing
<wsse:Security> in SOAP Header; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Missing <wsse:Security> in SOAP Header

The partner link properties in bpel.xml are all set correctly to use WSSE headers :

<partnerLinkBinding name="crm">
  <property name="wsdlLocation">crm.wsdl</property>
  <property name="wsseUsername">user_name</property>
  <property name="wssePassword">the_password</property>
  <property name="wsseHeaders">credentials</property>
</partnerLinkBinding>

Error only occurs on 10.1.3.4 and on 10.1.3.3.1 MLR#14 or higher.
Exact same BPEL process works fine on 10.1.3.3.0 and on 10.1.3.3.1 until MLR#13.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms