
2.Create a new BPEL variable as shown
The username and password that should be provided to the service gateway should be in the SOAP header of the partner link call. For this we need a BPEL variable that is based on an XSD that is provided by OASIS.
Please click for XSD here
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
Create an assign activity and copy the following XML to the variable
4. The value of the variable should be inserted in the SOAP header of the partner link call.
Loging details have to be provided in the SOAP header, that’s how WS-Security provides authentication details. That can be done by providing the the Security_header variable as a header variable during the Invoke activity. Of course you need to provide the proper input and output variables on the invoke activity.
Test the BPEL process confirm the same.
