Forum tags


Top Posters

Last 30 days

  • Antoine (98)
  • talita.pezzi (30)
  • eduardo.lawisch (14)
  • alfons.bataller.diaz (14)
  • sundaravadivel.n (13)
  • ravinderjit.singh (12)
  • barry.sperling (8)
  • hellonico (8)
  • jose.mendoza (8)
  • marcia.martins (7)

All time

  • Antoine (1402)
  • Shivanand (1189)
  • cshekhar (921)
  • psq (795)
  • jag (391)
  • metabyte (370)
  • arnaud (326)
  • jalateras (325)
  • dfrench (263)
  • venkaiah.k (198)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Processing asynchronous response/correlation (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Processing asynchronous response/correlation
#16031
m.dale (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Processing asynchronous response/correlation 2 Months, 1 Week ago Karma: 0  
Hello,
I am trying to model the attached asynchronous process using explicit correlations but have been unable to run the process due to the following exception:


13:28:40,617 ERROR [org.apache.ode.bpel.runtime.PICK] [ODEServer-24] org.apache.ode.bpel.common.FaultException: Correlation not initialized.

13:28:50,471 WARN [ODEAxisDispatcher] No operation has been found!


I tried to adapt the explicit correlation example from http://bpms.intalio.com/samples/explicit-correlation.html and everything deploys fine. The error shows only when actually invoking the process via the xform.

Overall desired workflow:

  1. Client invokes DataProcess via XForm by supplying first/last name.

  2. The retrieval process can be very time-consuming and I therefore want a synchronous retrieval initialization followed by the asynchronous return of
    result (from Send Result to Get Retrieval Result)

  3. First DataProcess invokes an external web service (Retrieval Init) to start the retrieval process. This returns a RetrievalId, that I would like to use as an explicit correlation in Get Retrieval Result

  4. The client gets notified of the retrieval init request and waits for the retrieval result.

  5. The result gets send to the client.



I defined

<vprop:property name="RetrievalId" type="xs:string">


under the DataProcess namespace.

<bpel:correlationSet name="RetrievalId-corr" properties="this:RetrievalId"> is defined under the DataProcess declarations.

A BPEl alias property is defined for the RetrievalInit response message
<vprop:propertyAlias propertyName="this:RetrievalId" messageType="tns:RetrievalInitResponse" part="RetrievalInitResponse">
<vprop:query>RetrievalId/text()</vprop:query>
</vprop:propertyAlias>


and for Get Retrieval request message:
<vprop:propertyAlias propertyName="this:RetrievalId" messageType="this:Get_Retrieval_ResultRequest" part="body">
<vprop:query>RetrievalId/text()</vprop:query>
</vprop:propertyAlias>


The incoming Intialize Retrieval message has the correlation set dnd'ed to it with intiate set to yes:
<bpel:correlation set="RetrievalId-corr" initiate="yes"></bpel:correlation>

And the incoming Get Retrieval Results also with initiate set to no:
<bpel:correlation set="RetrievalId-corr" initiate="no"></bpel:correlation>

I keep running into the same error again and again. Any help would be very much appreciated!

Before trying this with correlations I just tried to invoke the Get Retrieval Result process via SOAP UI after creating a project from the build/processes/DataProcess-DataProcess.wsdl but the request always timed out. And in the /var/log/geronimo.out I would see something like:

11:16:48,736 ERROR [ODEService] Timeout or execution error when waiting for response to MEX {MyRoleMex#65548 [Client 287e70c0-5b43-4a3c-b96f-d67fd865b3f6-8] calling {http://example.com/processes/DataProcess/DataProcess}CanonicServiceForData.Get_Retrieval_Result(...)} java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@45d274 timed out when waiting for a response!


So maybe there is something more fundamentally flawed with my process?

Thanks,
Markus
File Attachment:
File Name: data.jar
File Size: 105383
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop