Invalid XML Document in BPEL Human Task - TaskService

Hi Experts
I am getting the following run time error in BPEL console in my bpel process which has got a human task.
==================================================================
Invalid xml document.*
According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-datatype-valid.1.2.1: '' is not a valid value for 'dateTime'.*
Error::cvc-type.3.1.3: The value '' of element 'expirationDate' is not valid.*
Please make sure that the xml document is valid against your schemas.*
==================================================================
BPEL console is validating all incoming and outgoing XML document against the relevant schema since the configuration property, validateXML has
set to strict in the BPE console domain, which it has to be.
This complain is regarding the element expirationDate in the response message of the human task, which cannot be explicitly set in the bpel process.
Please help me to resolve this issue.
Thanks
Jamith

Hi
This has been escalated to Oracle and has been identified as a bug.
Anyway, can you please explain bit more about you workaround?
Thanks
Jamith

Similar Messages

  • Invalid xml document for BPEL Process.

    Hi everyone,
    I am getting below error after i set validateXML=strict
    Invalid xml document.
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-datatype-valid.1.2.1: '' is not a valid value for 'decimal'.
    Error::cvc-type.3.1.3: The value '' of element 'ns1:p_person_id' is not valid.
    Please make sure that the xml document is valid against your schemas.
    Kindly help me with the steps. I am just a SOA admin, not developer.
    Regards
    Lammeki.

    Ummmm Vikas,
    Lemme bring out a better picture, so u get more clear on this one.
    The developer has upgraded an already deployed BPEL process.
    Since then, she has been facing problem. When she invoke those process they simply end up as faulted with a yellow color ! mark.
    Now i as an admin, i tried everything to help her cos she escalated the issue to me, thinking maybe there is sumthing i could do to assists her.
    Now i am not sure, how to help her, but yes i started with the logs. Both the oc4j container log for SOA and the domain log show the similar error.
    But till then, i didn't know black and white of it. so i tried doing all testing possible from my end.
    When i check on the faulted instances i see there is a Assign activity after Transform followed by Invoked being highlighted in red color. and when i clicked on it i get to see the error
    Assign_41
    [2011/07/21 02:26:15]
    Error in evaluate <from> expression at line "315". The result is empty for the XPath expression : "/ns6:QueryPerAllPeopleOutputCollection/ns6:QueryPerAllPeopleOutput/ns6:EMPLOYEE_NUMBER".
    oracle.xml.parser.v2.XMLElement@1ee216f
    Copy details to clipboard
    [2011/07/21 02:26:15]
    "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.
    - <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    - <part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "/ns6:QueryPerAllPeopleOutputCollection/ns6:QueryPerAllPeopleOutput/ns6:EMPLOYEE_NUMBER" is empty at line 315, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns6:QueryPerAllPeopleOutputCollection/ns6:QueryPerAllPeopleOutput/ns6:EMPLOYEE_NUMBER" is not empty.
    Possible reasons behind this problems are: some xml elements/attributes are optional or the xml data is invalid according to XML Schema.
    To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.
    </summary>
    </part>
    </selectionFailure>
    Copy details to clipboard
    So because of that instruction i went ahead and set validateXML=strict
    and that is when i got the error message as below
    Invoke_PerAllPeople
    [2011/07/21 11:47:12]
    Invalid data: The value for variable "Invoke_PerAllPeople_QueryPerAllPeople_InputVariable", part "QueryPerAllPeopleInput_msg" does not match the schema definition for this part.The invalid xml document is shown below:
    oracle.xml.parser.v2.XMLElement@17f54ff
    Copy details to clipboard
    [2011/07/21 11:47:12]
    Faulted while invoking operation "QueryPerAllPeople" on provider "QueryPerAllPeople".
    - <messages>
    - <input>
    - <Invoke_PerAllPeople_QueryPerAllPeople_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="QueryPerAllPeopleInput_msg">
    - <QueryPerAllPeopleInput xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/QueryPerAllPeople" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/QueryPerAllPeople">
    <ns1:p_person_id/>
    </QueryPerAllPeopleInput>
    </part>
    </Invoke_PerAllPeople_QueryPerAllPeople_InputVariable>
    </input>
    - <fault>
    - <invalidVariables xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    9710
    </code>
    </part>
    - <part name="summary">
    <summary>
    Invalid xml document.
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-datatype-valid.1.2.1: '' is not a valid value for 'decimal'.
    Error::cvc-type.3.1.3: The value '' of element 'ns1:p_person_id' is not valid.
    Please make sure that the xml document is valid against your schemas.
    </summary>
    </part>
    </invalidVariables>
    </fault>
    </messages>
    Copy details to clipboard
    [2011/07/21 11:47:12]
    "{http://schemas.oracle.com/bpel/extension}invalidVariables" has been thrown.
    - <invalidVariables xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    9710
    </code>
    </part>
    - <part name="summary">
    <summary>
    Invalid xml document.
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-datatype-valid.1.2.1: '' is not a valid value for 'decimal'.
    Error::cvc-type.3.1.3: The value '' of element 'ns1:p_person_id' is not valid.
    Please make sure that the xml document is valid against your schemas.
    </summary>
    </part>
    </invalidVariables>
    Copy details to clipboard
    The main problem was we were observing many SOA inactive threads in one particular database, and they keep building up minutes by minutes.
    I suspect, that in the code connections were open but were not closed, there4 there were inactive threads in the database.
    I had to stop the SOA application, to stop threads from building up. I guess they got build up when they were invoked. There is definitely some fault with the code. or tell me am wrong. tell me its sumthing else.
    However other domains processes were working fine.
    and oh, yes the developer also made changes in the database. when i asked her to revert back and see if it works, she say thats a huge amount of work.
    Finally she end up saying that maybe it could be a problem with the new version.
    Now as a learner, I want to know what is going on, and how do we go about solving it.
    Am not much of a SOA techie. that u can make out. but yes ready to learn things. so there4 i beg you to explain to me like am a standard 3 or 4 kid. any more information needed plz feel free to write back.
    regards
    Lammeki.

  • BPEL Human task Tutorial 10.1.3.5 SOA

    Hi,
    I have been tasked with setting up an example of BPEL human task workflow working on SOA application server 10.1.3.5.
    Does anyone have any examples of this? I would prefer something that is stand-alone and not dependent on other creations or deployments. I found one for 11g however I need to have it used on SOA app server, not WebLogic. I wouldn't mind following this guide below, but I am unable to find out how to use JDev11g to deploy on SOA 10g app server.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10275/intro.htm
    Thank you for any help / support.
    Mike

    Hi,
    Thanks for that. In here is what I found on the web also, OrderBooking which is a large application. The 11g example just streamlines the process with just the BPEL "human task" example which is what I was tasked to do.
    Thanks though

  • Invalid XML document can be inserted

    Hi,
    I'm using Oracle 10g Enterprise Edition Release 10.1.0.4.0. I have a schema based (XSD) database where I'm trying to insert invalid document and it works :(
    Here is an extract of the schema :
         <xsd:element name="quantity">
              <xsd:simpleType>
                   <xsd:restriction base="xsd:positiveInteger">
                        <xsd:maxExclusive value="100"/>
                   </xsd:restriction>
              </xsd:simpleType>
         </xsd:element>
    If I put a XML document with invalid data like "<quantity>230</quantity>" I have not error message from Oracle. The XML is inserted !
    Is this error corresponding to "Bug 4329431 DBMS_XMLPARSER ignores errors while parsing invalid XML document" or is it another bug ?
    Thanks

    Try doing a search on schemaValidate() in this forum. The gist of it is that you need to invoke the schemaValidate() method. By default we do a lax validation that checks things like mandatory elements are present etc.To perform a full schema validation use a trigger or procedure to invoke this method on the XMLType
    Eg
    create or replace trigger validate_xml before insert on my_xml_table
    for each row
    begin
       :new.object_value.schemaValidate();
    end;
    /

  • Missing Task Outcomes in ADF Project for BPEL Human Task

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

  • Problem in BPEL Human task

    I am developing the BPEL process in jdeveloper11g. I used Human task for serial approvers.
    When I test the service I was able to see the Recive and Callback of human task.
    I want to Invoke partner link (used for DB adapter) whenever first approval approves the task . So that I can update the status of current approval as approved ( second approval status should be Pending), after approving from second approver only the second approver status should be updated as approved.
    but the procedure of updating status i.e.. Invoking partner link is executed after approved by all approvals.
    Please let me what I am missing.
    Thanks in advance.
    Sandeep.

    I am using Invoke activity to retrive data from data adapter . After that I am using While activity to iterate from the retrived data. And in While activity I placed Assign activity along with Invoke Activity to update retrived data.
    but here insted of iterating from each record it goes infinite loop.
    I have given "true () " as expression for While activity.
    please let me where I am missing. Please its very urgent.
    Thank you.

  • Using systemMessageAttributes in BPEL Human Task

    Hi All,
    How can I use systemMessageAttributes: task:textAttribuite1 in human task.
    After creating a HT in BPEL, I am setting its outcome - rejecting or approving the task- using worklist Java API.
    Along with that I want to set the textAttribuite1 through API and then use these attributes inside the corresponding BPEL process after the task is completed?
    I tried using
    taskimpl.getSystemAttributes();
    SystemMessageAttributesType sysMessAttType = taskimpl.getSystemMessageAttributes();
    sysMessAttType .setTextAttribute1("check");
    After retrieving the task using taskId, however I am unable to set these attributes.
    Please let me know!
    thanks,
    CD2006

    There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
    I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
    To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
    hth.

  • Configuring Callbacks in BPEL Human Task

    Hi,
    I'm trying to configure a callback on OnTaskAssigned ,OnTaskUpdated in human workflow.
    I defined my custom java class implementing IRoutingSlipCallBack Interface (I also tried with ITaskServiceCallBack) in the .task file and also enabled callback in BPEL activity.
    I tried modifying some attributes (like title and comments) of the task to see if my callbacks are really being called. however i see no changes made by me are reflected.
    Am I missing some steps here ?
    Thanks in advance
    Pradeep

    There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
    I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
    To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
    hth.

  • How to configure "permitted actions" on bpel human task

    Hi,
    I trying to call suspendTask at human task from bpel. I get this message
    "Permitted actions are: [VIEW_SUB_TASKS, VIEW_PROCESS_HISTORY, RESUME, VIEW_TASK, WITHDRAW, VIEW_TASK_HISTORY]"
    Where i configure this "permitted actions" ?
    Thanks
    Victor Jabur.

    Go to the composite editor -> open the human taskflow component --> Access Tab ---> Actions ---> Give the access to the Approver
    Ajay

  • Bpel human task custom jsp not run

    hi i am use bpel 10.1.3.1 and oas 10.1.3 made a simple bpel process with a human task but the custom jsp generated not run from the url , and i recieve that message
    "Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response"

    The issue was with the way I was passing parameters. I was passing the the task namespace in update mode which is not required.

  • 9.0.3 validates an invalid XML document as valid

    JDeveloper 9.0.3 validates the XML document below with no errors, although it contains several. It also insists on a namespare (even a blank one) before the validator will run, even though it has an internal DTD.
    Also, there is no DTD file type in JDeveloper. Why?
    -----------------------Clip here-----------
    <?xml version="1.0"?>
    <!DOCTYPE todo [
    <!ATTLIST description priority NMTOKEN "low">
    <!ELEMENT description (#PCDATA)>
    <!ELEMENT task (description)>
    <!ELEMENT todo (task)+>
    ]>
    <todo xmlns="">
    <task>
    <description priority="high">Backup sales data for last month</description>
    </task>
    <task>
    <description priority="l ow">Complete end of month report</description>
    </task>
    <task>xxx</task>
    </todo>

    Ed,
    JDev 9.0.3 supports validation based on XML Schema only, not DTD.
    DTD validation is being considered for a future release, but has not
    been scheduled yet so I cannot give you an idea of when it's coming.
    I'll try to encourage the team to write a little Extension we could
    put up on OTN to restore this validate against the DTD feature that
    JDeveloper 3.2 did support.

  • How BPEL human task becomes to state 'Withdrawn'

    All,
    what causes human task to go to 'Withdrawn' state. The reason i know is deleting associated bpel process.
    Are there any other events which causes this ?
    Regards,
    Praveen

    Go to the composite editor -> open the human taskflow component --> Access Tab ---> Actions ---> Give the access to the Approver
    Ajay

  • BPEL Human Task: how to remove task details section from notification email

    This is concerning the human task component of SOA Suite 11g. Upon task assignment, the assignee receives an email notification with an administrator configured text. Below this text the task details are automatically added. How can this be removed? Marking the notification as 'secure' also removes the administrator configured text. But that I'd like to keep. Only the automatically added task details section needs to go. Any hints?

    This configuration is available in the following navigation. Workflow Administrator Web Applications > Oracle Applications Manager > Workflow Manager > Service Components > Workflow Notification Mailer > Edit > Advanced > Message Generation section > Templates. You can refer to the "Oracle Workflow Administrator's Guide" > "Modifying Your Message Templates" for more information.
    Please note that this applies to ALL the outbound notifications, not specific for Purchasing notifications.

  • Extracting the input from xml document in BPEL

    hi,
    I have a simple JSP which invokes the "101.HelloWorld" provided with the samples.
    The source code for the JSP is as follows:
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="java.util.Map" %>
    <%@page import="org.w3c.dom.Element" %>
    <html>
    <head>
    <title>Invoke HelloWorld</title>
    </head>
    <body>
    <%
        Hashtable jndi = null;
        jndi = new Hashtable(); 
        jndi.put(Context.PROVIDER_URL, "opmn:ormi://BTP6ND09:6003:home/orabpel");
        jndi.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
        jndi.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
        jndi.put(Context.SECURITY_CREDENTIALS, "welcome1");
        jndi.put("dedicated.connection", "true");
        jndi.put("dedicated.rmicontext","true");
        String name = request.getParameter("name");
        if(name == null)
            name = "BPEL";
        String xml = "<name xmlns=\"http://btp6nd09:8888/BPELConsole/default/HelloWorld\">" + name + "</name>";
        Locator locator = new Locator("default","bpel",jndi);
        IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
        NormalizedMessage nm = new NormalizedMessage( );
        nm.addPart("payload" , xml );
        deliveryService.post("HelloWorld", "initiate", nm);
        out.println( "BPELProcess  HelloWorld initiated!" );
    %>
    Please refer to the
    BPEL Console
    to see the status of the initiated HelloWorld BPEL Process.
    </body>
    </html>Since the input goes as an xml to the Receive activity, i am not knowing how to extract the "name" element from it in the assign activity. Which "BPEL XPath Extension Function" should i use to extract the same?
    Message was edited by:
    user578981
    Message was edited by:
    user578981

    Hi,
    can you please format your input?
    Otherwise, no one will look into your question or problem.... ;-)

  • GZIP compression xml document in bpel

    Dear All
    Any idea about compressing xml message by using gzip before sending thru http binding.
    Regards
    Aamir

    Hi Aamir,
    Have a look on the document bellow, you may use something like that and then send resultant file as attachment via HTTP...
    http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/adptr_valve.htm#CHDDIICH
    Cheers,
    Vlad

Maybe you are looking for

  • External USB2 drive doesn't work on left USB port

    Hi, I have an 2,5" external usb hard drive which works on my right usb port, but not on my left one, when i try the disk on the left port, afterwards the usb port is dead untill restart, even my mighty mouse does'nt work on it. My logic board and boa

  • Release and/or Post Logistic Parked Invoices automatically

    Hi there, I was wondering if anyone knows how to release and/or post Logistic Parked Invoices automatically in R/3. The Logistic Invoices are created using BAPI_INCOMINGINVOICE_PARK and are displayed in transaction MIR7. I need to find a way to proce

  • I have a trial version of Lightroom 4.. Will I loose my work if I buy Lightroom 5?

    I have a few days left on my free 30 day subscription of Lightroom 4. Can anyone let me know if I need to do anything special (as far as installation, etc) in order to buy lightroom 5? I want to keep my edits, collections, etc. Thanks!

  • How to enable PDO_MYSQL in 5.2.4 PHP included into Leopard

    I get it all working but getting an error: uncaught exception 'PDOException' with message 'could not find driver'. It looks like there is no PDO-MYSQL in phpinfo configuration list. On dreamhost (and on my old tiger): PDO support enabled PDO drivers

  • Sound blaster 5.1 DE was the best any alternative?

    Hi i used the sound blaster 5. digital edition http://images.ausprices.com/images/product/550_-x-.jpg for about three years, it had?a great?surround mixer http://www.hardware-one.com/reviews/...ixer-5-big.jpg?with some amazing voice effects like chip