Depending on the customers’ knowledge and expertise the choice between the different solutions can be made accordingly.
In this blog-post I will explain some of these options in short:
String input = “1450″; // Here you need to define the request-operation of your bpel process String xml = Locator Locator locator = new Locator(“default”,”bpel”); // construct the normalized message and send to Oracle BPEL Process Manager This means you need to define the same code as defined in the above java-sample Other options can be explored as well, but these are the most common ones to think of.
“<asyncloanflowprocessrequest
xmlns=”http://xmlns.oracle.com/AsyncLoanFlow”>
<input>”+input+”</input></asyncloanflowprocessrequest>”;
IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
NormalizedMessage nm = new NormalizedMessage();
nm.addPart(“payload”, xml );
deliveryService.post(“AsyncLoanFlow”, “initiate”, nm);
in a jsp-script tag.
Nice post mate, in the step 2 of the last section. There is one browse button as well. What if you give the WSDL from the directory instead of the URL. I tried to generate a proxy to call the WSDL of the deployed BPEL process using this option, but it gave me the error that there are no service end points are defined. So which WSDL i have to put in if I want to invoke the BPEL process?Do you have any thoutgs please post it to my email awais.bajwa@dxbcustoms.gov.ae thanks in advance.
You have to take the wsdl location instead of the endpoint location. From the wsdl location you can also generate a web service proxy.