Powered By Blogger

Sunday, March 17, 2013

Dynamic partner Link in oracle SOA or Configuration Plan in oracle SOA

When you call a webservice through partner link using WSDL, the WSDL is generally concrete WSDL which has server details as shown below.



               
   
 


The above link has to be changed dynamically.

This can be done by ConfigPlan.xml

Steps
-------
1. Right click on composite.xml file, select generate config plan
2.cfgplan.xml is created.
3.At the end add the following

     
        

  


4. here it searches for 10.10.13.13:7777 in all the wsdlandAschema like BPELProcess1.wsdl|BPELProcess2.wsdl|XYZService.wsdl  and replace it with 10.40.50.80:8888
dynamically

5. Now while deploying the composite ensure that you attach the configuration plan to it


Friday, March 15, 2013

Jdeveloper settings

To increase virtual memory go here
jdeveloper\jdev\bin\jdev.conf
and increase it.

Calling Secure Services From BPEL , SOA 11g

go to composite.xml file design mode

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 composite.xml file in source mode, under binding.ws, below wsp:PolicyReference

 Include the “oracle.webservices.auth.username-->

value-->username
  Include the “oracle.webservices.auth.password”-->name

value-->password