Hi, I'm trying to create a BPEL for asynchronous web service call. A snippet of it is shown below:
<!-Receive request from client --> <receive createInstance="yes" operation="initiate " partnerLink="ApprovalProcessClient" portType="ns1:approvalProcessPT" variable="approvalProcessRequestMessage"/> <!-Asynchronous Web Service Invoke --> <invoke inputVariable="asyncApprovalRequest" operation="submitForApproval" partnerLink="AsyncApprovalPartner" portType="ns2:asyncApprovalServicePT"> <correlations> <correlation initiate="yes" pattern="request" set="CS1"/> </correlations> </invoke> <!-Receive Response from Asynchronous Web Service invoked above -- > <receive operation="onResult" partnerLink=" AsyncApprovalPartner " portType="ns1:asyncApprovalCallbackPT" variable="asyncApprovalResponse"> <correlations> <correlation initiate="no" set="CS1"/> </correlations> </receive> The first receive in the above BPEL snippet is called by a client and therefore I have declared it as a 'service' in componentType file. The invoke is for invoking an asynchronous web service operation. The portType of that I have declared as 'reference' in the componentType file. The second receive in the above BPEL snippet acts as a callback to receive response from an asynchronous web service. Where and How do I specify that this is a callback? Is there way of specifying callbacks in componentType file.? Thanks & Regards Ashwini Kumar Jeksani **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***