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
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.
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
No comments:
Post a Comment