Adding and extracting SOAP headers in BPEL is pretty easy and pretty well documented (a good explanation here). You can use this to extract or add WSSE credential headers fairly easily. However, if all you really want to do is add WSSE headers to outbound calls there is a much easier way:
<partnerLinkBinding name="RI_CustomerManager">
<property name="wsdlLocation">RI_CustomerManager.wsdl</property>
<property name="wsseUsername">USERNAME</property>
<property name="wssePassword">PASSWORD</property>
<property name="wsseHeaders">credentials</property>
<!-- below needed in 10.1.3.4 -->
<property name="wsseOASIS2004Compliant">true</property>
</partnerLinkBinding>
The portion in blue above is only necessary in 10.1.3.4
0 comments:
Post a Comment