optSoapShortcut : This property instrucs bpel to make the webservice calls via saop stack or not. When BPEL invokes any partner links if the services its calling is running on the same server/domain then it avoid soap overhead and calls natively.
There may be situations that you want to invoke the services via Soap Stack, then this property helps you do just that...
Usage 1 : You can set this property in domain.xml of the bpel domain so the entire server always communicates via soap stack.
How to do it : Steps
1. Go to "YOUR_APPSERVER_HOME\bpel\domains\default\config
2. Open domain.xml with any text editor
3. Add add the following at the end just before </bpel-domain-descriptor>
<property id="optSoapShortcut">
<name>Make Calls Via Soap Stack</name>
<value>true</value>
<comment><![CDATA[
Make Calls Via Soap Stack.
<p/>
The default value is true.
]]></comment>
</property>
Usage 2 : You can set this property in bpel.xml in your bpel process for a specific partner link only that partner link invocation always happens via soap stack.
How to do it: Steps
1. Open BPEL project from Jdeveloper
2. Open bpel.xml look for "partnerLinkBinding" for the partner you are trying to invoke and add the following property tag inside.
<property name="optSoapShortcut">false</property>
for ex:
<partnerLinkBinding name="CallCreditService">
<property name="wsdlLocation">http://KBITRA-LAP:7777/orabpel/default/TestHello/TestHello?wsdl</property>
<property name="optSoapShortcut">false</property>
</partnerLinkBinding>
Now all the invocations for TestHello Partner Link goes thru the soap stack..
Tuesday, October 30, 2007
optSoapShortcut Where is it ?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment