Error while invoking BPEL Process through HTML Page

10-11  Source: Network gathering  Views:0 

Advertisement
Hi ,
I have created a HTML Page to invoke BPEL synchronous process .
HTML Page contains :
<html>
<head>
<title>Untitled Document</title>
<h1>Add Macro Task Input Form </h1>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="cyan" text="#000000">
<form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
EmployeeId :
<input type="text" name="EmployeeId" ><br>
<br>
TaskName :
<input type="text" name="MacroTaskName" >
<button
id="identifier"
class="dialog"
label="OK"
accesskey="t"/>
<br>
</form>
</body>
</html>
I am able to invoke my BPEL Process named as " AddMacroSync" .
It also creating instance for this BPEL Process .
But when I go BPEL Console and check my instance , it is always faulted .
I am providing two inputs : Employee Id and Taskname through HTML Page .
These inputs got assigned to their respective output variables .
But when I click on audit link ..it shows error while invoking the Process .
It Show error :
when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
But this end point address is working when I put this address in URL .
Please someone help me how to solve this problem .
Thanks
Prashant Dwivedi
Message was edited by:
Prashant Dwivedi
Hi Clemens ,
I changed My HTML ...Now it looks like as :
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
<input type="hidden" name="msg_part" value="payload">
<input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
EmployeeId:
<input type="text" name="EmployeeId">
TaskName :
<input type="text" name="TaskName">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
After this when I try to incoke my BPEL Process through this HTML :
I am gettign following error :
500 Internal Server Error
java.lang.IllegalStateException: IOException: Premature end of POST data
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
     at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
     at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
Related articles
  • Error while invoking BPEL Process through HTML Page 10-11

    Hi , I have created a HTML Page to invoke BPEL synchronous process . HTML Page contains : <html> <head> <title>Untitled Document</title> <h1>Add Macro Task Input Form </h1> <meta http-equiv="Content-Type" c

  • RequestTimeOut error while invoking BPEL Process 10-11

    Hi, I am getting RequestTimeoutException error while invoking a BPEL process using this code: Locator locator = LocatorFactory.createLocator(jndiProps); String compositeDN = "default/"+processName+"!1.0"; Composite composite = locator.

  • Authorization Error  While  Invoking BPEL Process Via RMI 10-11

    Hi All, I have been trying to invoke BPEL Process via RMI client. I use the following piece of code for BPEL Process Invocation... public class RMIClient { public RMIClient() { public static void main(String[] args){ Hashtable jndi = new Hashtable ()

  • Error while calling bpel process from jsp page 10-11

    Hi, I am trying to access bpel process from a jsp page..i could successfully deploy bpel and run it from bpel console.however accessing the bpel from a jsp gives an error. I have attached the code and error. I am using jdev10.3.1 with SOA suite.Any h

  • Error While invoking BPEL Service from ADF Page 10-11

    Hi All, JDev Version: 11.1.1.3.0 Currently in my application through ADF apps i am invoking BPEL service upon cliking of 'Submit' Button, so that BPEL service will be invoked and it procees But now its throwing below error, Any suggestion please????

  • Error while invoking a process 10-11

    Hi Team, I get the following error while invoking a process. ALC-DSC-125-000: com.adobe.idp.dsc.registry.EndpointNotEnabledException: SOAP endpoint is not enabled for: ExtractingXML/ReadResource at com.adobe.idp.dsc.provider.impl.base.AbstractMessage

  • Error while deployiong bpel process plz help 10-11

    i am geting an error while deployiong bpel process plz help BUILD FAILED E:\jdevstudio10132\jdev\mywork\Application4\vinayread\build.xml:79: A problem occured while connecting to server "chdsez116553d" using port "8888": bpel_vinayread

  • Invoking BPEL Process through pl/sql is failing 10-11

    Hi all, I am trying to invoke BPEL process through PL/SQL and its throwing following error. <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns="http://xmlns.oracl

  • Problem while invoking Bpel Process from Browser 10-11

    server WSDL <definitions      name="getOpenInvoicesService"      targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"      xmlns="http://schemas.xmlsoap.org/wsdl/"      xmlns:tns="http:/

  • Error while deploying BPEL Process 10-11

    Hi , I am new to BPEL and learning it using dev guide. i am using JDev 10.1.2.0.0 with OAS. i build a simple BPEL process which uses a DB adapter for interaction with DB. My DB tables are not related to each other in any way. please help for resolvin

  • Error when invoking BPEL process from Java client 10-11

    Hi, I am trying to invoke the SyncHelloWorld BPEL process through a simple java application. When I run the application, I get the following error: java.rmi.RemoteException: ; nested exception is:      ORABPEL-02052 Cannot lookup BPEL domain. The BPE

  • Null Pointer exception while invoking BPEL process 10-11

    Hi all, I am getting following exception when I am invoking a BPEL process1 (deployed in 10.1.3.1) from another BPEL Process 2 (deployed in 10.1.3.3) <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/>

  • Error while invoking BPEL from ESB 10-11

    Hi All, I am try'n to invoke BPEL process from ESB services ,where my BPEL process contains a webservice which has an input parameter of type ,a customized bean. I am hitting with the below error <env:Envelope xmlns:env="http://schemas.xmlsoap.org

  • While deploying BPEL Process through JDeveloper 10.1.3.2 the BUILD FAILS 10-11

    While deploying a BPEL Process through JDeveloper 10.1.3.2 it says :- BUILD FAILED D:\Development_mywork\MemoApplication\Memo\MemoProcess\build.xml:79: A problem occured while connecting to server "boomidevp.alshaya.com" using port "7778&qu

  • Class Not found Exception for invoking BPEL process through the Java code 10-11

    Hi. The JDeveloper IDE raise the Exception From the invoking the BPEL process through the java code .Class Not Found Exception (Locator,ID.......).What is process of importing these classes from API.In your code (.bpel file) import the library using

  • Error while invoking bpel through java 10-11

    when i was using java to invoke iam getting an exception com.oracle.bpel.client.ServerException: IDeliveryService.request() invoked for one-way operation 'initiate'. This method can only be used to invoke two-way operations which return an output mes

  • Error while invoking ESB process from a BPEL process 10-11

    Hi all We have a requirement to call an ESB process from a BPEL process. We are using an adapter wth the ESB's WSDL url. After deploying the BPEL process, the registered ESB is getting called for most values while suddenly some values return the foll

  • Problem in invoking BPEL Process through JSP 10-11

    Hi , I have created a simple BPEL asynchronous process called as " BPELProcessAddMacroTask" . JSP File looks like : <%@page import="com.oracle.bpel.client.Locator" %> <%@page import="com.oracle.bpel.client.NormalizedMessa

  • Error deploying SOAOrderBooking BPEL Process through Ant 10-11

    Hello, I following Oracle SOA Quick Start Guide (Part # B28938-01) to setup Demo SOA Application. I followed the document Chapter 2 and installed SOA Suite with "Basic Install" and JDeveloper 10.1.3.1.0. When deploying SOAOrderBooking BPEL Proce

  • Error while invoking web service through weblogic 10 10-11

    While invoking a particular web service from other system it gives following error in instance finder exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPExceptio