Calling BPEL process from JSP

Use the HelloWorld BPEL process in the /samples/tutorials folder. Deploy the BPEL process using obant command.


HelloWorld BPEL Process


<%@ page import=””%>
<%@ page import=””%>
<%@ page import=””%>
    <meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″/>
  String name = request.getParameter(“name”);
  if (name == null)
  name = “BPEL”;
  String xml = “<name xmlns=\”\“>” + name + “</name>”;
    Locator locator = new Locator(“default”,”bpel”);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart(“payload”, xml );“HelloWorld”, “initiate”, nm);
    out.println(“BPELProcess HelloWorld initiated!”);


Use obant to deploy the jsp file.