Hello,

I'm having some troubles with the use of eventHandlers, it seems that when the client calls my process the eventHandlers does not how to response to the client. How the eventHandlers must be declare? This is how I declared and doesnt work:

1.- In my WSDL I have an operation called "queryPO"
2.- In the BPEL process I put the eventHandlers after the variables and compensaiton sets, and before the main sequence of the process.
<bpws:process ...>
...
</bpws:variables>
<bpws:eventHandlers>
<bpws:onEvent operation="queryPO" variable="queryInput" partnerLink="POLink" portType="tns:purchaseOrderProcess" messageType="tns:queryPORequest">
<bpws:correlations>
<bpws:correlation initiate="no" set="PurchaseOrder"/>
</bpws:correlations>
<bpws:sequence name="QueryResponseSequence">
....
<reply ...>
</bpws:sequence>
</bpws:onEvent>
</bpws:eventHandlers>
<bpws:sequence name="main">
....
<bpws:sequence
</process>
3.- The problem comes when I call the process, I dont receive any response, and if I use <pick> activity instead of eventHandler, then everything works.

Thanks in advance

Thanks in advance

Reply via email to