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.

Similar Messages

  • 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

  • Inbound security for BPEL processes

    Hello,
    I am trying to enable Inbound security for BPEL processes. i made changes to message-handlers.xml as specified in the document.
    However when i sent a test message using AXIS API, i am getting the below error.
    Error while invoking inbound message handler.
    An error has occurred while attempting to invoke the inbound message handler class "class com.collaxa.cube.security.Authenticator" for the message "". The exception reported was: Could not apply security [No username provided, security expects user]
    I am using one of User Ids specified in system-jazn-data.xml and I can see that input soap message has a usernametoken . Any Inputs please?
    Thanks

    If you want to use the BPEL tool you can simulate some load using the initiate option. There is a checkbox where you can specify the load you want to perform.
    Otherwise you need to use products such as Mercury (now HP) Load Runner. This is an expensive option but gives you very good output. The other option is to develop your own scripts to test the performance.
    cheers
    James

  • How to maintain List Of Values (LOV's) for BPEL Processes

    We are integrating two systems.Source and destination systems store data in different formats. For example State is stored as a string in source and its stored as an number in destination system. In BPEL we are trying to transform this information and send it to destination system so that it understands the incoming data.
    A sample of transformation we need to do is as shown below.
    State in Source     Sate in Destination
    Texas               1
    Nebraska          2
    But we have so many fields that we need to transform as we are doing for State.
    What is the best way of handling these domain mappings in BPEL. I want to know is there any efficient way we can handle this in BPEL as we do in J2EE applications(Maintaining them in Domain tables and making them available for all functionalities).
    We are looking to hold all these domain mappings at one place and use in all the processes we design.Can anyone suggest a better way to handle this for BPEL processes.

    Hi,
    I am using the lookup-xml for maintaining list of values.But dont know whats the problem unable to get the output.
    Example: this is just a sample one which i am testing.
    My xml file is placed in c folder with the name "StateList.xml" which contains the following info.
    <?xml version="1.0"?>
    <Countries>
    <Country><Abbreviation>CO</Abbreviation><FullName>CO</FullName></Country>
    <Country><Abbreviation>CT</Abbreviation><FullName>Connecticut</FullName></Country>
    <Country><Abbreviation>ID</Abbreviation><FullName>Idaho</FullName></Country>
    <Country><Abbreviation>NJ</Abbreviation><FullName>New Jersey</FullName></Country>
    <Country><Abbreviation>AP</Abbreviation><FullName>Andhra Pradesh</FullName></Country>
    </Countries>
    And in BPEL, in the transformation i am taking the input and assigning this lookup value to the output variable as follows :
    <ns1:result>
    <xsl:value-of select="orcl:lookup-xml('file:/c:/StateList.xml','/Countries/Country','Abbreviation','FullName',/ns1:HelloWorldPavanaProcessRequest/ns1:input)"/>
    </ns1:result>
    But unable to get the result.Kindly help me out in this.
    Regards,
    Pavana

  • 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;
    /

  • BR100 Document for Oracle Process Manufacturing (OPM)

    Hi,
    Can anybody please send me sample BR-100 document for Oracle Process manufacturing for Steel / Coal slag processing industry??
    Thanks in advance.
    With Regards,
    Vishal Gujar
    Edited by: 956843 on Dec 14, 2012 12:42 PM

    11g is not release yet for SOA Suite. The latest version is 10.1.3.4.
    here is some docs to get you started
    http://www.oracle.com/technology/products/ias/bpel/htdocs/dev_support.html
    cheers
    James

  • Where can I find the documents for disassembly process?

    Dear all,
        I have a problem now. There's a finished product A. Materials B and C are its components. Now material A needs to be disassemblyed into B and C. B can be reused, but C will be scrapped.
       Where can I find the detail documents for disassembly process?
       Thank you.
    Paul

    Paul,
    From your explaination, I think you need to map your disassembly process with the help of production order scenario.
    Create order for material B. Component for that would be material A. No need to maintain material C as it is already consumed for material A.
    Let me explain me in details.
    You have cretaed order for A, you have done goods issue of B & C on the same order. You have done GR for A on the same order.
    The costing you have achieved on the order.
    Now for some reason you need to disassemble the A.
    You create order for B, issue the A to this order. Not to take inot consideration the C as it is already consumed on A.
    In SAP scrap does not carry any cost. Still you want to take into account the scarp then either do the GR with movement type 531 with any of the code.
    But before that some of the things you need to take into consideration.
    1. Material type of B has to be semifinished, to eanble the creation of order against that.
    2. Create the special order type for disassembly process.
    3. Maintian the special BOM usage if B has one primary BOM in the system or else you need to edit the component overview everytime you create the disassembly order.
    Refer the link of mine to have the clear idea.
    Re: Two BOMS for a Single material
    Hope this helps you.
    SmanS

  • Invalid testsuite XML document for junitreport task

    Hi everyone, I'm new to this forum and apologies if this is the incorrect place for me to post this thread. Basically I'm having some issues with the junitreport task with my junit test project.
    I have a dummy class called Money and dummy test suite called MoneyTest that contains 4 test cases. The test is run through ANT <junit> task and they all passed with no problems. The problem occurred when I tried to perform the automatic test report generation using <junitreport> task, and the generated HTML pages contain no test results at all, indicated by "Tests:0 Failures:0 Errors:0 Success rate:0 Time:0.000" (in which case it should be 4 for Tests, etc.).
    The error message says "TESTS-TestSuites.xml is not a valid testsuite XML document". I assume this file is auto-generated by the <junitreport> task which defines how the output HTML should look like. However, it only contains the folloing 2 lines:<?xml version="1.0"?> <testsuites />. I suspect this should be the cause of the empty output. So could anyone who's familar with this issue shed any light on how I should go about deal with this issue please? Thank you very much in advance!
    By the way, the task code in build.xml for reporting is as follows:
    <target name="report">
         <junitreport todir="./reports">
              <fileset dir="./reports" includes="*.xml" />
              <report format="frames" todir="./report/html" />
         </junitreport>
    </target>

    Thanks, the issue has been solved. I simply forgot to set the formatter type to xml in the junit task.

  • How to establish WS Security for BPEL processes running on Web Logic

    We are running SOA Suite 10.1.3.4 on Web Logic Server 9.2.
    I have built BPEL processes and now want to implement WS Security for them, "Wssp1.2-Wss1.0-UsernameToken-Plain-X509-Basic256.xml" in particular. Have been researching but could not find any document for a Web Logic scenario; can any of you please give me some directions or blogs which might be helpul.
    Appreciate your help in advance.
    Thanks!

    Hi
    Check the Link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1d16e
    Regards ,
    Venkat

  • Error creating web service proxy for bpel process in jdev 10.1.3

    Hi,
    I am trying to create a web service proxy in Jdeveloper 10.1.3, and get the following error:
    Element type "fault" is missing required attribute "name"
    I have created a fault on one of the operations, and in the .wsdl file there is a name attribute:
    <operation name="process">
    <fault name="TestError" message="client:TestErrorMessage"/>
    </operation>
    The fault definition in the .wsdl obtained from the process when you access it over http is somewhat different:
    <fault>
    <soap:fault name="TestError" use="literal" encodingStyle="" />
    </fault>
    Any ideas how to workaround this problem?
    Toby

    Hi Susan,
    The WSDL generated by BPEL designer is :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="EncryptedPasswordTest"
    targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/EncryptedPasswordTest"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="EncryptedPasswordTestProcessRequest">
                        <complexType>
                             <sequence>
                                  <element name="username" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="EncryptedPasswordTestProcessResponse">
                        <complexType>
                             <sequence>
                                  <element name="password" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="EncryptedPasswordTestProcessError">
                        <complexType>
                             <sequence>
                                  <element name="code" type="string"/>
                                  <element name="description" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="EncryptedPasswordTestRequestMessage">
              <part name="payload" element="client:EncryptedPasswordTestProcessRequest"/>
         </message>
         <message name="EncryptedPasswordTestResponseMessage">
              <part name="payload" element="client:EncryptedPasswordTestProcessResponse"/>
         </message>
         <message name="EncryptedPasswordTestErrorMessage">
              <part name="payload" element="client:EncryptedPasswordTestProcessError"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the EncryptedPasswordTest BPEL process -->
         <portType name="EncryptedPasswordTest">
              <operation name="process">
                   <input message="client:EncryptedPasswordTestRequestMessage" />
                   <output message="client:EncryptedPasswordTestResponseMessage"/>
    <fault name="EncryptedPasswordTestError" message="client:EncryptedPasswordTestErrorMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="EncryptedPasswordTest">
              <plnk:role name="EncryptedPasswordTestProvider">
                   <plnk:portType name="client:EncryptedPasswordTest"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    And the WSDL produced when you access the ws endpoint is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    name="EncryptedPasswordTest"
    targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/EncryptedPasswordTest"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:client="http://xmlns.oracle.com/EncryptedPasswordTest"
    >
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="EncryptedPasswordTestProcessRequest">
    <complexType>
    <sequence>
    <element name="username" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="EncryptedPasswordTestProcessResponse">
    <complexType>
    <sequence>
    <element name="password" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="EncryptedPasswordTestProcessError">
    <complexType>
    <sequence>
    <element name="code" type="string"/>
    <element name="description" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="EncryptedPasswordTestErrorMessage">
    <part name="payload" element="tns:EncryptedPasswordTestProcessError"/>
    </message>
    <message name="EncryptedPasswordTestResponseMessage">
    <part name="payload" element="tns:EncryptedPasswordTestProcessResponse"/>
    </message>
    <message name="EncryptedPasswordTestRequestMessage">
    <part name="payload" element="tns:EncryptedPasswordTestProcessRequest"/>
    </message>
    <portType name="EncryptedPasswordTest">
    <operation name="process">
    <input message="tns:EncryptedPasswordTestRequestMessage"/>
    <output message="tns:EncryptedPasswordTestResponseMessage"/>
    <fault name="EncryptedPasswordTestError" message="tns:EncryptedPasswordTestErrorMessage"/>
    </operation>
    </portType>
    <binding name="EncryptedPasswordTestBinding" type="tns:EncryptedPasswordTest">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="process">
    <soap:operation style="document" soapAction="process"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    <fault>
    <soap:fault name="EncryptedPasswordTestError" use="literal" encodingStyle=""/>
    </fault>
    </operation>
    </binding>
    <service name="EncryptedPasswordTest">
    <port name="EncryptedPasswordTestPort" binding="tns:EncryptedPasswordTestBinding">
    <soap:address location="http://bpel5.lon.domroot.com:7779/orabpel/default/EncryptedPasswordTest/1.0"/>
    </port>
    </service>
    <plnk:partnerLinkType name="EncryptedPasswordTest">
    <plnk:role name="EncryptedPasswordTestProvider">
    <plnk:portType name="tns:EncryptedPasswordTest"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

  • Updating a XML document with a processing instruction

    Greetings Guru's
    I have a fully functional XML database solution for our new system. The only thing left is for me to update a xml document in the database with a processing instruction to find the style sheet (JAXB strips it out when the XML must go back into the database).
    I can update complete nodes and node elements in the xml document using updateXML in a regular update statement, but I do not know how to add the following processing instruction to my documents.
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    [pre]
    Thanks in advance
    Derrick                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmlText := '<Hello>World</Hello>';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> drop table t
      2  /
    drop table t
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> create table t of xmltype
      2  /
    Table created.
    SQL> set long 10000
    SQL> --
    SQL> insert into t values (xmltype(:xmltext))
      2  /
    1 row created.
    SQL> select *
      2    from t
      3  /
    SYS_NC_ROWINFO$
    <Hello>World</Hello>
    SQL> update t set object_value = updateXML
      2                              (
      3                                object_value,
      4                                '/',
      5                                xmlconcat
      6                                (
      7                                  xmlpi("xml-stylesheet",'type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"'),
      8                                  object_value
      9                                )
    10                              )
    11  /
    1 row updated.
    SQL> select * from t
      2  /
    SYS_NC_ROWINFO$
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    <Hello>World</Hello>
    SQL>

  • Jdeveloper 10.1.3.4 Test Connection failed for BPEL Process Manager.

    Application Server: OK
    BPEL Process Manager Server: FAILED
    ESB Server: OK
    Verified and tried below steps:
    1. hw_services and orabpel and deploy_services are up and running
    2. Jdeveloper and Oracle SOA Suite Version is 10.1.3.4
    3. Tools->Preferences -> Web Browser and Proxy is disabled.
    4. Restarted hw_services and orabpel via Application server control for OC4J_SOA > hw_services/orabpel
    5. Able to connect the bpel process manager(BPELConsole) from Browser.
    6. But Not able deploy using ant tool as well as with Jdev Deploy option(no domains are displayed under deploy option in Jdev)
    7. Ant deployment throws error,
    A problem occured while connecting to server "testinstance.com" using port "7777": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>404 Not Found</TITLE>
    </HEAD><BODY>
    <H1>Not Found</H1>
    The requested URL /integration/services/deploy/deployHttpClientProcess.jsp was not found on this server.<P>
    <HR>
    <ADDRESS>Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server Server at testsoa.art.com Port 7777</ADDRESS>
    </BODY></HTML>
    Went thru many threads under soa/bpel forums and couldn't find it worked.
    Appreciate your help

    Application Server Test     Passed
    BPEL Identity Service     Failed
    BPEL Domains     Not Run
    BPEL Server Mode      Not Run
    BPEL Notification Service     Not Run
    BPEL TaskManager Service     Not Run
    ESB Connection     Passed
    When I select "BPEL Identity Service     Failed" the error displayed as is below. But for the Not Run components it says "Not Executed".
    java.lang.Exception:Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-10555
    Identity Service Configuration error.
    Identity Service Configuration file has error.
         at oracle.tip.pc.services.identity.config.ISConfiguration.load(ISConfiguration.java:277)
         at oracle.tip.pc.services.identity.config.ISConfiguration.<clinit>(ISConfiguration.java:94)
         at oracle.bpel.services.workflow.task.impl.WorkflowUtil.setUserNameCaseSensitiveFlagOnServer(WorkflowUtil.java:1193)
         at oracle.bpel.services.workflow.task.impl.TaskService.<init>(TaskService.java:196)
         at oracle.bpel.services.workflow.task.impl.TaskService.<clinit>(TaskService.java:153)
         at oracle.bpel.services.common.InitializeServlet.init(InitializeServlet.java:56)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
         at com.evermind.server.Application.getHttpApplication(Application.java:586)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291)
         at oracle.tip.pc.services.identity.config.ISConfiguration.parseDocument(ISConfiguration.java:339)
         at oracle.tip.pc.services.identity.config.ISConfiguration.load(ISConfiguration.java:259)
         ... 23 more
    Exception: ORABPEL-10555
    Identity Service Configuration error.
    Identity Service Configuration file has error.
    Handled As: oracle.tip.pc.infra.exception.PCRuntimeException

  • Modifying Memory Optimization parameter for BPEL process in SOA 11g

    Hello
    I have turned on memory optimization parameter for my BPEL process in the composite.xml (11g)
    this is what I have in composite.xml:
    <property name="bpel.config.inMemoryOptimization">false</property>
    How do we modify this parameter in the EM console at runtime? I changed this property to "true" using the System MBean browser, but it wasn't taking effect. I thought the SOA server must be restarted (similar to what we used to do in 10g). But when I restart the SOA server, the parameter goes back to whatever the value was in the composite.xml ignoring the change I made in the System MBean browser
    Please share your thoughts.
    Thanks in advance.
    Raja

    Deploying a newer version is not an option, as the endpoints could change (not sure if it would in 11g, but in 10g it does) and also, our service consumers will be pointing to the older version.As mentioned above, if clients are using URL without version then call will be forwarded to default version of composite internally. No manual tweaking required for this. Just make sure that while deploying the new version you are marking it as default.
    Besides, we report on service metrics and having multiple versions just complicates things.Not at all. If you are not using versioning feature, you are really under utilizing the Oracle SOA 11g. Remember that metrics can be collected for a single composite with same effort, irrespective of the number of composite versions deployed. Only few product tables refer the version while storing composite name and rest all use only the composite name without version. I do not know how you are collecting service metrics but we use DB jobs for same it works perfectly with any number of composites having multiple versions deployed.
    The idea is to do some debugging and collect audit trail in case there is a production issue by disabling inMemoryOptimization parameter. This is a live production environment and deploying whenever we want is not even an option for us, unfortunately. Why not debug by increasing log level. Diagnostic logs are the best option to debug an issue even in production. For getting audit trail you may re-produce the issue in lower environments. I think no organization will allow re-deployments just for debugging some issue in production until and unless it is too critical issue to handle.
    Does this not supported in 11g? if it isn't, it does seem like a bug to me. You may always go ahead and raise a case with support.
    Regards,
    Anuj

  • Assign Statement using EDI 850 XML Problem - No BPEL Process Instantion

    I am currently experiencing the following problem: I receive an EDI 850 message via AQ, and then when I try to copy one of the segments in the message
    to a temporary variable, my BPEL process instantiation never shows up in the BPEL console display, nor does it error out anywhere where I can see.
    Note: if I take out this assign activity, the BPEL process instantiation does show in the console, and does complete.
    Can someone tell me where to look inside of the BPEL engine for any error information and perhaps explain why this situation happens in the first place. Also, if anyone can tell me if my syntax below for the extraction is correct, that would also be great.
    Arthur (203-921-5925)
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://www.edifecs.com/xdata/100"
    schemaLocation="850.xsd" />
    </schema>
    </types>
    <message name="Header_msg">
    <part name="Header" element="tns:Header"/>
    </message>
    <message name="Transaction-850_msg">
    <part name="Transaction-850" element="imp1:Transaction-850"/>
    </message>
    <variable name="Variable_1" element="ns3:Segment-CTT"/>
    <variable name="Receive_PO_Dequeue_InputVariable"
    messageType="ns1:Transaction-850_msg"/>
    <sequence name="main">
    <receive name="Receive_PO" partnerLink="X12_4010_850_PO_DEQ"
    portType="ns1:Dequeue_ptt" operation="Dequeue"
    variable="Receive_PO_Dequeue_InputVariable" createInstance="yes"
    bpelx:headerVariable="Variable_Receive_X12_4010_850_PO_Hdr"/>
    <assign name="abc_test_assign">
    <copy>
    <from expression="bpws:getVariableData('Receive_PO_Dequeue_InputVariable',
    'Transaction-850','/ns3:Transaction-850/ns3:Loop-CTT/ns3:Segment-CTT')"/>
    <to variable="Variable_1"/>
    </copy>
    </assign>

    Hi Arthur,
    Please verify the namespace in the xml instance matches the xsd used in BPEL. In many cases, the data cannot be copied/transformed successfully if there is a mismatch in namespace.
    Eng

  • 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.... ;-)

Maybe you are looking for