BPEL and Java web service
I was asked 开发者_JAVA技巧to create, with Netbeans (glassfish), an asynchronous Java Web service that communicates with a external BPEL process.
Is this possible? Can someone help me? or give me some examples?
thanks
sorry for my English, I am Italian.
Invoking a standard BPEL process should be the same as communicating with any other web service. You can either get the WSDL and generate stubs based on that or you can use the dynamic dispatch API to invoke the service.
A BPEL process itself is a Web Service. So it'll have its WSDL.
Since you are using Async, You'll have to define two partner roles.
You'll also have to implement the callback port for the BPEL Web Service.
精彩评论