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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s