Thursday, April 17, 2008

Oracle SOA Suite Patchsets

Important Oracle Patch sets:

10.1.3.1 : Download From OTN http://otn.oracle.com/soa
10.1.3.3 : Available as a patch from Metalink Patch # 6148874
10.1.3.3.1 : Available as a patch from Metalink Patch # 6492514

10.1.3.3 Addendum : YOU MUST READ THIS
Doc Id: 435108.1 : Oracle Application Server 10g Release 3 (10.1.3.3) Patch Set Notes Addendum

Additional Notes you should read the following notes on metalink if you are installing on Solaris Sparc 64
Doc Id: 460283.1 : Patch 6148874 Does Not Deploy Any OC4J Applications on Solaris
Doc Id: 6330834 : WHEN USING NFS, OC4J 10.1.3.3 DOESN'T START CORRECTLY.

10.1.3.3.1 Bugs FixedLink


10.1.3.3.1 Additional InformationLink

Friday, April 11, 2008

Why timeout property is not working ?

When we call a synchronous webservice we can specify how much we want to wait for the response to come back before the sytem level timeout occurs.

This is acheived with "timeout" property added to the partnerlink binding in the bpel.xml.

ex:
<partnerlinkbinding name="CallCreditService">
<property name="wsdlLocation">http://KBITRA-LAP:7777/orabpel/default/TestHello/TestHello?wsdl</property>
<property name="timeout">30</property>

so you are waiting for this to timeout in 30seconds but does not appear to be working and the system level timeout occurs.

The reason for this is this property works when the invocation happens on soap stack, when bpel calling another bpel process as you know by now automatically switches this soap call to be local binding call. In order to achieve this you have to add another property called "optSoapShortcut to false" in the bpel.xml for that partner link

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.
false

So here is the changed version:

<partnerLinkBinding name="CallCreditService">
<property name="wsdlLocation">http://KBITRA-LAP:7777/orabpel/default/TestHello/TestHello?wsdl</property>
<property name="timeout">30</property>
<property name="optSoapShortcut">false</property>
</partnerLinkBinding>