Error occurred while parsing: Start of root element expected.

This my code i use to try inserting xml data:
v_BFile := BFILENAME('XML_DIR',v_xmlfile);
DBMS_LOB.createTemporary(v_clob, cache=>false);
DBMS_LOB.open(v_bFile, DBMS_LOB.lob_readonly);
DBMS_LOB.loadFromFile(v_clob,v_BFile,DBMS_LOB.getLength(v_bfile));
DBMS_LOB.close(v_bfile);
v_parser := XMLPARSER.newParser;
XMLPARSER.parseClob(v_parser,v_clob);
On the parseClob is get the error message: Error occurred while parsing: Start of root element expected.
My xml is as follows
<?xml version="1.0" ?>
<EMPLOYEES>
<EMP>
<EMPNO>8000</EMPNO>
<ENAME>JONES</ENAME>
<JOB>DBA</JOB>
<MGR>7839</MGR>
<HIREDATE>07-MAY-2002</HIREDATE>
<SAL>100</SAL>
<COMM>10</COMM>
<DEPTNO>10</DEPTNO>
</EMP>
<EMP>
<EMPNO>8001</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>PROG</JOB>
<MGR />
<HIREDATE>01-MAY-2002</HIREDATE>
<SAL>200</SAL>
<COMM>10</COMM>
<DEPTNO>10</DEPTNO>
</EMP>
</EMPLOYEES>
What do i do wrong. Can someone help me

Kurt
Can you answer the following questions
Which Release of the database are you using ?
What is the database character set ?
What is the character set encoding of the source document ?
Remember that the loadFromFile procedure is designed to load binary data, and does not convert data into the database character set. If the database character set is UTF8, then the CLOB data has to be UCS2.
Can you dump the contents of the CLOB
If you are using 9iR2 then you can use the new procedure GetCLOBFromFile which will perform the correct coversions.
Also in 9iR2 we would recommend the use of the DBMS_XMLPARSER package, rather than the XMLPARSER package. The reason for this is the DBMS_XMLPARSER makes use of a 'C' based parser, running as native compiled code, which XMLPARSER still uses the Java based version of the parser. Performance with DBMS_XMLPARSER is much better.
Hope this helps

Similar Messages

  • ORA-20100: Error occurred while parsing: Start of root element expected.

    I've been searching everywhere for a reason to the following error message: ORA-20100: Error occurred while parsing: Start of root element expected.
    I get this when attempting to parse an XML file stored as a CLOB using the xmlparser.parseClob procedure
    Any help would be much appreciated.

    I initially used US ASCII but then tried several unicode formats as created by XML Spy (UTF16, Unicode16, Unicode32). All had the exact same result.
    Exactly what would be the most helpful output? The XML documents are varied, mostly very simple, but do you want the CLOB printed some other way?
    --Joan Armstrong
    null

  • XML-20108: (Fatal Error) Start of root element expected while restarting

    Hi All,
    I am work on OIM with the following configurations
    1)OS for App Server -- Linux
    2)App Server type and version -- Oracle Application Server 10g, version is 10.1.3.1.0
    3)OIM connector pack version -- 9.0.3
    I have restarted the servers and I got the following error message
    08/10/16 08:03:19 Stop process
    08/10/16 08:03:20 Shutting down...
    08/10/16 08:03:36 Start process
    08/10/16 08:08:09 WARNING: ApplicationStateRunning.loadConnectors Exception loading connector xlJMSResourceAdapterModule : Error parsing oc4j-ra.xml at /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/application-deployments/default/xlJMSResourceAdapterModule: Fatal error at line 1 offset 1 in file:/u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/connectors/xlJMSResourceAdapterModule/xlJMS ResourceAdapterModule/: .<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
    08/10/16 08:08:09 WARNING: ApplicationStateRunning.loadConnectors Exception loading connector OracleASjms : Error parsing oc4j-ra.xml at /u01/app/oracle/product /10.1.3.1/OracleAS_1/j2ee/oim/application-deployments/default/OracleASjms: Fatal error at line 1 offset 1 in file:/u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/connectors/OracleASjms/OracleASjms/: .<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
    Oct 16, 2008 8:08:11 AM org.jgroups.protocols.UDP createSockets
    INFO: sockets will use interface 10.201.50.124
    Oct 16, 2008 8:08:11 AM org.jgroups.protocols.UDP createSockets
    INFO: socket information:
    local_addr=10.201.50.124:46865, mcast_addr=231.184.179.146:45577, bind_addr=/10.201.50.124, ttl=1
    sock: bound to 10.201.50.124:46865, receive buffer size=64000, send buffer size= 32000
    mcast_recv_sock: bound to 10.201.50.124:45577, send buffer size=150000, receive buffer size=80000
    mcast_send_sock: bound to 10.201.50.124:46866, send buffer size=150000, receive buffer size=80000
    Can any one help me out
    Thanks in Advance

    Have you modified the DB adapter wsdl manually ? provide more error details from payload and logs.

  • Error parsing envelope: (1, 1) Start of root element expected.

    Hello BI Publisher:
    The issue has been resolved. I found the cause the problem. The following line in my WSDL was preventing BI Publisher from reading the WSDL, which will return the "Error parsing envelope" message:
    <xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
    Once I removed the above line, BI Publisher was able to read the WSDL without any issues, and run the report.
    Benjamin
    Hello BI Publisher:
    I am trying to define a new dataset of type "Web Service", with a Complex Type configuration using WS-Security 2004. I get the following error when I try to "View" it:
    **"javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected."**
    This happens even if my Application Server (where the service is located) is not running, so I suspect that the error happens before the Publisher server tries to send the SOAP envevelop to the service server.
    Publisher Version: Release 10.1.3.4
    Complex Type: True
    Username: User1
    Password: ******
    Time Out: 60
    WSDL URL: http://localhost:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
    Web Service: ZZ_BIP_XAI_ZFService
    Method: ZZ_BIP_XAI_ZF
    ResponseData XPath: <blank>
    Here is the Publisher server log in debug mode:
    [072909_110222553][][STATEMENT] Setting data definition:New DataSet 1 type:oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11
    [072909_110222569][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [072909_110228644][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [072909_110228690][][STATEMENT] WebServiceBoundValue11::getValue m_xpath =
    [072909_110228690][][STATEMENT] WSS Parameter = 2004
    09/07/29 11:02:28 WebServiceCall::callComplexClient SOAP Message = null
    [072909_110228706][][STATEMENT] SOAP Response XPATH =
    [072909_110228706][][STATEMENT] http://localhost.us.oracle.com:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
    [072909_110228706][][STATEMENT] ZZ_BIP_XAI_ZF
    [072909_110228706][][STATEMENT] null
    09/07/29 11:02:28 WebServiceCall::callComplexClient WS-Security Enabled - uid [SPLBPG], pwd [splbpg00], spec-2004 [true]
    09/07/29 11:02:28 javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
    09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/07/29 11:02:28 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
    09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    09/07/29 11:02:28 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/07/29 11:02:28 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/07/29 11:02:28 at java.lang.Thread.run(Thread.java:595)
    09/07/29 11:02:28 Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
    09/07/29 11:02:28 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
    09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
    09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
    09/07/29 11:02:28 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
    09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
    09/07/29 11:02:28 ... 30 more
    [072909_110228862][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
    ... 27 more
    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:206)
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
    ... 30 more
    [072909_110228878][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
    ... 27 moreCaused 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:206)
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
    ... 30 more
    Here is my WSDL:
    <?xml version="1.0"?>
    <!-- root element wsdl:definitions defines set of related services -->
    <wsdl:definitions name="ZZ_BIP_XAI_ZF"
    targetNamespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
    xmlns:xai="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
    xmlns:xaixsd="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF.xsd"
    xmlns:schemans1="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
    xmlns:schemans2="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
    xmlns:ouaf="urn:oracle:ouaf"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <!-- wsdl:types encapsulates schema definitions of communication types;
    here using xsd -->
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
    <xsd:element name="Fault">
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="ResponseStatus" type="xsd:string"/>
    <xsd:element name="ResponseCode" type="xsd:int"/>
    <xsd:element name="ResponseText" type="xsd:string"/>
    <xsd:element name="ResponseData" minOccurs="0">
    <xsd:complexType>
    <xsd:attribute name="parm1" type="xsd:string"/>
    <xsd:attribute name="parm2" type="xsd:string"/>
    <xsd:attribute name="parm3" type="xsd:string"/>
    <xsd:attribute name="parm4" type="xsd:string"/>
    <xsd:attribute name="parm5" type="xsd:string"/>
    <xsd:attribute name="text" type="xsd:string"/>
    <xsd:attribute name="category" type="xsd:string"/>
    <xsd:attribute name="numParm" type="xsd:int"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
    <xsd:simpleType name="money">
    <xsd:restriction base="xsd:decimal"/>
    </xsd:simpleType>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ouaf="urn:oracle:ouaf" targetNamespace="http://oracle.com/ZZ_BIP_XAI_ZF.xsd" elementFormDefault="qualified">
    <xsd:import namespace="urn:oracle:ouaf"/>
    <xsd:element name="ZZ_BIP_XAI_ZF">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
    <xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
    <xsd:element name="crew" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="crewName" type="xsd:string"/>
    <xsd:element name="task" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="taskId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="taskName" type="xsd:string"/>
    <xsd:element name="status" type="xsd:string"/>
    <xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
    <xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    <!-- wsdl:message elements describe potential transactions -->
    <!-- request ZZ_BIP_XAI_ZFRequest is of type ZZ_BIP_XAI_ZF -->
    <wsdl:message name="ZZ_BIP_XAI_ZFRequest">
    <wsdl:part name="body" element="schemans1:ZZ_BIP_XAI_ZF"/>
    </wsdl:message>
    <!-- response ZZ_BIP_XAI_ZFResponse is of type ZZ_BIP_XAI_ZFResponse -->
    <wsdl:message name="ZZ_BIP_XAI_ZFResponse">
    <wsdl:part name="body" element="schemans2:ZZ_BIP_XAI_ZF"/>
    </wsdl:message>
    <!-- fault ZZ_BIP_XAI_ZFFault is of type ZZ_BIP_XAI_ZFFault -->
    <wsdl:message name="ZZ_BIP_XAI_ZFFault">
    <wsdl:part name="fault" element="ouaf:Fault"/>
    </wsdl:message>
    <!-- wsdl:portType describes messages in an operation -->
    <wsdl:portType name="ZZ_BIP_XAI_ZFPortType">
    <!-- the value of wsdl:operation eludes me -->
    <wsdl:operation name="ZZ_BIP_XAI_ZF">
    <wsdl:input message="xai:ZZ_BIP_XAI_ZFRequest"/>
    <wsdl:output message="xai:ZZ_BIP_XAI_ZFResponse"/>
    <wsdl:fault name="fault" message="xai:ZZ_BIP_XAI_ZFFault"/>
    </wsdl:operation>
    </wsdl:portType>
    <!-- wsdl:binding states a serialization protocol for this service -->
    <wsdl:binding name="ZZ_BIP_XAI_ZFSoapBinding"
    type="xai:ZZ_BIP_XAI_ZFPortType">
    <!-- leverage off soap:binding document style @@@(no wsdl:foo pointing at
    the soap binding) -->
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <!-- semi-opaque container of network transport details classed by
    soap:binding above @@@ -->
    <wsdl:operation name="ZZ_BIP_XAI_ZF">
    <!-- again bind to SOAP? @@@ -->
    <soap:operation soapAction="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    <!-- furthur specify that the messages in the wsdl:operation
    "ZZ_BIP_XAI_ZF" use SOAP? @@@ -->
    <wsdl:input>
    <soap:body use="literal"
              namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"
              namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:output>
    <wsdl:fault name="fault">
    <soap:fault name="fault" use="literal"
              namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <!-- wsdl:service names a new service "ZZ_BIP_XAI_ZFService" -->
    <wsdl:service name="ZZ_BIP_XAI_ZFService">
    <wsdl:documentation>ZZ_BIP_XAI_ZF version 3: Test XAI WS for BIP</wsdl:documentation>
    <!-- connect it to the binding "ZZ_BIP_XAI_ZFSoapBinding" above -->
    <wsdl:port name="ZZ_BIP_XAI_ZFPort"
    binding="xai:ZZ_BIP_XAI_ZFSoapBinding">
    <!-- give the binding an network address -->
    <soap:address location="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Edited by: bperezg on Aug 12, 2009 2:49 PM
    Edited by: bperezg on Aug 12, 2009 2:56 PM

    Hello BI Publisher:
    The issue has been resolved. I found the cause the problem. The following line in my WSDL was preventing BI Publisher from reading the WSDL, which will return the "Error parsing envelope" message:
    <xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
    Once I removed the above line, BI Publisher was able to read the WSDL without any issues, and run the report.
    Benjamin
    Hello BI Publisher:
    I am trying to define a new dataset of type "Web Service", with a Complex Type configuration using WS-Security 2004. I get the following error when I try to "View" it:
    **"javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected."**
    This happens even if my Application Server (where the service is located) is not running, so I suspect that the error happens before the Publisher server tries to send the SOAP envevelop to the service server.
    Publisher Version: Release 10.1.3.4
    Complex Type: True
    Username: User1
    Password: ******
    Time Out: 60
    WSDL URL: http://localhost:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
    Web Service: ZZ_BIP_XAI_ZFService
    Method: ZZ_BIP_XAI_ZF
    ResponseData XPath: <blank>
    Here is the Publisher server log in debug mode:
    [072909_110222553][][STATEMENT] Setting data definition:New DataSet 1 type:oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11
    [072909_110222569][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [072909_110228644][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [072909_110228690][][STATEMENT] WebServiceBoundValue11::getValue m_xpath =
    [072909_110228690][][STATEMENT] WSS Parameter = 2004
    09/07/29 11:02:28 WebServiceCall::callComplexClient SOAP Message = null
    [072909_110228706][][STATEMENT] SOAP Response XPATH =
    [072909_110228706][][STATEMENT] http://localhost.us.oracle.com:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
    [072909_110228706][][STATEMENT] ZZ_BIP_XAI_ZF
    [072909_110228706][][STATEMENT] null
    09/07/29 11:02:28 WebServiceCall::callComplexClient WS-Security Enabled - uid [SPLBPG], pwd [splbpg00], spec-2004 [true]
    09/07/29 11:02:28 javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
    09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/07/29 11:02:28 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    09/07/29 11:02:28 at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
    09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    09/07/29 11:02:28 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/07/29 11:02:28 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/07/29 11:02:28 at java.lang.Thread.run(Thread.java:595)
    09/07/29 11:02:28 Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
    09/07/29 11:02:28 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
    09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
    09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
    09/07/29 11:02:28 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
    09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
    09/07/29 11:02:28 ... 30 more
    [072909_110228862][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
    ... 27 more
    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:206)
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
    ... 30 more
    [072909_110228878][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
    at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
    at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
    ... 27 moreCaused 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:206)
    at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
    ... 30 more
    Here is my WSDL:
    <?xml version="1.0"?>
    <!-- root element wsdl:definitions defines set of related services -->
    <wsdl:definitions name="ZZ_BIP_XAI_ZF"
    targetNamespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
    xmlns:xai="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
    xmlns:xaixsd="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF.xsd"
    xmlns:schemans1="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
    xmlns:schemans2="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
    xmlns:ouaf="urn:oracle:ouaf"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <!-- wsdl:types encapsulates schema definitions of communication types;
    here using xsd -->
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
    <xsd:element name="Fault">
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="ResponseStatus" type="xsd:string"/>
    <xsd:element name="ResponseCode" type="xsd:int"/>
    <xsd:element name="ResponseText" type="xsd:string"/>
    <xsd:element name="ResponseData" minOccurs="0">
    <xsd:complexType>
    <xsd:attribute name="parm1" type="xsd:string"/>
    <xsd:attribute name="parm2" type="xsd:string"/>
    <xsd:attribute name="parm3" type="xsd:string"/>
    <xsd:attribute name="parm4" type="xsd:string"/>
    <xsd:attribute name="parm5" type="xsd:string"/>
    <xsd:attribute name="text" type="xsd:string"/>
    <xsd:attribute name="category" type="xsd:string"/>
    <xsd:attribute name="numParm" type="xsd:int"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
    <xsd:simpleType name="money">
    <xsd:restriction base="xsd:decimal"/>
    </xsd:simpleType>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ouaf="urn:oracle:ouaf" targetNamespace="http://oracle.com/ZZ_BIP_XAI_ZF.xsd" elementFormDefault="qualified">
    <xsd:import namespace="urn:oracle:ouaf"/>
    <xsd:element name="ZZ_BIP_XAI_ZF">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
    <xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
    <xsd:element name="crew" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="crewName" type="xsd:string"/>
    <xsd:element name="task" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="taskId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="taskName" type="xsd:string"/>
    <xsd:element name="status" type="xsd:string"/>
    <xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
    <xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    <!-- wsdl:message elements describe potential transactions -->
    <!-- request ZZ_BIP_XAI_ZFRequest is of type ZZ_BIP_XAI_ZF -->
    <wsdl:message name="ZZ_BIP_XAI_ZFRequest">
    <wsdl:part name="body" element="schemans1:ZZ_BIP_XAI_ZF"/>
    </wsdl:message>
    <!-- response ZZ_BIP_XAI_ZFResponse is of type ZZ_BIP_XAI_ZFResponse -->
    <wsdl:message name="ZZ_BIP_XAI_ZFResponse">
    <wsdl:part name="body" element="schemans2:ZZ_BIP_XAI_ZF"/>
    </wsdl:message>
    <!-- fault ZZ_BIP_XAI_ZFFault is of type ZZ_BIP_XAI_ZFFault -->
    <wsdl:message name="ZZ_BIP_XAI_ZFFault">
    <wsdl:part name="fault" element="ouaf:Fault"/>
    </wsdl:message>
    <!-- wsdl:portType describes messages in an operation -->
    <wsdl:portType name="ZZ_BIP_XAI_ZFPortType">
    <!-- the value of wsdl:operation eludes me -->
    <wsdl:operation name="ZZ_BIP_XAI_ZF">
    <wsdl:input message="xai:ZZ_BIP_XAI_ZFRequest"/>
    <wsdl:output message="xai:ZZ_BIP_XAI_ZFResponse"/>
    <wsdl:fault name="fault" message="xai:ZZ_BIP_XAI_ZFFault"/>
    </wsdl:operation>
    </wsdl:portType>
    <!-- wsdl:binding states a serialization protocol for this service -->
    <wsdl:binding name="ZZ_BIP_XAI_ZFSoapBinding"
    type="xai:ZZ_BIP_XAI_ZFPortType">
    <!-- leverage off soap:binding document style @@@(no wsdl:foo pointing at
    the soap binding) -->
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <!-- semi-opaque container of network transport details classed by
    soap:binding above @@@ -->
    <wsdl:operation name="ZZ_BIP_XAI_ZF">
    <!-- again bind to SOAP? @@@ -->
    <soap:operation soapAction="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    <!-- furthur specify that the messages in the wsdl:operation
    "ZZ_BIP_XAI_ZF" use SOAP? @@@ -->
    <wsdl:input>
    <soap:body use="literal"
              namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"
              namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:output>
    <wsdl:fault name="fault">
    <soap:fault name="fault" use="literal"
              namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <!-- wsdl:service names a new service "ZZ_BIP_XAI_ZFService" -->
    <wsdl:service name="ZZ_BIP_XAI_ZFService">
    <wsdl:documentation>ZZ_BIP_XAI_ZF version 3: Test XAI WS for BIP</wsdl:documentation>
    <!-- connect it to the binding "ZZ_BIP_XAI_ZFSoapBinding" above -->
    <wsdl:port name="ZZ_BIP_XAI_ZFPort"
    binding="xai:ZZ_BIP_XAI_ZFSoapBinding">
    <!-- give the binding an network address -->
    <soap:address location="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Edited by: bperezg on Aug 12, 2009 2:49 PM
    Edited by: bperezg on Aug 12, 2009 2:56 PM

  • B2B-50029:  B2B runtime error: oracle.xml.parser.v2.XMLParseException: Start of root element expected.

    Dear All,
    I am a beginner to Oracle B2B.
    I have created an agreement to Recieve 852, Product Activity data(POS) from one of the Trading partner. This is an inbound process.
    A  SOA composite application is created to Recieve the data and insert into perticular columns of the database table using database adapter.
    I have tested the Interface with some couple of file and it went perfect without any error. Now I have to test the interface with some other files.
    This time also I am not getting any error in Business Message, Wire message and Application message but the composite application is not picked.
    The log file shows : B2B-50029: B2B runtime error: oracle.xml.parser.v2.XMLParserException: Start of root element expected.
    Please let me know if anyone has faced this issue. it will be of great help.
    Thanks,
    Abhas Kushwaha

    Hello,
    Just a thought, When I had the similar problem, it appeared to be a BOM (Byte order mark - Wikipedia, the free encyclopedia) in the xml file, which is the very first character in the xml file, so the file was not identified to be a valid xml file. Removing the BOM from the xml file fixed my problem, however, I did not spend much time in fixing using B2B, the vendor  (sender of the file) fixed the file and started sending without BOM. So my work was easier.
    The character is not visible in all XML editors, however, it was visible in JDeveloper. I used a tool to identify and remove during testing until the vendor fixed the file, the tool is called file bom detector,http://www.bryntyounce.com/filebomdetector.htm
    Hope this helps,
    Thanks,
    Venkatesh

  • Oracle.xml.parser.v2.XMLParseException: Start of root element expected

    Hi,
    while trying to get a soapelement from xml file, i have the error : oracle.xml.parser.v2.XMLParseException: Start of root element expected
    the code i m using is as follow :
    public static SOAPMessage XMLDocToSOAP(String soapBodyAsString ) throws SAXException, IOException,
    SOAPException,
    ParserConfigurationException {
    SOAPMessage message = null;
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setNamespaceAware(true);
    InputStream is = new ByteArrayInputStream(soapBodyAsString.getBytes());
    Document doc = dbf.newDocumentBuilder().parse(is);
    MessageFactory factory = MessageFactory.newInstance();
    message = factory.createMessage();
    message.saveChanges();
    SOAPBodyElement element = message.getSOAPBody().addDocument(doc);
    return message;
    }

    Looks like the XML you are passing is not valid. Check that the XML complies the the definition.
    Also can you post a XML that works and the one that fails.
    cheers
    James

  • Load xml - xls with OWB error "ORA-20011:....Start of root element expected

    Hi
    I need to load XML document into a table in Oracle warehouse builder.
    I've followed the steps as given in the user guide and I get the following error,
    ORA-20011: Error occurred while loading source XML document into the target database object PURCHASE_ORDERS.
    Base exception: Start of root element expected.
    ORA-06512: at "DC_DWH.WB_XML_LOAD_F", line 12
    ORA-06512: at "DC_DWH.WB_XML_LOAD", line 4
    ORA-06512: at line 7
    The steps are:
    DECLARE
    CONTROL_INFO VARCHAR2(200);
    BEGIN
    CONTROL_INFO := '<OWBXMLRuntime> <XMLSource> <file>c:\xml_test\y.xml</file> </XMLSource> <targets> <target XSLFile="c:\xml_test\y.xsl" dateFormat="yyyy.MM.dd">PURCHASE_ORDERS</target> </targets></OWBXMLRuntime>';
    DC_DWH.Wb_Xml_Load ( CONTROL_INFO );
    COMMIT;
    END;
    where:
    ------------- y.xml ----------------
    <purchaseOrder>
    <id>103123-4</id>
    <orderDate>2000-10-20</orderDate>
    <shipTo country="US">
    <name>Alice Smith</name>
    <street>123 Maple Street</street>
    <city>Mill Valley</city>
    <state>CA</state>
    <zip>90952</zip>
    </shipTo>
    <comment>Hurry, my lawn is going wild!</comment>
    <items>
    <item>
    <partNum>872-AA</partNum>
    <productName>Lawnmower</productName>
    <quantity>1</quantity>
    <USPrice>148.95</USPrice>
    <comment>Confirm this is electric</comment>
    </item>
    <item>
    <partNum>845-ED</partNum>
    <productName>Baby Monitor</productName>
    <quantity>1</quantity>
    <USPrice>39.98</USPrice>
    <shipDate>1999-05-21</shipDate>
    </item>
    </items>
    </purchaseOrder>
    -----------------y.xsl -------------------
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2004/07/xpath-functions" xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes">
    <SHIPTO_NAME>
    <xsl:value-of select="purchaseOrder/shipTo/name"/>
    </SHIPTO_NAME>
    <SHIPTO_STREET>
    <xsl:value-of select="purchaseOrder/shipTo/street"/>
    </SHIPTO_STREET>
    <SHIPTO_CITY>
    <xsl:value-of select="purchaseOrder/shipTo/city"/>
    </SHIPTO_CITY>
    </xsl:stylesheet>
    Any help is appreciated

    Hello,
    The error occurs as far as your XSL file has incorrect structure. Your have to transform incoming XML in so-called (by Oracle) canonical form i.e.:
    <ROWSET>
    <ROW>
    <FIELD_1>value-for-field-1</FIELD_1>
    <FIELD_N>value-for-field-N</FIELD_N>
    </ROW>
    </ROWSET>
    So, assuming your table has three fields : SHIPTO_NAME, SHIPT_STREET, SHIPTO_CITY, - your XSL file should look like following:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:template match=”/”>
    <ROWSET>
    <xsl:apply-templates select=”purchaseOrder”/>
    </ROWSET>
    </xsl:template>
    <xsl:template match=”purchaseOrder”>
    <ROW>
    <SHIPTO_NAME><xsl:value-of select=”shipTo/name”/></SHIPTO_NAME>
    <SHIPTO_STREET><xsl:value-of select=”shipTo/street”/></SHIPTO_STREET>
    <SHIPTO_CITY><xsl:value-of select=”shipTo/city”/></SHIPTO_CITY>
    </ROW>
    </xsl:template>
    </xsl:stylesheet>
    Hope this will help.

  • ORA-20100: Error occurred while parsing:Error opening external DTD ( Asap)

    Hi I'm using domsample example. And I have written the program. The xml file at the starting has this string"<!DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd">", from which I'm getting error -"ORA-20100: Error occurred while parsing: Error opening external DTD".
    I'm new to xml could you please help me to solve this problem. I assume this is related to DTD for which I need to set base path. But I'm not sure how to do it? I'm getting this xml file through CLOB which I'm able to parse until an extent. where in between got this error.
    Here is my partial code:
    l_doc_id := rec_xml_data.id;
    l_xml_parser := xmlparser.newParser;
    xmlparser.setValidationMode(l_xml_parser, FALSE);
    xmlparser.parseCLOB(l_xml_parser,rec_xml_data.l_xml_data);--PARSING THE CLOB WHICH CONTAINS XML FILE
    l_xml_doc := xmlparser.getDocument(l_xml_parser);
    xmlparser.freeParser(l_xml_parser);
    l_nodelist := xmldom.getElementsByTagName(l_xml_doc, '*');
    l_length := xmldom.getLength(l_nodelist);
    -- loop through elements
    FOR l_rec_xml in 0..l_length-1
    LOOP
    l_node := xmldom.item(l_nodelist, l_rec_xml);
    -- dbms_output.put(xmldom.getNodeName(n) || ' ');
    -- get the text node associated with the element node
    l_nodename:=xmldom.getNodeName(l_node);
    l_node := xmldom.getFirstChild(l_node);
    IF (xmldom.isNull(l_node) = false) THEN
    IF xmldom.getNodeType(l_node) = xmldom.TEXT_NODE THEN
    IF l_nodename = 'purchase-order-number' THEN
    l_po_num:=NULL;
    l_po_num:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Purchaser Order Num : '||l_po_num);
    END IF;
    from here onwards I get the string values
    Now I don't know where to set the DTD basepath or baseurl. I need it asap.
    Regards,
    Naveen.

    The version which I'm working on is 10.2.0.4.
    XML File---
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd">
    <MobileInventoryResponse>
    <message>
    <message-header>
    <message-id>16244182</message-id>
    <transaction-name>ship-advice</transaction-name>
    <partner-name>cbeyond</partner-name>
    <source-url>http://www.brightpoint.com</source-url>
    <create-timestamp>20080826150709</create-timestamp>
    <response-request>1</response-request>
    </message-header>
    <ship-advice>
    <header>
    <customer-id>297859</customer-id>
    <shipment-information>
    <ship-first-name>RA_13Aug_1</ship-first-name>
    <ship-last-name>MIND</ship-last-name>
    <ship-address1>test</ship-address1>
    <ship-city>test</ship-city>
    <ship-state>VA</ship-state>
    <ship-post-code>22102-4931</ship-post-code>
    <ship-country-code>US</ship-country-code>
    <ship-phone1>0040726335068</ship-phone1>
    <ship-email>[email protected]</ship-email>
    <ship-via>FX01</ship-via>
    <ship-request-date>20080826</ship-request-date>
    <ship-request-warehouse>CBY1</ship-request-warehouse>
    </shipment-information>
    <purchase-order-information>
    <purchase-order-number>380928</purchase-order-number>
    <account-description />
    <purchase-order-amount>0.0</purchase-order-amount>
    <currency-code>USD</currency-code>
    </purchase-order-information>
    <order-header>
    <customer-order-number>0002759</customer-order-number>
    <customer-order-date>20080826</customer-order-date>
    <order-sub-total>19.0</order-sub-total>
    <order-discount>0.0</order-discount>
    <order-tax1>0.0</order-tax1>
    <order-tax2>0.0</order-tax2>
    <order-tax3>0.0</order-tax3>
    <order-shipment-charge>18.0</order-shipment-charge>
    <order-total-net>0.0</order-total-net>
    <order-status>Completed</order-status>
    <order-type />
    <brightpoint-order-number>35028788</brightpoint-order-number>
    <warehouse-id>CBY1</warehouse-id>
    <ship-date>20080826</ship-date>
    </order-header>
    </header>
    <detail>
    <line-item>
    <line-no>1</line-no>
    <item-code>SKU1</item-code>
    <universal-product-code>0</universal-product-code>
    <ship-quantity>1.0</ship-quantity>
    <unit-of-measure>EA</unit-of-measure>
    <serial-list>
    <serial-numbers>
    <esn>TIMI000013</esn>
    </serial-numbers>
    </serial-list>
    <line-status />
    <base-price>0.0</base-price>
    <line-discount>0.0</line-discount>
    <line-tax1>0.0</line-tax1>
    <line-tax2>0.0</line-tax2>
    <line-tax3>0.0</line-tax3>
    <bill-of-lading>929406733828</bill-of-lading>
    <scac>FX01</scac>
    </line-item>
    </detail>
    </ship-advice>
    <transactionInfo>
    <eventID>16244182</eventID>
    </transactionInfo>
    </message>
    </MobileInventoryResponse>
    XML FILE END--------------------
    MY PROGRAM IS AS BELOW---
    get_eai_data_prc( x_ret_code OUT NUMBER
    ,p_debug_flag IN VARCHAR2
    IS
    --Local Variables
    l_xml_parser xmlparser.Parser;
    l_xml_doc xmldom.DOMDocument;
    l_xml_data CLOB;
    l_nodelist xmldom.DOMNodeList;
    l_length NUMBER := 0;
    l_num_cnt NUMBER := 0;
    l_node xmldom.DOMNode;
    l_docelem DBMS_XMLDOM.DOMElement; -- XML DOM element.
    l_nodeValue VARCHAR2(30); -- Text value of the node.
    l_nodename VARCHAR2(100);
    l_po_num VARCHAR2(150);
    l_account_desc VARCHAR2(150);
    l_cust_ord VARCHAR2(150);
    l_ship_date VARCHAR2(150);
    l_item_code VARCHAR2(150);
    l_ship_qty VARCHAR2(150);
    l_esn VARCHAR2(150);
    l_cust_channel_type VARCHAR2(150);
    l_cust_grp_acct VARCHAR2(150);
    l_max_doc_id NUMBER;
    l_doc_id NUMBER;
    l_market_id VARCHAR2(150);
    l_record_id VARCHAR2(30);
    TYPE l_esn_table IS TABLE OF VARCHAR2(30)
    INDEX BY BINARY_INTEGER;
    l_data l_esn_table;
    --CURSOR TO GET XML DATA FROM EAI
    CURSOR cur_xml_data(p_doc_id VARCHAR2)
    IS
    SELECT id
         ,document l_xml_data
    FROM tds_xml_store_temp
    WHERE id >= id ;
    BEGIN
    FOR rec_xml_data IN cur_xml_data(l_max_doc_id)
    LOOP
    l_doc_id := rec_xml_data.id;
    l_xml_parser := xmlparser.newParser;
    xmlparser.setValidationMode(l_xml_parser, FALSE);
    xmlparser.parseCLOB(l_xml_parser,rec_xml_data.l_xml_data);
    l_xml_doc := xmlparser.getDocument(l_xml_parser);
    xmlparser.freeParser(l_xml_parser);
    l_nodelist := xmldom.getElementsByTagName(l_xml_doc, '*');
    l_length := xmldom.getLength(l_nodelist);
    -- loop through elements
    FOR l_rec_xml in 0..l_length-1
    LOOP
    l_node := xmldom.item(l_nodelist, l_rec_xml);
    -- dbms_output.put(xmldom.getNodeName(n));
    -- get the text node associated with the element node
    l_nodename:=xmldom.getNodeName(l_node);
    l_node := xmldom.getFirstChild(l_node);
    IF (xmldom.isNull(l_node) = false) THEN
    IF xmldom.getNodeType(l_node) = xmldom.TEXT_NODE THEN
    IF l_nodename = 'purchase-order-number' THEN
    l_po_num:=NULL;
    l_po_num:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Purchaser Order Num : '||l_po_num);
    END IF;--purchase-order-number
    IF l_nodename = 'account-description' THEN
    l_account_desc :=NULL;
    l_account_desc := xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'customer-channel-type' THEN
    l_cust_channel_type:=NULL;
    l_cust_channel_type:= xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'customer-group-account' THEN
    l_cust_grp_acct := NULL;
    l_cust_grp_acct := xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'customer-order-number' THEN
    l_cust_ord:=NULL;
    l_cust_ord:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Customer Order NUm : '||l_cust_ord);
    END IF;--customer-order-number
    IF l_nodename = 'ship-date' THEN
    l_ship_date:=NULL;
    l_ship_date:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Ship Date : '||to_date(l_ship_date,'YYYY-mm-dd'));
    END IF;--ship-date
    IF l_nodename = 'item-code' THEN
    l_item_code:=NULL;
    l_item_code:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Item Code : '||l_item_code);
    END IF;--item-code
    IF l_nodename = 'esn' THEN
    l_esn:=NULL;
    l_num_cnt := l_num_cnt + 1;
    l_esn:=xmldom.getNodeValue(l_node);
    l_data(l_num_cnt) := l_esn;
    -- dbms_output.put_line('Serial Num : '||l_esn);
    END IF;--esn
    IF l_nodename = 'market-id' THEN
    l_market_id := NULL;
    l_market_id := xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'ship-quantity' THEN
    l_ship_qty:=NULL;
    l_ship_qty:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Ship Quantity : '||l_ship_qty);
    END IF;--ship-quantity
    END IF;--xmldom.TEXT_NODE
    END IF;
    END LOOP;--l_rec_xml
    FOR j in l_data.first..l_data.last
    LOOP
    INSERT INTO cbey_shipment_int_stg( purchase_order_number
    ,account_description
    ,customer_order_number
    ,ship_date
    ,item_code
    ,ship_quantity
    ,esn
    ,customer_channel_type
    ,customer_group_account
    ,market_id
    ,eai_xml_doc_id
    ,record_status
    ,record_id
    VALUES
    ( l_po_num
    ,l_account_desc
    ,l_cust_ord
    ,to_date(l_ship_date,'YYYY-mm-dd')
    ,l_item_code
    ,l_ship_qty
    ,l_data(j)
    ,l_cust_channel_type
    ,l_cust_grp_acct
    ,l_market_id
    ,l_max_doc_id
    ,'NEW'
    ,CBEY_RECORD_ID_SEQ_S.nextval
    END LOOP;--j
    UPDATE cbey_interface_run_log
    SET request_id = l_conc_req_id
    ,lastrun_date = SYSDATE
    ,doc_id = rec_xml_data.id
    WHERE program_id = 'SHIPMENT_INT'
    AND doc_id =l_max_doc_id;
    l_data.delete;
    l_num_cnt :=0;
    END LOOP; --rec_xml_data
    COMMIT;
    END of the Procedure--------------------------
    Now if I load the xml file without the this :- <!DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd">
    it works well. But it gives error when this particular thing is there.
    Regards,
    Naveen
    Edited by: MAN on Oct 17, 2008 7:28 AM

  • Encountering XML-20108: (Fatal Error) Start of root element expected

    Hi,
    We are trying to invoke a XML Publisher report from a custom OAF page using API's. However, it is erroring out with the following error message (in xdo.log)
    [021710_121811671][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
    <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
    [021710_121811672][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [021710_121811672][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [021710_121811673][][EXCEPTION] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
    at lxe.oracle.apps.ibu.returnmgmt.server.RmaCreateReturnAMImpl.xxPrintShipLabel(RmaCreateReturnAMImpl.java:1046)
    at lxe.oracle.apps.ibu.returnmgmt.webui.OrderConfirmCo.processFormRequest(OrderConfirmCo.java:167)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
    at jtfcrmchrome.jspService(_jtfcrmchrome.java:1191)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.
    at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
    at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:343)
    at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)
    at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
    ... 56 more
    The XML is generated from the code and is as below:
    <ShippingLabelVO>
    <ShippingLabelVORow>
    <RowKey>1</RowKey>
    <ShipSentToAddr>XXX Repair Center 125 Technology Parkway Austin, TX</ShipSentToAddr>
    <SerialNum>BC104</SerialNum>
    <OrderNum>8000324</OrderNum>
    <ItemNum>MX7AM-170540</ItemNum>
    </ShippingLabelVORow>
    </ShippingLabelVO>
    I can successfully create the PDF from the desktop using the above XML. When I add the XML file to sample XML (in data definition), I can see the output when I choose Preview.
    But, this is not working from the code.
    Any pointers?
    Thanks,
    Ashish

    Hi,
    We are currently on R12.XDO.B.1 (5.6.3?) Is there a patch we'll need to apply on top of this?
    Is there a workaround for this?
    Thanks,
    Ashish

  • Error Error oracle.iam.platform.context.ContextManager BEA-000000 IAM-0030007 org.xml.sax.SAXParseException: Line 1, Column 1 : XML-20108: (Fatal Error) Start of root element expected. error in oim logs

    Hi ,
    I am getting the below error at times in oim logs not able to find the reason please help.
    <Error> <oracle.iam.platform.context.ContextManager> <BEA-000000> <IAM-0030007
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
        at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
        at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:414)
        at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:355)
        at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/bindToInstance encounter some problems: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
    oracle.iam.platform.utils.ServiceInitializationException: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at oracle.iam.platform.Platform.getService(Platform.java:265)
        at oracle.iam.platform.OIMInternalClient.getService(OIMInternalClient.java:188)
        at com.thortech.xl.dataaccess.tcDataBaseClient.bindToInstance(tcDataBaseClient.java:151)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.recoverConnection(tcDataBaseClient.java:401)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.getInterface(tcDataBaseClient.java:385)
        at com.thortech.xl.dataaccess.tcDataBaseClient.close(tcDataBaseClient.java:349)
        at com.thortech.xl.server.tcDataBaseClient.close(tcDataBaseClient.java:62)
        at com.thortech.xl.server.tcDataBaseClient.finalize(tcDataBaseClient.java:43
    Caused By: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at com.sun.naming.internal.VersionHelper12.loadClass(Ve
    <Class/Method: tcDataBaseClient/getInterface encounter some problems: RuntimeException encountered. Reconnecting!
    java.lang.NullPointerException
        at oracle.iam.platform.context.ContextManager.getCounter(ContextManager.java:697)
        at oracle.iam.platform.context.ContextManager.incrementCounter(ContextManager.java:684)
    <Error> <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/close encounter some problems: Bean has been deleted.
    javax.ejb.NoSuchEJBException: Bean has been deleted.
    Thanks,
    Sahana

    hi Antara
    about "... Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server ..."
    If you have used the SAXParserFactory.newSAXParser() method to get a parser, the documentation for this method says "Creates a new instance of a SAXParser using the currently configured factory parameters.".
    So you might get a different parser in a different environment.
    regards
    Jan Vervecken

  • Oracle.xdo.parser.v2.XMLParseException: Start of root element expected

    Preview the offer letter using the "XML Publisher Administrator" responsibility. Follow the below steps to p
    review.
    i. "XML Publisher Administrator" responsibility.
    ii. Navigate to "Templates" and search for seeded template used for offer letter generation.
    iii. Click on the template name and preview the offer letter.
    The following error stack is thrown.
    Recently we patched our system to ATG H RUP5 which upgraded the xml publisher version to 5.6.3 and also applied IRC.E.RUP2 and HRMS K RUP 2.
    oracle.apps.fnd.framework.OAException: oracle.apps.xdo.XDOException
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:975)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.per.irc.offers.webui.IrcSaveForLaterCO.processFormRequest(IrcSaveForLaterCO.java:238)
         at oracle.apps.per.irc.offers.webui.OfferReviewCO.processFormRequest(OfferReviewCO.java:145)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:558)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:228)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3593)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.generateOfferLetter(OffersAMImpl.java:1013)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.submitOffer(OffersAMImpl.java:892)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.per.irc.offers.webui.IrcSaveForLaterCO.processFormRequest(IrcSaveForLaterCO.java:238)
         at oracle.apps.per.irc.offers.webui.OfferReviewCO.processFormRequest(OfferReviewCO.java:145)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:782)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:564)
         ... 53 more
    Please advise whats causing this error.
    Message was edited by:
    user622603
    Message was edited by:
    user622603

    Hello,
    I am also facing the same error. Flow is
    1. I create XML file using View object. XML file looks like
    <?xml version="1.0" encoding="UTF-8"?>
    <EmpVO>
    <EmpVORow>
    <EmployeeId>100</EmployeeId>
    <FirstName>Steven</FirstName>
    <LastName>King</LastName>
    <Email>SKING</Email>
    <PhoneNumber>515.123.4567</PhoneNumber>
    <HireDate>1987-06-17</HireDate>
    <JobId>AD_PRES</JobId>
    <Salary>24000</Salary>
    <DepartmentId>90</DepartmentId>
    </EmpVORow>
    </EmpVO>
    2. I have the following code to generate PDF report using XML Publisher:
    InputStream in = getXMLFile();
    FOProcessor processor = new FOProcessor();
    processor.setData(in);
    RTFProcessor rtfPro = new RTFProcessor("c:\\TemplateBuilder.rtf");
    rtfPro.setOutput("C:\\Dir D\\BIPub\\BiPub\\emp.xsl");
    rtfPro.process();
    processor.setTemplate("C:\\Dir D\\BIPub\\BiPub\\emp.xsl");
    processor.setOutput("C:\\Dir D\\BIPub\\BiPub\\emp.pdf");
    processor.setOutputFormat(FOProcessor.FORMAT_PDF);
    processor.generate();
    3.If I set processor.setData("c:\\emp.xml") then it works fine. but if I set like processor.setData(InputStream) I get the following error :
    [071309_110935627][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
    <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
    Thanks you in advance.

  • BPEL 10.1.3.5: WSIFOperation returns error "Start of root element expected"

    We have a customer reporting that one of the integration flow from EBS to OTM errors out with the above error. The flow works most of the time fine. But in some cases it errors out, with the error , however, there is no log in ithe OTM , for this , only the oc4j log has the following.
    It is not clear, if the BPEL errored out on the bad response from the OTM server or the BPEL failed to invoke the OTM servlet. How to determine the what is causing the issue?
    <2010-11-02 09:52:24,863> <DEBUG> <EbsCRP3domain.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: [email protected] : Could not invoke 'process'; nested exception is:
         oracle.xml.parser.v2.XMLParseException: Start of root element expected.
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.executeRequestResponseOperation(WSIFOperation_HTTP.java:501)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:480)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:529)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:266)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:828)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:411)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:200)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:4174)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1680)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com
    The OTM integration thread http://myforums.oracle.com/jive3/thread.jspa?messageID=5042541 has the complete log file from oc4j
    Also the customer bug: 10247951
    Edited by: user519303 on Nov 4, 2010 8:04 PM

    The content has the delivery informatiuon for the orders. The content differs for the errored ones, in the sense that it is for different delivery. The namespace etc are the same. There are about hundred GLogXMLElement in the payload.
    <Transmission xmlns:ns1="http://xmlns.oracle.com/apps/otm" xmlns="http://xmlns.oracle.com/apps/otm">
    <ns1:TransmissionHeader>
    <ns1:UserName>STI.ADMIN</ns1:UserName>
    <ns1:Password>CHANGEME</ns1:Password>
    </ns1:TransmissionHeader>
    <ns1:TransmissionBody>
    <ns1:GLogXMLElement>
    <ns1:TransactionCode>IU</ns1:TransactionCode>
    <ns1:LocationGid>
    <ns1:Gid>
    <ns1:DomainName>STI</ns1:DomainName>
    <ns1:Xid>CUS-11726</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationGid>
    <ns1:LocationName>Starbucks Fresh - Dallas</ns1:LocationName>
    <ns1:Address>
    <ns1:CountryCode3Gid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>USA</ns1:Xid>
    </ns1:Gid>
    </ns1:CountryCode3Gid>
    </ns1:Address>
    <ns1:LocationRefnum>
    <ns1:LocationRefnumQualifierGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>ORIGIN</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRefnumQualifierGid>
    <ns1:LocationRefnumValue>CUSTOMER</ns1:LocationRefnumValue>
    </ns1:LocationRefnum>
    <ns1:LocationRefnum>
    <ns1:LocationRefnumQualifierGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>CUSID</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRefnumQualifierGid>
    <ns1:LocationRefnumValue>S58551</ns1:LocationRefnumValue>
    </ns1:LocationRefnum>
    <ns1:LocationRefnum>
    <ns1:LocationRefnumQualifierGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>CUSNM</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRefnumQualifierGid>
    <ns1:LocationRefnumValue>Starbucks Fresh - Dallas</ns1:LocationRefnumValue>
    </ns1:LocationRefnum>
    <ns1:LocationRole>
    <ns1:LocationRoleGid>
    <ns1:Gid>
    <ns1:DomainName>PUBLIC</ns1:DomainName>
    <ns1:Xid>CUSTOMER</ns1:Xid>
    </ns1:Gid>
    </ns1:LocationRoleGid>
    </ns1:LocationRole>
    <ns1:Corporation>
    <ns1:CorporationName>Starbucks Fresh - Dallas</ns1:CorporationName>
    </ns1:Corporation>
    </ns1:Location>
    </ns1:GLogXMLElement>
    </ns1:TransmissionBody>
    </Transmission>

  • ORA-20100: Error occurred while parsing (from xml in custom schema)

    Hi,
    I am using xmlParser and xmlDom to extract information from xml document. My whole process works perfectly in the APPS schema on the Oracle e-Business Suite. The minute I move it to a custom schema (ie new User) I get this error.
    ORA-20100: Error occurred while parsing: Element '' used but not declared.
    This only occures at runtime. I am pretty sure I grant the correct SELECT and EXECUTE privileges to this Schema. If I hadn't then it would not compile. It compiles without errors on the Database.
    Any help will be appreciated.
    Thanks in advance.
    Regards
    Dave

    I just tried this again. I have Oracle9i 9.0.1.1 on my Windows
    2000 laptop.
    I went to OTN and downloaded the XDK 9.0.2D for PL/SQL
    I used loadjava to load the \oracle\ora90\rdbms\jlib\xdb_g.jar
    file into the database (shouldn't have had to do this) into the
    XMLBOOK account. Filed a bug for needing to do this by hand.
    I ran "xdkload.bat" with xmlbook/xmlbook as the username/password
    I made sure the proxy server name was set correctly in the
    example (if you don't need a proxy server, comment out that line
    in the parse_xml_news.sql example, or that could cause your
    error!!)
    I ran the parse_xml_news.sql script, and I get:
    Top Stories on XML from Moreover.com on December 21st, 2001
    ( 1) CEO highlights Mercator Softwares single biggest opportunity
    ( 2) WWRE Chooses webMethods
    ( 3) WebMethods, retail exchange ink deal
    ( 4) Worldwide Retail Exchange Chooses webMethods
    ( 5) Worldwide Retail Exchange Chooses webMethods
    ( 6) WorldWide Retail Exchange choses webMethods for integration
    ( 7) XML: Wherever You Go, There You Are
    ( 8) Chap. 13: Metadata
    ( 9) Enterprise Adoption of XML Made Simple
    (10) XML Databases
    (11) Using CSS2 to display XML documents
    (12) How XML could bring an end to all of your troubles
    (13) Effort Launched To Bring Classic Macs Rich Metadata To Mac
    (14) Sneak attack on Pearl Harbor roused publics anger, resolve
    (15) Drug dogs whiff worth $230,000
    (16) PORTLAND Police target
    (17) 11-year-old cant seem to get out of jury duty
    (18) Another casualty of war: Proposed waterfront museum
    (19) webMethods Establishes Sales Operations in Brussels
    (20) Using Emacs for XML documents
    (21) Gates: XML could be everything we dreamed...
    (22) XML: The end of all your troubles?
    (23) Java XML
    (24) Tool To Compare XML Files
    (25) Fairfax County Sends webMethods to School
    (26) webMethods Embraces Web Services
    (27) WebMethods Supports Web Services
    (28) Accessing metadata through Reflection
    (29) When format is foremost
    (30) Views from Abroad: XML Pipelines and Delta XML

  • An error occurred while parsing DA Hierarchy : Document is invalid: no gram

    When logging in to Portal Administration, I am seeing the following error. Please help me resolve this problem. Many thanks.
    An exception has been thrown while trying to render this page.
    Exception Message:
    An error occurred while parsing DA Hierarchy : Document is invalid: no grammar found.
    ---Begin Stack Trace---
    com.bea.p13n.delegation.common.DelegationSystemException: An error occurred while parsing DA Hierarchy : Document is invalid: no grammar found. at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.parseData(DelegationHierarchyAbstractPersistenceManager.java:209) at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.get(DelegationHierarchyAbstractPersistenceManager.java:189) at com.bea.p13n.delegation.management.internal.DelegationHierarchyDelegate.getHierarchyRoot(DelegationHierarchyDelegate.java:123) at com.bea.p13n.delegation.management.DelegationRoleManager.getHierarchyRoot(DelegationRoleManager.java:63) at com.bea.jsptools.delegation.Pruner.isRootDARole(Pruner.java:145) at com.bea.jsptools.delegation.PortalNodePruner.isEnabled(PortalNodePruner.java:96) at com.bea.treeutils.PrunableTreeNode.checkEnabled(PrunableTreeNode.java:161) at com.bea.jsptools.portal.PortalHierarchyServlet.generateLibraryNodes(PortalHierarchyServlet.java:856) at com.bea.jsptools.portal.PortalHierarchyServlet.generateTopLevelNodes(PortalHierarchyServlet.java:231) at com.bea.jsptools.portal.PortalHierarchyServlet.generateTree(PortalHierarchyServlet.java:104) at jsp_servlet._portaltools.__portalmgmttree._jspService(__portalmgmttree.java:5784) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:644) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:533) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:495) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout_two_column._jspService(__gridlayout_two_column.java:423) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout._jspService(__gridlayout.java:193) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout_outermost._jspService(__gridlayout_outermost.java:285) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:204) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:153) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:333) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:196) at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:772) at com.bea.netuix.servlets.manager.PortalServlet.doGet(PortalServlet.java:671) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:147) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.servlet.PortalSystemAdministratorFilter.doFilter(PortalSystemAdministratorFilter.java:83) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by: org.xml.sax.SAXParseException: Document is invalid: no grammar found. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at com.bea.p13n.delegation.management.internal.DelegationHierarchyParser.getDelegationHierarchy(DelegationHierarchyParser.java:102) at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.parseData(DelegationHierarchyAbstractPersistenceManager.java:206) ... 129 more
    ---End Stack Trace---

    I have the same problem with Weblogic 8.1 SP5 running on Itanium (the same appl. running on Xeon runs OK).

  • Error installing Azure SDK 2.2: An error occurred while parsing Entityname. Line 1031, position 71.

    I am setting up a new machine for windows azure development. I have VS 2013 Ultimate with Team Explorer on Windows 7 Enterprise.  When I launch the Web Installer for Azure SDK 2.2 I receive a dialog almost immediately with the message: 
    An error occurred while parsing EntityName. Line 1031, position 71.
    I ran the same installer on another machine with similar configuration of VS2013 and Win 7, and it doesn't display this dialog.
    Any help/guidance is appreciated.

    Hi,
    Based on your description, you install Azure SDK successful in a similar configuration machine, but it give "An error occurred while parsing EntityName. Line 1031, position 71" error in your target machine, from my research, this may be Microsoft
    server-side error, refer to
    http://stackoverflow.com/questions/14964634/wpi-4-5-error-after-upgrading fro more details. I would suggest you reinstall, if any further issue, please feel free to let e know.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for