There is a issue that arises with permissions to 'TEMP' folder and the opmn.xml file gets a hard coded file path during installation.
Work Around: manually change the 'TMP' variable, Ex: < id="TMP" value="C:\TMP\1">.
Friday, June 1, 2007
Monday, December 25, 2006
How to invoking Oracle BPEL Process via JSP
- Get form fields String email = request.getParameter("email");
String name = request.getParameter("name"); String amount = request.getParameter ("amount");
String model = request.getParameter("model"); String year = request.getParameter("year");
2. Create loan application XML document String xml = "
3. Initiate the BPEL process here // Connect to Oracle BPEL server Locator locator = new Locator("default","bpel"); IDeliveryService deliveryService = (IDeliveryService) locator.lookupService(IDeliveryService.SERVICE_NAME ); // Construct a normalized message and send to Oracle BPEL Process Manager NormalizedMessage nm = new NormalizedMessage(); nm.addPart("payload", xml); // Initiate the BPEL process deliveryService.post("MyLoanFlow", "initiate", nm);
Subscribe to:
Posts (Atom)