You have some samples demonstrating that. Basically, if the reply is not directed to the same shape that did the request, then the diagram will interpret this as an asynchronous call.
Attached is a sample demonstrating the difference between an asynchronous call and a synchronous call. If you want to see what is different, you can look at the WSDL of the service pools.
Hi Antonie, Sorry to bother you again. Seen the sample provided by you. My understanding is as follows: To call external web service asynchronously:
1. Create another executable pool(Say "Service") and call the web service from that pool. 2. From the main pool(which is again executable) send request to "Service" pool from one task and receive response from another task. Please correct me if I am wrong.
I tried to run the sample(async BPEM) provided by you with some modifications(invoked a simple web service from "DoSomething" task).But I am getting exception "uninitializedPartnerRole" at the time of executing the "async" task. Can we execute any other task by the time response comes from the web service which is invoked asynchronously from BPEL?
The administrator has disabled public write access.
In this case, your service pool is non executable right ? In that case you need to define a correlation. Also make sure you use the operation bound to a port on the WSDL (the one with a @).
Hi Antonie, Actually I have developed a asynchronous web service.Please see the attached WSDL of the same.This web service gets the ReplyTo Address and the message ID from the SOAP headers and sends the reply as a SOAP message on the given address. I tried to import this WSDL is my BPEL project and invoked the operation.I was expecting that Intalio BPMS will set the SOAP headers such ReplyTo address and messageID automatically(Oracle SOA suite set the SOAP headers automatically for the same service).I have to do nothing for the same. Do you think it is possible with Intalio?Does Intalio supports WS-Addressing?
Intalio support WS-Addressing although it seems the protocol you are using with Oracle is non-standard. For implicit correlation, Apache Ode follows the stateful exchange protocol: http://ode.apache.org/stateful-exchange-protocol.html
I also would suggest using standard BPEL correlation for your process, this is the design best practice for portability across different BPEL engines.
regards, alex
The administrator has disabled public write access.
Guys, Thanks for the inputs provided by you.I tried to execute the WS asynchronously with the help of explicit Correlation.Please see the attached Image. The problem is: 1. When I try to compile the process I am getting Error ,schema not accessible in AsyncTest-Wrapper.wsdl.(name of project is 'AsyncTest'). 2. if I change the pool 'Wrapper' as executable,it compiles without any problem but when I try to execute the process I am getting uninitializedPartnerRoleException.