Large input xml request to BPEL

Does BPEL load the whole input request xml in memory?
I have a input request having multiple IDs. The oracle business rule transforms 1 id at a time.
BPEL calls the business rule in flowN for a size of 20. (processes 20 ids at a time)
The input request size is huge more than 150K ids at a time. Does BPEL load the whole input xml in memory ( DOM tree)?
what is a better way to do it

Avoid calling the BPEL process with big payload.
It loads everything into memory, you could use debatching technique in the file adapter to split the payload into more manageable sizes.
Do stress testing to check whether its working fine under different loads.
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Could not initiate the BPEL process because the input xml is not well forme

    Your test request generated the following exception/fault:
    Could not initiate the BPEL process because the input xml is not well formed, the reason is :
    Error parsing envelope: (2, 152) Invalid char in text. Please correct the input xml.
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/RO_Update2">
    <ns1:RO_Update2ProcessRequest>
    <ns1:UserName>operations</ns1:UserName>
    <ns1:Responsibility>Depot Repair Engineer</ns1:Responsibility>
    <ns1:API_VER>1.0</ns1:API_VER>
    <ns1:P_commit>T</ns1:P_commit>
    <ns1:init_msg>T</ns1:init_msg>
    <ns1:Org_ID>207</ns1:Org_ID>
    <ns1:R_Number>10782</ns1:R_Number>
    <ns1:R_Status>1008</ns1:R_Status>
    <ns1:Obj_Ver_No>1</ns1:Obj_Ver_No>
    </ns1:RO_Update2ProcessRequest>
    </soap:Body>
    </soap:Envelope>

    Try
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <ns1:RO_Update2ProcessRequest xmlns:ns1="http://xmlns.oracle.com/RO_Update2">
    <ns1:UserName>operations</ns1:UserName>
    <ns1:Responsibility>Depot Repair Engineer</ns1:Responsibility>
    <ns1:API_VER>1.0</ns1:API_VER>
    <ns1:P_commit>T</ns1:P_commit>
    <ns1:init_msg>T</ns1:init_msg>
    <ns1:Org_ID>207</ns1:Org_ID>
    <ns1:R_Number>10782</ns1:R_Number>
    <ns1:R_Status>1008</ns1:R_Status>
    <ns1:Obj_Ver_No>1</ns1:Obj_Ver_No>
    </ns1:RO_Update2ProcessRequest>
    </soap:Body>
    </soap:Envelope>

  • How to view the input rate request xml?

    Hi Frens,
    please help on viewing the input rate request xml. I am not able to view the input xml(don't know to view). tell where I have to go and view that XML file.
    I am using oracle insbridge rate manager version 4.00.0.
    thanks in advance.

    user13809539 wrote:
    Hi Andy,
    I am new to INSBridge 4 and currently learning it on our own. I am facing some issues in creating rating logic and algorithms. Unfortunately Ratemanager library does not have any mock rating templates. Can you please share a mock or dummy rating template if it is appropriate to do so. My email id is [email protected]. A rating template might help me in figuring out the reason for the issues I am facing.
    Regards,
    Akhi
    Edited by: user13809539 on Jan 21, 2011 7:38 AMHi Akhi,
    I am doubtful that anyone is going to share rating templates, because that is generally regarded as intellectual property of the companies that own the rating books. You may consider attending Oracle University which has several classes that will have you build a rating program from the ground up.
    --Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Could not initiate the BPEL process :the input xml is not well formed err

    Hi
    I am calling a bpel process from the bpel console. It is a syncronous process and just fetches values from the database. I see that when ever i call this for some inputs i get the following error , in the response.
    Could not initiate the BPEL process because the input xml is not well formed, the reason is :
    Error parsing envelope: (1, 6168) Invalid char in text. Please correct the input xml.
    When i see the log i have the following message
    fault.collaxa.cube.ws> <AdapterFramework::Outbound> Returning outbound XMLRecord for OutputParameters
    Exception: Error parsing envelope: (1, 6168) Invalid char in text.
    e.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    e.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    e.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:935)
    ate__ws._jspService(_ngDoInitiate__ws.java:455)
    erver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    .runtimev2.JspPageTable.service(JspPageTable.java:453)
    .runtimev2.JspServlet.internalService(JspServlet.java:591)
    .runtimev2.JspServlet.service(JspServlet.java:515)
    let.http.HttpServlet.service(HttpServlet.java:856)
    nd.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    urity.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    ity.AccessController.doPrivileged(Native Method)
    rity.auth.Subject.doAsPrivileged(Subject.java:517)
    I understand that the error is coming with parsing the output from the database values. Further i see the process is completed successfully when i see the flow and log and the out is present in the output response. Has any body faced this issue. What is that character that it is nto able to parse as the error says.
    Thanks
    -Pradip

    hi
    I have tried it using both xml and the initiate tab. I get the same error every time i do it for a particular value. i further think that this is occuring for the out put response that is got from the data base as the log says. ( given in the initial post). I can surely paster the input xml for you
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/InputXXESIOEHEADERSIFACE">
    <ns1:XxesiOeHeadersIfaceCollection>
    <ns1:XxesiOeHeadersIface>
    <ns1:orderSource></ns1:orderSource>
    <ns1:originalsystemreference></ns1:originalsystemreference>
    <ns1:customerNumber></ns1:customerNumber>
    <ns1:Country></ns1:Country>
    </ns1:XxesiOeHeadersIface>
    </ns1:XxesiOeHeadersIfaceCollection>
    </soap:Body>
    </soap:Envelope>

  • "Could not initiate the BPEL process because the input xml is not well form

    hi all,
    i am new to BPEL and tring to create a BPEL WebServices. now i got struck up with one issue like below
    "Could not initiate the BPEL process because the input xml is not well formed, the reason is : Error parsing envelope Please correct the input xml."
    But according to BPEL compiler there are no errors in the design and deployment as well. when i tries to initiate the deployed WS i am facing the above issue.
    can anybody help me to fix this issue. Thanks in advance.
    Regards,
    Kalyan

    hi' Kalyan,
    The issue seems to be due to XSD file which you are importing while making the new BPEL process,
    the XSD file is very sensitive even a simple upper case will create error, XSD file are many times used when you want
    to pass some entries to be updated in the database.
    use this XSD file:"discountflow.xsd"
    <schema attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="http://www.autoloan.com/ns/autoloan"
    xmlns:tns="http://www.autoloan.com/ns/autoloan"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <!--<element name="Demo" type="tns:DemoType"/>-->
    <element name="Order" type="tns:OrderType"/>
    <complexType name="OrderType">
    <sequence>
    <element name="orderid" type="int"/>
    <element name="tenantid" type="int"/>
    <element name="orderstatusid" type="int"/>
    </sequence>
    </complexType>
    </schema>
    <complexType name="Discount">
    <sequence>
    <element name="approval" type="boolean"/>
    <element name="discount" type="int"/>
    <element name="quantity" type="int"/>
    </sequence>
    </complexType>
    </schema>
    -Yatan

  • Error when invoking request from BPEL to SAP

    Hi
    I have problem when invoking request from BPEL project to SAP R/3.
    I use Oracle SOA Suite 10.1.3.1 and Oracle AS Adapter 10.1.3.1. I created BPEL project that call SAP service that I have created from Application Explorer. When I run The BPEL project, there is an error shown as below:
    <messages><input><Invoke_1_GetGLAccountBalance_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="input_GetGLAccountBalance"><GeneralLedger.GetGLAccountBalance xmlns="urn:sap-com:document:sap:business:Request">
    <COMPANYCODE>10</COMPANYCODE>
    <CURRENCYTYPE>10</CURRENCYTYPE>
    <FISCALYEAR>2007</FISCALYEAR>
    <GLACCT>61001010</GLACCT>
    </GeneralLedger.GetGLAccountBalance>
    </part></Invoke_1_GetGLAccountBalance_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>http://127.0.0.1:7777/orainfra/wsil/adapters/applications/GetGLAccountBalance.wsdl?wsdl [ GetGLAccountBalancePortType::GetGLAccountBalance(input_GetGLAccountBalance,output_GetGLAccountBalance) ] - WSIF JCA Execute of operation 'GetGLAccountBalance' failed due to: Error in processing the input document.; nested exception is:
         javax.resource.ResourceException: Error in processing the input document.</summary>
    </part><part name="detail"><detail>javax.resource.ResourceException: Error in processing the input document.</detail>
    </part></bindingFault></fault></messages>
    Anyone who know the reason, please give me some advice.
    Thank you in advance

    Hi,
    Please check the Logical system,Business system, configurations ,please see the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
    Regards
    Chilla..

  • Error processing XML request, java.lang.IllegalArgumentException

    Hi all,
    In my code I can successfully connect to server and send the content which is an XML content:
    param = java.net.URLEncoder.encode(s, "UTF-8");
    java.io.PrintWriter out = new java.io.PrintWriter(connection.getOutputStream());
    out.print(param);
    Read the response from server:
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(connection.getInputStream()));
    while((input = in.readLine()) != null)
    response += input + "\r";
    System.out.println("Client : received : "+response);
    Following is the response I receive from server:
    Client : received : <html><h1>Error processing XML request</h1>java.lang.IllegalArgumentException: No xml request posted</html>
    Has anybody know what the problem is? Why this error is issued?
    Any help is greatly appreciated.

    Dear legosa,
    Thanks so much for the replies. What you wrote makes absolute sence, w/o flush() or close(), it seems that I'm sending only balnk to output!
    I don't know how can I fix the 500 Internal Server Error; below is my complete code that does this part, can you tell me if you see sth. wrong in this code?
    param = java.net.URLEncoder.encode(aTrans.xmlDoc, "UTF-8");
    url = new URL("https://xml.test.surepay.com");
    connection = (HttpURLConnection)url.openConnection();                    
    connection.setDoInput(true);
    connection.setDoOutput(true);
    connection.setUseCaches(false);
    connection.setRequestMethod("POST");
    connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
    String sLen = "" + param.length();
    connection.setRequestProperty("Content-length", sLen);
    connection.setRequestProperty("Accept", "text/plain");
    connection.connect();
    System.out.println("Client : Connected");
    java.io.PrintWriter out = new java.io.PrintWriter(connection.getOutputStream());
    System.out.println("Client : Writing Content");
    out.print(param);
    out.close();
    System.out.println(connection.getURL());          
    System.out.println(connection.getResponseCode() + " " + connection.getResponseMessage());
    System.out.println(connection.getURL());
    System.out.println("Client : Waiting for response from Server");
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(connection.getInputStream()));
    System.out.println("Client : Opened input stream");
    while((input = in.readLine()) != null)
    response += input + "\r";
    System.out.println("Client : received : "+response);

  • Problem validate the input payload in a bpel process

    Hi
    I am trying to validate the input payload in a bpel process and need to catch the exact validation error . I am using the validate activity or validate property
    I am getting the error as
    <process>
    <main (80)>
    receiveInput (pending)
    Jun 21, 2013 12:24:57 PM Invalid data: The value for variable "inputVariable", part "payload" does not match the schema definition for this part Invalid text 'Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)' in element: 'PARAM_NAME'. The invalid xml document is shown below:
    <payload>
    <catchAll (60)>
    Unable to handle the error.  Please help me if anybody handled this validation.
    Thanks in advance
    kalyani

    One of the issues with using the validate activity in BPEL is that when the error is thrown it throws it with little information.  Mediators however give much more information as they throw a remote exception and this can be caught. If you require detailed fault information to be sent back to the caller, then one solution is to use a mediator with validation as a callout (echo service etc).  Then catch the remote exception, this will give you more information in the fault payload. 

  • How to process large input CSV file with File adapter

    Hi,
    could someone recommend me the right BPEL way to process the large input CSV file (4MB or more with at least 5000 rows) with File Adapter?
    My idea is to receive data from file (poll the UX directory for new input file), transform it and then export to one output CSV file (input for other system).
    I developed my process that consists of:
    - File adapter partnerlink for read data
    - Receive activity with checked box to create instance
    - Transform activity
    - Invoke activity for writing to output CSV.
    I tried this with small input file and everything was OK, but now when I try to use the complete input file, the process doesn't start and automatically goes to OFF state in BPEL console.
    Could I use the MaxTransactionSize parameter as in DB adapter, should I batch the input file or other way could help me?
    Any hint from you? I've to solve this problem till this thursday.
    Thanks,
    Milan K.

    This is a known issue. Martin Kleinman has posted several issues on the forum here, with a similar scenario using ESB. This can only be solved by completely tuning the BPEL application itself, and throwing in big hardware.
    Also switching to the latest 10.1.3.3 version of the SOA Suite (assuming you didn't already) will show some improvements.
    HTH,
    Bas

  • Xpath expression is empty for input XML file - Help!!!

    Hi,
    I am desperate by now!!! :-(
    I am not able to read an XML file using the File Adapter
    when trying to assign the input I get the following error:
    06/06/08 09:15:10 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:490)
    06/06/08 09:15:10 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:122)
    06/06/08 09:15:10 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
    06/06/08 09:15:10 at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
    06/06/08 09:15:10 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
    06/06/08 09:15:10 at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    06/06/08 09:15:10 at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
    06/06/08 09:15:10 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
    06/06/08 09:15:10 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
    06/06/08 09:15:10 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217)
    06/06/08 09:15:10 at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511)
    06/06/08 09:15:10 at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
    06/06/08 09:15:10 at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
    06/06/08 09:15:10 at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
    06/06/08 09:15:10 at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    06/06/08 09:15:10 at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    06/06/08 09:15:10 at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    06/06/08 09:15:10 at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    06/06/08 09:15:10 at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    06/06/08 09:15:10 at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    06/06/08 09:15:10 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    06/06/08 09:15:10 at java.lang.Thread.run(Thread.java:534)
    <2006-06-08 09:15:10,384> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=<summary>empty variable/expression result.
    [b]xpath variable/expression expression "/ns6:SUPPLIERS_ORDER_NUMBER" is empty at line 23, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns6:SUPPLIERS_ORDER_NUMBER" is not empty.
    </summary>}}
    this is my XML file:
    <?xml version="1.0" encoding="utf-8"?>
    <SUPPLIERS_ORDER_NUMBER>"XX"</SUPPLIERS_ORDER_NUMBER>
    this is my xsd file:
    <xs:schema
    targetNamespace="http://schemas.oracle.com/service/bpel/common"
    xmlns:common = "http://schemas.oracle.com/service/bpel/common"
    xmlns:xs = "http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xs:element name="SUPPLIERS_ORDER_NUMBER" type="xs:string"/>
    </xs:schema>
    Please help me
    thanks
    Amit

    Hi,
    This is my file adapter wsdl file:
    <definitions
    name="fileAdapter"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns="http://schemas.xmlsoap.org/wsdl/" >
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:FILEAPP="http://xmlns.oracle.com/pcbpel/adapter/file/">
    <element name="InboundFileHeaderType">
    <complexType>
    <sequence>
    <element name="fileName" type="string"/>
    <element name="directory" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <!-- Header Message -->
    <message name="InboundHeader_msg">
    <part element="tns:InboundFileHeaderType" name="inboundHeader"/>
    </message>
    </definitions>
    So , should I use http://xmlns.oracle.com/pcbpel/adapter/file/ as my targetNamespace?
    for example:
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    Thanks
    Amit

  • Input XML Format needs to be Translated Into CSV String Format

    Hi,
    I need to translate input xml format to CSV string format in BPEL.
    How to use xpath function to do this?
    Thanks

    1. In the partner link of the file adapter you can run the wizard and create a XSD according to your CSV format.
    (you just need to create an example of CSV)
    The wizard will create a XSD automatically.
    2. Assign an invoke activity to that partner link.
    3. Use transformation to pass data from your XML input into the invoke variable.
    Arik

  • Java input xml data and xsl template -output file excel

    i need help or same special link on web.
    i must develop code or use a special tool that make this.
    INPUT:
    xml that contain real data
    xsl that explain a report template
    OUTPUT:
    file excel that show the template xsl with xml data source
    thank for help me.

    Hi,
    Please refer to "Oracle XML Publisher User's Guide".
    Applications Releases 11i and 12
    http://www.oracle.com/technetwork/indexes/documentation/index.html
    This is also explained in the document attached in (Publishing Concurrent Requests with XML Publisher [ID 295409.1]).
    Thanks,
    Hussein

  • How to generate the User-Input XML Body for executing workflows via REST APIs: The Solution

    I see that executing a workflow via REST APIs requires lot of work to be done just to prepare the right User-input XML body. Any mistake and you have some major debugging to do. Larger the number of User-Inputs, the bigger is the problem.Life is so much easier at the WFA GUI with Display names and tooltip help for User Inputs which are very easy for reading and providing the right values. I don't have any such privileges when manually preparing the User-Input XML body.It’s been asked numerous times how to provide User-Input values for type table, or Query (Multi-Select) etc. These are complex User-Input types and has lots of scope for user mistakes.I can have User-input dependency at WFA GUI which allows me to make the right selection, but while preparing my XML body I need to take care of it myself.An operator is allowed to execute workflows, but the same Display names which help him make the right user-inputs, makes it impossible for him to prepare the user-input body xml. Display names can't be used in in XML body and he can't know the exact parameter names by looking at the Display names. So he need to always contact the Admins/Architects for this. And Architects/Admins can't be expected to keep providing User-Input XML body to operators every operator. How about if I could enter all the User-Input values in my workflow execution at WFA GUI, I can do a preview which passed to my satisfaction and then I can magically get the XML body for it which I can use to execute my workflow from REST APIs from any client. It could be so very much easy for me than building my User-Input XML body manually. This is exactly what I'm going to give you right now. You open the WFA in browser, Go to your workflow, Start execution, you input values from GUI reading carefully the display names, preview it to your satisfaction and then get the XML body. Assume your workflow is called “Workflow to Print a given Message”. It’s a simple workflow with only 1 user-input Displayed as "Message to Print" Prerequisites:  The following are the one-time prerequisites. You need PowerShell 3.0 on your WFA server.Import the attached Generate_Workflow_User_Input_Body_in_XML.dar in your WFA. It’s our magical command called "Generate Workflow User Input Body in XML"Add credentials of a WFA Admin/Architect in you WFA itself with Name/IP: localhostMatch: ExactType: OtherName/IP: localhostUsername: <WFA Admin/Architect Username>Password: <User Password>   Steps: Suppose you have a workflow called "Workflow to Print a given Message". You want to execute it from REST apis and need to prepare the user input XML body.  Select this workflow and clone it. The workflow clone is the exact copy of your original workflow word by word, input-by-input. It will open in Edit mode with name "Workflow to Print a given Message - copy".Add the command "Generate Workflow User Input Body in XML" at the beginning of your workflow. This is a must. This command need to be the first command in your cloned workflow.This command requires no input. So for its Parameters just press okay and save the workflow.You are done.Now Execute the clone workflow. You'll see all the user-inputs available to you. Make your choices as you wish. Preview it to confirm that planning is passed and u have no errors.Execute it now.You'll see that the our magical command "Generate Workflow User Input Body in XML" has failed in our clone workflow execution. Don't worry, its fate was decided to be so. But it didn't fail before giving me what I really wanted. i.e. my XML body for my real workflow. It displayed it in the GUI as well as saved it in your WFA server @ C:\temp\<workflow_name_dd_MM_yyyy_hh_mm_ss_.xmlIt also deleted all the reservations of this particular failed job. So NO major residue left to be cleaned.To summarize: Clone Your workflow and Add the command "Generate Workflow User Input Body in XML" as your first command.    Start Execution, provide your User-inputs and preview it. Be satisfied and Press Okay.   Now Execute it.  After a few scconds this cloned workflow will fail with Error "All done. The Workflow will fail now."     See the command execution logs for this command. You'll see the User-Input XML body. It has also saved the XML file at C:\temp in your WFA server.   Have fun. sinhaa  

    Providing a new version 1.1.0 of the command "WFA Schedular" Changes made: Added conditional String Representation based on the Scheduling parameter provided. Provided check for the right number of parameters passed into the command.Added a new parameter "Expiry Date" to automatically stop the recurring execution upon expiry.Check for Posh3.0 version in code.Have Fun!! sinhaa Below example for:Schedule a workflow for recurring execution every alternate day i.e. once in 2 days at 10:30 PM starting 06-Jul-2015 (Today's date is 02-Jul-2015) . The recurring workflow execution  should expire on 31-Dec-2015 and stop.  

  • Unable to parse properly for a large number of requests

    Hi all
    in weblogic 9 .2 when a request comes which parses and reads a xml file then there is no problem. But at a time when a large number of request comes to read the xml file then it is behaving differently .One node it is unable to locate.The meaning of error is actually inappropriate
    java.lang.NullPointerException
         at com.sun.org.apache.xerces.internal.dom.ParentNode.nodeListItem(ParentNode.java:814)
         at com.sun.org.apache.xerces.internal.dom.ParentNode.item(ParentNode.java:828)
         at com.test.ObjectPersistanceXMLParser.getData(ObjectPersistanceXMLParser.java:46)
         at com.test.testservlet.doPost(testservlet.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    But there is a node and is found while processing in a java program for the same xml file. But this occurs when a large number of request comes.
    Please suggest.

    Yes I parse xml as much as the request comes. and i do not want to synchronize here. The below code executes for each request. Do we have a solution here .
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    Document configXML = docBuilder.parse(filePath);
    I have tried with DOMParser and follwowing method is applied
    setFeature( "http://apache.org/xml/features/dom/defer-node-expansion ",false).
    Please suggest.

  • Help: How do we retain XML tags inside BPEL

    I have scenario where the entire input (XML) needs to be converted as string object and passed to Java service (WSIF). getVariableData is removing XML tags.
    Input is a XML document with XML Signature in it. Without tags, Java code is not able to verify the signature.
    I am using Apache XML Security libraries. In order for me to verify, code creates Document object (org.w3c.dom.Document) from an inputstream.
    Any help is much appreiciated.

    Hi Clemens,
    First of all, thanks for the quick response. I would appreciate if you could help me little more to understand your suggestion. Currently, my BPEL process input is coming in with a structure, which includes XML information to load invoice along with its digital signature.
    Currently, I am trying to include an activity of Assignement after receiveInput activity to create an Xpath expression of something like this..
    concat(concat("<SignedInvoice>",concat(orcl:get-content-as-string(bpws:getVariableData('inputVariable','payload','/client:SignedInvoice/ns2:EM_VOUCHER_IN')),orcl:get-content-as-string(bpws:getVariableData('inputVariable','payload','/client:SignedInvoice/ns3:Signature')))) , "</SignedInvoice>")
    Where would I be implementing your suggestion of casting with org.w3c.dom.Element? would it be in the expression builder or does it need to be done somewhere else.
    Thanks again..
    Ramesh

Maybe you are looking for

  • Downloading table data into Excel sheet - Webdynpro Java

    Hi All, We have developed a custom webdynpro application that executes an RFC and displays data in Table UI element. We have provided a button to download the data in excel sheet. When data is huge like, total number of rows filled up in the table ar

  • Front Panel Views in Network Assistant are Incorrect

    Hi, I am having problems with the network assistant not showing the front panel view's correctly when connecting to our stack of 3850's. As can be seen in the attached image of 3 switches they show that identical ports are enabled on each one.  Switc

  • Subroutine in scripts

    Hi folks,   i want to print purchase order number and document date in purchase order form in seprate window.the purchase order number iam giving in selection-screen that number i want to display. for this iam writing code in subroutine.but the data

  • Where does album art come from?

    I had assumed that the album artwork that iTunes 7 provided would only be from music available on iTunes. It made sense; no Beatles artwork, no AC/DC, no Led Zep. However, some albums that aren't available at the iTunes store automatically appear. Mo

  • How am I suppose to back up my MacBook Pro before taking it in for repairs if the problem is that it won't turn on?

    My computer won't turn on due to accidental liquid damage. I plan on taking it in to be repaired but don't know how I'm suppose to back it up before hand seeing as it won't turn on.