Thursday 20 May 2010

Invoking a Secured Webservice from a BPEL 11g process.

We can invoke a secured webservice from a bpel process by adding the binding properties in the composite.xml. Where as in BPEL 10g, we used to set it in the partnerlink‘s properties.
Invoking a web service which is secured with WSS Username Token
• Create a bpel process in 11g Jdeveloper
• Add a partner link and enter the wsdl location of the secured webservice
• Open the composite.xml from the Application Navigator
• Right click on the external reference service and select “Configure WS policies”
• Under the security tab, click add button and select “oracle/wss_username_token_client_policy”
• Now Open the property Inspector window and click the add button under “Binding properties” tab.
• Include the “oracle.webservices.auth.username” and “oracle.webservices.auth.password properties.

No comments:

Post a Comment