I have created a BPEL process that takes as input three integer variables. I need to test it with different parameters passed from a Java program. I am using openESB for all this.
My question is how to call BPEL from java code and how to pass the arguments and get the result back from the BPEL process?
A BPEL process is normally deployed as a web service (generally SOAP) with an endpoint defined. Do you know the endpoint where it is accessible?
Once you have this endpoint, you can call it in java as a normal web service. (I would suggest starting by calling it from soapUI it will be easier if you just want to test the BPEL process)
As for the specificities related to openESB, I don't know. you should look on the documentation for the deployment specificities.
Edit after the answer.
So, you have an endpoint with a wsdl.
First thing, to test the process itself:
Now, if you need to build a java client.
Since you were able to write a bpel process you should be able to deal with that. Again: google or ask question :)
again, I hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With