views:

272

answers:

2

I was asked to create, with Netbeans (glassfish), a Java Web service asynchronos that communicates with a external BPEL process.Is it possible? Can someone help me? give me some examples?

thanks

sorry for my English, I am Italian.

A: 

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.

Kevin
could show me step by step how to do? maybe if you do not mind, could make a practical example of a BPEL process that communicates asynchronously with a Java web service (both created with Netbeans-GlassFish)thanks so much for the help
A: 

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.

Padmarag