SOAPFaultException: error in msg parsing: xml was empty, didn't parse!

Using the web service example from http://www.oracle-base.com/articles/10g/utl_dbws-10g.php. Can anyone tell me why I can't call this web service twice within the same database session? The first call seems to work for each session, but the second generates an error.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE     11.2.0.3.0     Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL> CREATE OR REPLACE FUNCTION add_numbers(p_int_1 IN NUMBER,
  2                                         p_int_2 IN NUMBER) RETURN NUMBER AS
  3    l_service sys.utl_dbws.service;
  4    l_call    sys.utl_dbws.call;
  5 
  6    l_wsdl_url        VARCHAR2(32767);
  7    l_namespace       VARCHAR2(32767);
  8    l_service_qname   sys.utl_dbws.qname;
  9    l_port_qname      sys.utl_dbws.qname;
10    l_operation_qname sys.utl_dbws.qname;
11 
12    l_xmltype_in  sys.xmltype;
13    l_xmltype_out sys.xmltype;
14    l_return      NUMBER;
15  BEGIN
16    l_wsdl_url  := 'http://www.oracle-base.com/webservices/server.php?wsdl';
17    l_namespace := 'http://www.oracle-base.com/webservices/';
18 
19    l_service_qname   := sys.utl_dbws.to_qname(l_namespace,
20                                               'Calculator');
21    l_port_qname      := sys.utl_dbws.to_qname(l_namespace,
22                                               'CalculatorPort');
23    l_operation_qname := sys.utl_dbws.to_qname(l_namespace,
24                                               'ws_add');
25 
26    l_service := sys.utl_dbws.create_service(wsdl_document_location => urifactory.geturi(l_wsdl_url),
27                                             service_name           => l_service_qname);
28 
29    l_call := sys.utl_dbws.create_call(service_handle => l_service,
30                                       port_name      => l_port_qname,
31                                       operation_name => l_operation_qname);
32 
33    l_xmltype_in  := sys.xmltype('<?xml version="1.0" encoding="utf-8"?>
34      <ws_add xmlns="' || l_namespace || '">
35        <int1>' || p_int_1 || '</int1>
36        <int2>' || p_int_2 || '</int2>
37      </ws_add>');
38    l_xmltype_out := sys.utl_dbws.invoke(call_handle => l_call,
39                                         request     => l_xmltype_in);
40 
41    sys.utl_dbws.release_call(call_handle => l_call);
42    sys.utl_dbws.release_service(service_handle => l_service);
43 
44    l_return := l_xmltype_out.extract('//return/text()').getnumberval();
45    RETURN l_return;
46  END;
47  /
Function created
SQL> BEGIN
  2    dbms_output.put_line(add_numbers(1,
  3                                     4));
  4    dbms_output.put_line('first call succeeded');
  5    dbms_output.put_line(add_numbers(1,
  6                                     9));
  7    dbms_output.put_line('second call succeeded');
  8  END;
  9  /
5
first call succeeded
BEGIN
  dbms_output.put_line(add_numbers(1,
                                   4));
  dbms_output.put_line('first call succeeded');
  dbms_output.put_line(add_numbers(1,
                                   9));
  dbms_output.put_line('second call succeeded');
END;
ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: error in msg parsing:
xml was empty, didn't parse!
ORA-06512: at "SYS.UTL_DBWS", line 404
ORA-06512: at "SYS.UTL_DBWS", line 401
ORA-06512: at "GLYODER.ADD_NUMBERS", line 38
ORA-06512: at line 6

hi Gyoder      
Do you resolve this problem?
Thanks

Similar Messages

  • BusinessService error in msg parsing: xml was empty, didn't parse!

    Hi
    I'm trying to consuming a WebService implemented in PHP, the WS its internal
    http://192.168.2.15:81/project/service/ws.wsdl
    I created a BusinessService from that WSDL, but when i test the businessService through the sbconsole i get this
    <SOAP-ENV:Envelope      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode      xsi:type="xsd:string">SOAP-ENV:Client</faultcode>
    <faultactor      xsi:type="xsd:string"/>
    <faultstring      xsi:type="xsd:string">
    error in msg parsing:
    xml was empty, didn't parse!
    </faultstring>
    <detail      xsi:type="xsd:string"/>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers      xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:user-header      name="X-Powered-By" value="PHP/5.2.1"/>
    <tran:user-header      name="X-SOAP-Server" value="NuSOAP/0.9.5 (1.123)"/>
    <http:Connection>close</http:Connection>
    <http:Content-Length>689</http:Content-Length>
    <http:Content-Type>text/xml; charset=ISO-8859-1</http:Content-Type>
    <http:Date>Wed, 15 Aug 2012 14:55:28 GMT</http:Date>
    <http:Server>Apache/2.2.4 (Win32)</http:Server>
    </tran:headers>
    <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">2</tran:response-code>
    <tran:response-message      xmlns:tran="http://www.bea.com/wli/sb/transports">Internal Server Error</tran:response-message>
    <tran:encoding      xmlns:tran="http://www.bea.com/wli/sb/transports">ISO-8859-1</tran:encoding>
    <http:http-response-code      xmlns:http="http://www.bea.com/wli/sb/transports/http">500</http:http-response-code>
    </con:metadata>
    -- Added
    I forgot to say that the WS works well when i tested with SoapUI
    Any help would be apreciated.
    Thanks
    Edited by: user4159641 on 15-ago-2012 8:00

    Using the new URL i am able to createBusiness Service, i have pasted the content of the wsdl generated.
    wsSitidataEstandar.php.wsdl
    <definitions targetNamespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <xsd:schema targetNamespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
    <xsd:complexType name="arrayData">
    <xsd:complexContent>
    <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]" xmlns:wsdl1="http://schemas.xmlsoap.org/wsdl/"/>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="headerArray">
    <xsd:all>
    <xsd:element name="key" type="xsd:string"/>
    <xsd:element name="addressOrCoordinate" type="xsd:string"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="arrayOfString">
    <xsd:complexContent>
    <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:headerArray[]" xmlns:wsdl1="http://schemas.xmlsoap.org/wsdl/"/>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="sequence">
    <xsd:all>
    <xsd:element name="key" type="xsd:string"/>
    <xsd:element name="sequence" type="xsd:string"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="arrayOfSequence">
    <xsd:complexContent>
    <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:sequence[]" xmlns:wsdl1="http://schemas.xmlsoap.org/wsdl/"/>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="itinerary">
    <xsd:all>
    <xsd:element name="text" type="xsd:string"/>
    <xsd:element name="cx" type="xsd:string"/>
    <xsd:element name="cy" type="xsd:string"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="arrayOfItinerary">
    <xsd:complexContent>
    <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:itinerary[]" xmlns:wsdl1="http://schemas.xmlsoap.org/wsdl/"/>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="invalid">
    <xsd:all>
    <xsd:element name="key" type="xsd:string"/>
    <xsd:element name="address" type="xsd:string"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="arrayOfInvalid">
    <xsd:complexContent>
    <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:invalid[]" xmlns:wsdl1="http://schemas.xmlsoap.org/wsdl/"/>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="arrayresult">
    <xsd:all>
    <xsd:element name="sequence" type="tns:arrayOfSequence"/>
    <xsd:element name="itinerary" type="tns:arrayOfItinerary"/>
    <xsd:element name="invalid" type="tns:arrayOfInvalid"/>
    <xsd:element name="message" type="xsd:string"/>
    <xsd:element name="totalTime" type="xsd:string"/>
    <xsd:element name="totalDistanceCalculated" type="xsd:string"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="arrayresult2">
    <xsd:all>
    <xsd:element name="geo" type="tns:arrayData"/>
    <xsd:element name="message" type="xsd:string"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="enriquecerRequest">
    <part name="direccion" type="xsd:string"/>
    <part name="ciudad" type="xsd:string"/>
    <part name="barrio" type="xsd:string"/>
    <part name="usuario" type="xsd:string"/>
    <part name="clave" type="xsd:string"/></message>
    <message name="enriquecerResponse">
    <part name="return" type="tns:arrayresult2"/></message>
    <message name="enriquecerAsistidoRequest">
    <part name="direccion" type="xsd:string"/>
    <part name="ciudad" type="xsd:string"/>
    <part name="barrio" type="xsd:string"/>
    <part name="usuario" type="xsd:string"/>
    <part name="clave" type="xsd:string"/></message>
    <message name="enriquecerAsistidoResponse">
    <part name="return" type="tns:arrayresult2"/></message>
    <message name="enriquecerXmlLotesRequest">
    <part name="xmlEnvio" type="xsd:string"/>
    <part name="usuario" type="xsd:string"/>
    <part name="clave" type="xsd:string"/></message>
    <message name="enriquecerXmlLotesResponse">
    <part name="return" type="xsd:string"/></message>
    <portType name="wsSitidataEstandarPortType">
    <operation name="enriquecer">
    <input message="tns:enriquecerRequest"/>
    <output message="tns:enriquecerResponse"/>
    </operation>
    <operation name="enriquecerAsistido">
    <input message="tns:enriquecerAsistidoRequest"/>
    <output message="tns:enriquecerAsistidoResponse"/>
    </operation>
    <operation name="enriquecerXmlLotes">
    <input message="tns:enriquecerXmlLotesRequest"/>
    <output message="tns:enriquecerXmlLotesResponse"/>
    </operation>
    </portType>
    <binding name="wsSitidataEstandarBinding" type="tns:wsSitidataEstandarPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="enriquecer">
    <soap:operation soapAction="http://www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php/enriquecer" style="rpc"/>
    <input><soap:body use="encoded" namespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
    </operation>
    <operation name="enriquecerAsistido">
    <soap:operation soapAction="http://www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php/enriquecerAsistido" style="rpc"/>
    <input><soap:body use="encoded" namespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
    </operation>
    <operation name="enriquecerXmlLotes">
    <soap:operation soapAction="http://www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php/enriquecerXmlLotes" style="rpc"/>
    <input><soap:body use="encoded" namespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
    </operation>
    </binding>
    <service name="wsSitidataEstandar">
    <port name="wsSitidataEstandarPort" binding="tns:wsSitidataEstandarBinding">
    <soap:address location="http://www.sitimapa.com/webservice/sitidata/wsSitidataEstandar.php"/>
    </port>
    </service>
    </definitions>

  • I am getting the Error as "Returned Content XMl is Empty" in SAP Jco Config

    Hi,
    I am facing the problem in SAP Jco Config in SAP_JCo_Interface Action,
    while searching the BAPI (I am Using search Pattern as BAPI*) I am getting the error like following
    "Returned Content XMl is Empty".
    this URL refer the same problem ... Re: Reg : JCOProxy error:null
    But I am able to connect the SAP R/3 system successfully .. because  from the Existing Transaction the BAPI is called successfully.
    Regards,
    Dhanabal T
    Edited by: Dhanabal Thangavel on Jan 15, 2009 8:30 AM
    Edited by: Dhanabal Thangavel on Jan 15, 2009 8:37 AM

    Hi,
    Are you deploying Office 365 with the latest Office Deployment Tool? Try to download the latest version of ODT from below link, then try again:
    http://www.microsoft.com/en-us/download/details.aspx?id=36778
    A similar issue was resolved here, you might want to have a look:
    http://social.technet.microsoft.com/Forums/en-US/eeb7b577-7868-487a-851d-a6d8c1c6bbda/office-c2r-installation-error-17002?forum=officeitpro
    BTW, Microsoft Office 365 Community > Forums > Deploy Office 365
    is a better source for this kind of problem and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Ned help on JSP parsing XML

    Hi all.
    Im having problems on how to parse an xml by JSP
    Can anyone teach me how to parse an the XML below by jsp, without using taglibs. Im using JDOM...
    <Customer>
               <DetailsCustomer ID = 1>
               <Name>
                      John
               </Name>
               <DetailsCustomer ID = 2>
               <Name>
                     Michael
               </Name>
    <Customer>Thankz :)
    Hope for a kind reply :)

    Hi,
    Why would you like to parse the XML inside a JSP page? JSP are for rendering and not for parsing XML. The code to parse the XML should be put in an ordinary Java class instead.
    Parsing XML can be done in a number of ways...it all depends on what you want to do with the XML. Are you looking for XML -> Java Object then maybe you should look at XStream or JAXB.
    If you can tell me a little more about your use case maybe I can help you a little bit more.
    /klejs

  • Error parsing XML license file

    i need assistance while installing WebLogic 5.1 Evaluation version on my NT Server and i also registered and downloaded the key for that but still my server is not functioning as it gives me a license file error in java.....
    The error is as follows....
    *****Start********
    weblogic.common.LicenseCorruptException: Error parsing XML license file. [java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java, Compiled Code)
    at java.lang.Exception.<init>(Exception.java, Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java, Compiled Code)
    at java.util.EmptyStackException.<init>(EmptyStackException.java, Compiled Code)
    at java.util.Stack.peek(Stack.java, Compiled Code)
    at weblogic.xml.license.Handler.characters(Handler.java:63)
    at weblogic.xml.license.BaseParser.sendCharacters(BaseParser.java:120)
    at weblogic.xml.license.BaseParser.eatComment(BaseParser.java, Compiled Code)
    at weblogic.xml.license.WEBLOGICLICENSESParser.parse(WEBLOGICLICENSESParser.java, Compiled Code)
    at weblogic.xml.license.BaseParser.parse(BaseParser.java, Compiled Code)
    at weblogic.common.internal.LicenseInfo.loadXML(LicenseInfo.java, Compiled Code)
    at weblogic.common.internal.ServerUtil.initLogging(ServerUtil.java, Compiled Code)
    at weblogic.common.internal.ServerUtil.initLogging(ServerUtil.java:82)
    at weblogic.common.internal.ServerUtil.<clinit>(ServerUtil.java:75)
    at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:883)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:822)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    *****End******
    The License file i downloaded was from the website as i was told to do so...
    I would really appreaciate your help in the above error to solve my problem as i am trying to learn weblogic and am stuck at the very bigenning..
    Thanx a lot...

    If you can, upgrade your jdbcKona/MSSQLserver4 driver to
    at least version 4.5.1.2.
    Branka Billante wrote:
    >
    I am trying to debug my code in VisualCafe and I get the following
    error:
    java.sql.SQLException: java.sql.SQLException: License Problem:
    The following applies to holders of standard BEA/WebXpress licenses:
    weblogic.d.h: Error parsing XML license file. [java.lang.Exception:
    java.lang.ClassCastException: weblogic.xml.license.WEBLOGICLICENSES
    at weblogic.i.g.a(Unknown Source)
    at weblogic.i.b.i(Unknown Source)
    I am running the exect code in a non-debug enviroment and it works
    fine. Does anybody know what the problem could be?
    Thanks,
    Branka Billante
    Moai Technologies, Inc.--
    Chuck Karish BEA Systems
    [email protected] San Francisco, CA
    (415) 317-0182 (cell) (415) 402-7692

  • Issue of xml parser on WAS

    this is regarding using oracle xml parser on WAS. we are facing the same issue as was posted on this forum
    xmlparserv2.jar cause IBM WebSphere v5.1 down.
    what i need to know is has there been any other issue even after implementing those solution? plz do reply
    Best Regadrs

    the error that we get on the server is : -
    SystemErr R java.lang.IncompatibleClassChangeError\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.tree.AbstractElement.setAttributes(AbstractElement.java:505)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.io.SAXContentHandler.addAttributes(SAXContentHandler.java:916)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.io.SAXContentHandler.startElement(SAXContentHandler.java:249)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.io.SAXReader.read(SAXReader.java:465)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.hibernate.cfg.Configuration.configure(Configuration.java:1098)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.imf.dmfs.dal.util.dao.HibernateUtil.<clinit>(HibernateUtil.java:34)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at java.lang.J9VMInternals.initializeImpl(Native Method)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)\par
    2. the applications is being depl in WAR.
    3. ClassLoader Policy : parent last
    deleting META-INF/services folder in oracle parser jar file has no effect.
    PLZ HELP ME OUT

  • The property XMLDataVariable on the XML Source was empty - Case Foreach Loop Container

    I have very simple XML source and OLE DB Source in Foreach Loop Container,
    but seem to get error, because XML Source cannot find the XML.
    "Error at Data Flow Task. The property XMLDataVariable on the XML Source was empty"
    Variables:
    FileExtention = *.xml
    FilePath =
    FolderPath = C:\Customer\XML
    XML Source:
    Data Access mode = XML file from variable
    Variable name = User::filePath
    Foreach Loop Container:
    Enumerator = Foreach File Enumerator
    Expression-Directory = @User:FolderPath
    Expression-FileSpec = @User::FileExtension
    Enumerator Folder = C:\Customer\XML
    Files = *.xml
    Variable mapping-User::FilePath = 0
    Kenny_I

    Have you filled the variable (filePath) with a default value? Otherwise the XML Source cannot validate. Alternative is look for a property "DelayValidation". In most cases this is a property of the connection manager, but you're not using
    one for the xml source....
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • LO Error 26005 Failed to parse XML

    Good Afternoon,
    I currently have an Xcelsius document that is attached to a Crystal Report that is in Infoview.  I have it connected by using Live Office.  The Crystal report basically contains a cross tab of data and is run nightly in our system.  I bring back the data into Excel in order to build an Xcelsius document off of it.  I havent' been using the Live Office piece all that much until recently therefore please excuse my ignorance.  I setup my data connection as a Live Office connection.  My server connection seems to be correct:
    http://WHGCRYSTAL3:8080/dswsbobje/services/session
    However, when I try to refresh the document, I get the following error:
    soapenv:Server.generalException: Failed to parse XML. (LO 26005)
    Any ideas as to what this could be?  I have Crystal Xcelsius Enterprise 2008.  The version is 5.0.0.99 and the build number is 12,0,0,121.  I think I am all updated on service packs but I could  be wrong.  Any help is appreciated.

    I downloaded all of the service packs and fixes and now I am up to date.  I am still getting the error with an additional error.   This is what is says:
    Failed to parse XML. (LO 26005) (LO 26000)
    Any other ideas as to why this is happening?

  • Options for XML parsing in WAS 6.20 ABAP and higher

    Hello Experts,
       What options are available to me for working with XML documents in SAP R/3 4.7? I am working on SAP WAS 6.20 ABAP and was wondering which tools/techniques I can use for parsing XML files?
       I am developing an ABAP program and primarily need to be able to parse XML documents. I need to be able to traverse up and down their data structures (trees/nodes/elements/etc.).
       In SAP R/3 4.6 I used to use the iXML library but it seems that there are many advanced and powerful features included in SAP WAS 6.20 ABAP and up.
       Could someone please give me a summary of and their opinions on some these "newer" options?
    Thanks,
    - Vik.

    Hi Vik,
       There are two ways you can parse/interpret XML documents in ABAP -
       1. iXML - Which you have already used in 46 release. It wasn't easy to use set of functions but still it was possible to parse documents using iXML library. In WAS 6.20 you can now use class CL_XML_DOCUMENT which is much more easier to use than iXML library. It is bilt on top of iXML using the same DOM model.
      2. XSLT - Useing XSLT_TOOLS or XSLT transaction you can create XSLT programs to transform XML to ABAP data objects and then work with ABAP data objects. In this case you have the option of using some other tool like XMLSPY to write the XSLT and then copy that to SAP.
    From your post it looks like you will probably have to traverse the tree in unpridictable way, probably DOM based parsing using CL_XML_DOCUMENT is more suitable for you.
    Cheers,
    Sanjeev

  • Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items

    Hi ,
    Good Morning to all
    in osb replace action am using xquery transformation resource.
    source code of xquery is :
    ====================================================================================
    (:: pragma bea:global-element-parameter parameter="$addition1" element="ns0:Addition" location="../wsdl/NewWSDLFile.wsdl" ::)
    (:: pragma bea:global-element-return element="ns1:process" location="../bpelprocess1_client_ep.wsdl" ::)
    declare namespace ns1 = "http://xmlns.oracle.com/POProcessing/AdditionOSB/BPELProcess1";
    declare namespace ns0 = "http://www.example.org/NewWSDLFile/";
    declare namespace xf = "http://tempuri.org/ServiceCallout/trans/route/";
    declare function xf:route($addition1 as element(ns0:Addition))
    as element(ns1:process) {
    <ns1:process>
    <ns1:value1>{ data($addition1/value1) }</ns1:value1>
    <ns1:value2>{ data($addition1/value2) }</ns1:value2>
    </ns1:process>
    declare variable $addition1 as element(ns0:Addition) external;
    xf:route($addition1)
    =====================================================
    at the time of running "error is Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items " in replace action.
    how to resolve this problem...
    Thanks & Regards
    venky

    The reason for the error is the xquery is not able to find the values in the input... Check the input and namespaces...
    Try...
    <ns1:value1>{ data($addition1/ns0:value1) }</ns1:value1>
    <ns1:value2>{ data($addition1/ns0:value2) }</ns1:value2>Cheers,
    Vlad

  • I recieved a message that MSVCR80.ddl was missing and iTunes would activate. After reinstalling iTunes, I'm receiving an "Error 7 (Windows error 126)" msg. What should I do?

    I recieved a message that MSVCR80.ddl was missing and iTunes would activate. After reinstalling iTunes, I'm receiving an "Error 7 (Windows error 126)" msg. What should I do?

    Hello, Jack. 
    You will find this article helpful in troubleshooting the error that you are receiving.
    iTunes for Windows: "Error 7" message when opening iTunes
    http://support.apple.com/kb/ts3074
    Regards,
    Jason H.

  • SaxParser error  parsing xml encoded string

    I'm trying to parse an XML string with Java's SaxParser. The program
    fails at the end of an element or at the beginning of a new element.
    Is my XML string okay?
    <?xml version="1.0" encoding="utf-8"
    ?><DTYPE>OVL</DTYPE><DTYPE>IMG</DTYPE>. . .
    If fails after </DTYPE> and before the next <DTYPE>
    The Sax Parser works fine on files.
    Here is the code I use to send the string to the parser :
    // Parse the input
    SAXParser saxParser = factory.newSAXParser();
    InputStream is = new ByteArrayInputStream(stringToParse.getBytes());
    saxParser.parse( is, handler );
    Here is the error message I get :
    org.xml.sax.SAXParseException: Inadmissible sign at the document end<
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3370)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:673)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    at
    org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
    at EchoSaxParser.parse(EchoSaxParser.java:51)
    at StringParser.parse(StringParser.java:23)
    at Servant.stringparse(Servant.java:30)
    at TEST._TestImplBase._invoke(_TestImplBase.java:43)
    at
    com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java�:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    at
    com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.ja�va:81)
    at
    com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.ja�va:106)
    Any help would be greatly appreciated!
    Thank you!

    <?xml version="1.0" encoding="utf-8" ?><DTYPE>IMG</DTYPE><DTYPE>REF</DTYPE>Above is a short XML string that causes the problem.
    It's all one line.
    I also tried adding System.getProperty("line.separator") add the
    end of each tag so I get :
    <?xml version="1.0" encoding="utf-8" ?>
    <DTYPE>IMG</DTYPE>
    <DTYPE>REF</DTYPE>But same error. It still crashes after the first <DTYPE></DTYPE> tag.
    Any help greatly appreciated!

  • Error in retrieving and parsing XML File

    Hi Folks
    I am Working on People centric user interface, While i am custimizing a application in Business application Builder i am getting this error
    " Error in retrieving and parsing XML File "
    can any body look on this and give me the solution
    it will be rewarded
    Regards
    M.S.Kumar

    Hello,
    As mentionned by SAP_TECH, avoid to use the BAB.
    Go to CRMC_BLUEPRINT_C and use the different option in the menu to customize the field group, toolbar group, events, ...
    Use the PCUI cookbook to find your way.
    Regards,
    Fred

  • Create a cache for external map source - Error in parsing xml request.

    When doing the following:
    Create a cache for external map source
    I get "error in parsing xml request" when setting the following
    Map service Url:
    http://neowms.sci.gsfc.nasa.gov/wms/wms?version=1.3.0&service=WMS&request=GetCapabilities
    It looks like it is breaking on "&". Any suggestions?
    Rob

    Hi Chris,
    thanks for your reply!
    I've tried to add the following into persistence.xml (although I've read that eclipseLink uses L2 cache by default..):
    <shared-cache-mode>ALL</shared-cache-mode>
    Then I replaced the Cache bean with a stateless bean which has methods like
    Genre findGenreCreateIfAbsent(String genreName){
    Genre genre = genreDAO.findByName(genreName);
    if (genre!=null){
    return genre;
    genre = //Build new genre object
    genreDAO.persist(genre);
    return genre;
    As far as I undestood, the shared cache should automatically store the genre and avoid querying the DB multiple times for the same genre, but unfortunately this is not the case: if I use a FINE logging level, I see really a lot of SELECT queries, which I didn't see with my "home made" Cache...
    I am really confused.. :(
    Thanks again for helping + bye

  • Javax.resource.ResourceException: : Error in parsing XML

    Hi
    Iam developing a connector application.
    Iam using OC4J 9.0.4 version(standalone) for deployment of RAR file. We are parsing the below xml in our application using SAX parser.
    <?xml version="1.0" encoding="utf-8"?>
    <DocAnnoList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" LibName="IMGSERV" DocID="1698353" SystemType="1">
    <AnnoDefPermission>
    <security>
    <securityobject libraryid="IMGSERV" systemtype="idmis" objectid="" objecttype="annotation" clientpermission="change">
    <permission id="1" name="Test1G" type="group" level="read" />
    <permission id="2" name="Test1G" type="group" level="write" />
    <permission id="3" name="Test1G" type="group" level="append" />
    </securityobject>
    </security>
    </AnnoDefPermission>
    </DocAnnoList>
    But iam getting the below error while parsing this xml with OC4J running on Win2k/HPUX/Solaris.
    Error in parsing XML Stream. The element "DocAnnoList" is not as per the XSD.
    04/03/26 14:11:06 org.xml.sax.SAXException: : Error in parsing XML Stream. The element "DocAnnoList" is not as per the
    XSD.
    04/03/26 14:11:06 at com.abc.is.ra.util.AB_IS_XMLObjectHandler.startElement(Unknown Source)
    04/03/26 14:11:06 at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1181)
    04/03/26 14:11:06 at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:300)
    04/03/26 14:11:06 at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:267)
    04/03/26 14:11:06 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    04/03/26 14:11:06 at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:286)
    04/03/26 14:11:06 at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:224)
    I put the xSchema.jar,xml.jar & xmlparserv2.jar in java CLASSPATH as described at below URL.
    http://otn.oracle.com/pub/articles/vohra_xmlschema.html
    But problem is still there.
    Can anyone tell me what is the problem. Iam sure, there is nothing wrong with our code as it is running well on Websphere 5, Weblogic 8.1, JBoss 3.2.3, SUN ONE 7.

    will come if there are any tab spaces in the file..
    delete the tab spaces from the file..

Maybe you are looking for

  • Change UOM in PR but PO exist for PR

    Hi Experts, We created a PR with a customized account assignment cat. and material text (no material code) with UOM L , we created PO in UOM L but purchasers cant do GRN because they received material in UOM LG ( which they mentioned in PO/PR Texts a

  • Advise on RAM upgrade...

    Hi all, I have an early 2008 MacBook, with 2GB RAM (PC2-5300 DDR2 667 MHZ) and a 2.4 GHZ processor. Recently I've started to use my laptop alot more for my research, which involves a lot of computation work (and unfortunately necessitates a VM to run

  • EDMS: 'Missing authorization for this functionality' when searching user

    Hi, I've activated ALC authorization for DMS. In EDMS, when trying to add an user to a DIR with search function an error occurres as below. 'Missing authorization for this functionality' BTW, the user has contains SAP_ALL profile. It can't be any aut

  • Insert Script Object?

    In Acrobat Pro you can create a document script as follows: function Hello() app.alert("Hello World") And call this Hello. If you create button on the page then create an action on Mouse Up Run a JavaScript which looks like this: Hello(); A message b

  • Mapping to different databases

    We currently use TOPLink as persistence layer in our product. Currently the complete object model maps to one database. I was wondering if it is possible to map different objects to different physical databases (with different structures). E.g. We ma