Hi all,
I'm explaoring the async field of web services and have developed one using
ws-addressing, and have my service when a request comes in, reply with HTTP
202 message, and the sending the actual result to a new endpoint, this works
fine.
In the end I maybe want to compose a BPEL process with these services and in
BPEL examples and sites I looked at all talk about a service with two port
types, on for kicking of the service and the other one for a call back, I've
not grasped this fully so was wondering if anyone have done something
similar before and/or can provide an example. In the BPEL world I typically
see something like this
<portType name="LoanService">
<operation name="initiate">
<input message="tns:LoanServiceRequestMessage"/>
</operation>
</portType>
<!-- portType implemented by the requester of LoanService BPEL process
for asynchronous callback purposes
-->
<portType name="LoanServiceCallback">
<operation name="onResult">
<input message="tns:LoanServiceResultMessage"/>
</operation>
</portType>
Also not entierly sure how the service then should be implemented. Any
tips or hint on this matter??
cheers, Håkon
--
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)