Oracle XML DTD

I have a question about the design of Oracle XML, specifically what capabilities exist when transmitting a requisition and/or purchase order for a customer who is using the Oracle buyer tool. I would like to see the dtd for Oracle XML, but cannot find it anywhere. It appears to be called OAGI XML, but I'm not sure and I can't find any detailed technical information on it. Can someone point me to the right web page?
Thanks,
Don

Hi,
XML Gateway will support only specific standard which is mentioned in
user guide. And in your case the Message designer is not treated note
as parent so it's throughing that error but if you create one more parent node above it i will not through error.
Thanks
Pankaj

Similar Messages

  • Why the oracle XML parser "parses" the DTD comments?

    Hi all,
    I always use the header
    <?xml version = '1.0' encoding='ISO-8859-1' ?>
    to be able to use foreign characters in the XML documents.
    The oracle xml parser handles this correctly.
    My problem is, when I write comments inside the DTD, the
    parser reports "Invalid UTF8 encoding".
    Why the parser "parse" the comments? (protected by <!-- and -->)
    How do I say that the DTD encoding is different from UTF, like
    ISO-8859-1?
    Example of a correct DTD and corresponding XML, reporting
    problems, related to the 2nd comment in the DTD specification,
    written with ISO-8859-1 characters.
    The DTD:
    <!-- valid.dtd -->
    <!ELEMENT valid ( B, C ) >
    <!-- valid represents the concept "Identificagco" -->
    <!ELEMENT B (#PCDATA) >
    <!ELEMENT C (#PCDATA) >
    The XML:
    <?xml version = '1.0' encoding='ISO-8859-1' ?>
    <!DOCTYPE valid SYSTEM 'valid.dtd'>
    <valid>
    <B>How are you, Conceigco</B>
    <C>I'm fine, thank you.</C>
    </valid>
    The parser output:
    [jgr@frontera test-dtd]$ java oracle.xml.parser.v2.oraxml -v
    valid.xml
    Error while parsing input sourcevalid.xml(Invalid UTF8 encoding.)
    Thank you for any help.
    Jorge Gustavo Rocha

    I was wrong in saying that the attributes are not added to the element.My main aim is to add a array of elements to the root node.
    Is there a efficient manner in adding the elements , rather than adding them individually with the help of appendChild method.
    Thanks in advance.
    null

  • Can't convert oracle.xml.parser.DTD to oracle.xml.parser.v2.DTD.

    I am getting the following Error while trying
    to compile the SampleMain.java file(Generating an XML document from a given Employee.dtd).
    I have set my classpath to use xmlparser.jar.
    D:\XMls>javac SampleMain.java
    SampleMain.java:65: Can't convert oracle.xml.parser.DTD to oracle.xml.parser.v2.DTD.
    main(java.l
    ang.String[]).
    generator.generate(dtd, doctype_name);

    Would you check the java parser version you are using? If using java parser V2, the normal lib name is xmlparserv2.jar.
    null

  • How to insert XML/dtd data into oracle db

    Hi,
    I have posted this question on couple
    sites and unfortunately I haven't received
    any response. Hopefully this time,
    someone can at least direct me to the
    website/document/sample codes which can provide me solutions of my question.
    My question is:
    Given a DTD, can the XML SQL Utility generate
    the database schema?
    I am trying to find out how the XML data can
    be loaded into the oracle database.
    Thanks in advance,
    Judy
    null

    A DTD does not contain enough information to do a good job at creating a database schema. It contains no datatype information, no field length information for starters, so a table created by a hypothetical DTD->to->Tables utility would be at best able to create a table with all VARCHAR2(4000) columns. Not that useful.
    My book contains lots of examples of techniques for loading XML data into Oracle, include lots of sample code and a whole chapter devoted to building a flexible "XMLLoader" utility for loading XML of arbitrary size into the database.
    Steve Muench
    Development Lead, Oracle XSQL Pages Framework
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • Oracle.xml.parser.v2.SAXParser error

    I'm reposting this error that I recently received one more time before removing the XML transforms from my Java projects and doing them in .NET.
    Code that was working fine suddenly getting a transform error using JDeveloper.
    Get the following:
    javax.servlet.ServletException: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser).
         at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417)
    Seems that
    <!--
    <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <h1>Project Weekly Hours Worked</h1>
    <table>
    <c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
    <c:import url="./HoursWorked3.xsl" var="xslt" charEncoding="windows-1252"/>
    <x:transform xml="${xmlHoursWorked}" xslt="${xslt}" />
    </table>
    -->
    will not transform XML to HTML via XSL in JSP anymore.
    If I run the XSL i get the HTML results I expected in an HTML test page.
    So I know the XML and XSL is sound.
    XSL and DOM parsing in Java/Oracle was a major pain in the ass in the first place and now this.
    Well I've spent hours going through Oralce/Java documentation on XML, DOM and XSL transforms.
    All that time spent and still so unstable. I don't think I was ever able to really get what I wanted
    which was to transform my XML document to HTML, update via JSP and have the XML document
    be updated and ready to view in a summary page. The XML document changes were never really
    available unless I closed the app and restarted. So all in all a failure of capabilities compared to my
    use of XML in .NET.
    So........
    Me thinks it will be a good idea to take out the transforms and have my JSP use a script to invoke a
    method in a class that extracts it from a message. Just have PL/SQL interface with XML and do the
    transform or serialize thing there.
    I don't want to give up on XML but I'm tired of trying to jam a square peg into a round hole
    with Java and JDeveloper.
    Brian

    We don't support file references ("cv1_0.dtd"). Only url type references
    are supported, of the form:
    @ <!DOCTYPE cv1 SYSTEM "http://www.oracle.com/public/cv1_0.dtd>
    Note that the url should be accessible to the world without the need to authenticate.
    you could put your dtd in the "public" area in your iFS system.
    Thanks,
    Sirisha
    null

  • ANN: Oracle XML Parser for Java v2.0.0.1

    A new maintenance release of the Oracle Parser for Java is
    available for download. It has the following fixes and changes:
    Bug fixes for #920536, i.e. Cannot access element attributes via
    XSLT; #898423. i.e. ElementDecl's in DTDs; #774774, i.e. DOM
    extensions using XSL pattern matching; #863890 i.e. SAX
    IOException not thrown.
    New APIs in the following new interface:
    1. oracle.xml.parser.v2.NSResolver
    - resolveNamespacePrefix( find the namespace definition in scope
    for a given namespace prefix )
    New APIs in the following classes:
    1. oracle.xml.parser.v2.XMLNode
    - selectNodes( Selects nodes from the tree which match the given
    pattern; client can provide an NSResolver implementation to
    resolve namespace prefixes in the pattern ).
    2. oracle.xml.parser.v2.ElementDecl
    - getParseTree( Returns the root Node of Content Model parse
    tree, which could then be traversed node by node using
    getFirstChild() and getLastChild(). The Node types are: PLUS,
    COMMA, ASTERISK, ELEMENT, QMARK ).
    This is the first beta patch release for v2.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    unzip -l appsborg2.zip | grep 9.0.4
    0 04-18-03 20:10 .xdkjava_version_9.0.4.0.0_production
    do i still need to do that step?No, you do not have to since "XML Parser for Java v9.0.4" is already installed as part of appsborg2.zip

  • Oracle XML Gateway- Mapping XML to Oracle Apps API - Wrong Number or types

    XML GATEWAY INBOUND – CALLING AN API (PL/SQL record type IN variable) TO INSERT THE DATA INTO SAMPLE TABLE
    Hi,
    I am using XML Gateway to push data into Oracle Apps using a procedure call with “Record Type” as the parameter. I am getting a “wrong number” or types of arguments mismatch error inspite of following the process described in the Oracle XML Gateway User’s Guide
    Steps followed:
    DB
    1. I Created a sample table XX_CUST_HIST(ID NUMBER, ACCOUNT_NAME VARCHAR2(50), FIRST_NAME VARCHAR2(50), LAST_NAME VARCHAR2(50), TITLE VARCHAR2(50))
    2. I then Created a package ‘XX_XML_DEMO_API’ in which we have defined a record type and a procedure.
    3. The Record type ‘customerRecordType’ holds account_name , first_name, last_name and the title.
    4. The Procedure ‘insert_customer_r’ takes 2 IN arguments :
    1. p_ id number
    2. p_customer customerRecordType
    5. The procedure will insert the values into xx_cust_hist table
    p_id -> id
    p_customer.account_name -> account_name
    p_customer.first_name -> first_name
    p_customer.last_name -> last_name
    p_customer.title -> title
    Now I need to call the procedure ‘XX_XML_DEMO_API . insert_customer_r’ from XML gateway.
    Following are the steps to call the procedure:
    [1] Create DTD
    ELEMENT NEW_CUSTOMER_APIR (DATAAREA)
    ELEMENT DATAAREA (CUSTOMER_DATA)
    ELEMENT CUSTOMER_DATA (ID, CUSTOMER_RECORD)
    ELEMENT ID (#PCDATA) ELEMENT CUSTOMER_RECORD (ACCOUNT_NAME, FIRST_NAME, LAST_NAME, TITLE)
    ELEMENT ACCOUNT_NAME (#PCDATA)
    ELEMENT FIRST_NAME (#PCDATA)
    ELEMENT LAST_NAME (#PCDATA)
    ELEMENT TITLE (#PCDATA)
    [2] Creation of XML map Data Definition type for Source and Destination are set to XML.
    While executing the procedure ‘XX_XML_DEMO_API . insert_customer_r’ in post_process from the message designer, instead of 2 (p_id IN number , p_customer IN customerRecordType) parameters it is showing 6 parameters (p_id IN number, p_customer IN customerRecordType, account_name IN varchar2, first_name IN varchar2, last_name IN varchar2, title IN varchar2). Six parameters are getting mapped, instead of the 2 that the procedure really needs.
    [3] Testing of XML map. Error message in transaction monitor:
    ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'INSERT_CUSTOMER_R' ORA-06550: line 1, column 7: PL/SQL: Statement ignored -
    ECX_ACTIONS.BIND_PROC_VARIABLES
    The process executed and produced the error message given in the step 3. The standard documentation is unclear on how this should be done. Being a newbie to the XML Gateway technology I am unable to get a clue about what the error message could be and which step of the process produced the message. Could anyone help me to proceed further?
    Thanks in advance.

    Hi Siva,
    It seems like the walletkey property of event type is defined incorrectly. Please try by defining the event as follows:
    <wlevs:property name="walletkey" type="char" length="20"/>
    Use "char" instead of "char[]".
    Best Regards,
    Sandeep

  • JDeveloper Error ! oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode

    Hi All,
    I have 2 identical table structures with different data in Oracle.
    I am using following xsql and XSLT sheet to produce xml files with these tables. ( have to run twice xsql file by changing the Table names )
    When I run the xsql file with Table1, it works fine, produced the xml file on the browser.
    But when I run the xsql file with Table2, it gives following error message:
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://192.10.1.14:8988/Workspace_ONIX-ONIX2-context-root/untitled1.xsql'. Line 1, Position 1
    oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character.
    ^
    These two are my xsql and xslt files:
    - - - - xsql file - - - -
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <?xml-stylesheet type="text/xsl" href="TT14.xsl"?>
    <xsql:query connection="Connection1" id-attribute="" tag-case="lower"
    rowset-element="LIST" row-element="DEPA"
    xmlns:xsql="urn:oracle-xsql">
    SELECT * from TT26
    </xsql:query>
    TT14.xsl file
    <xsl:stylesheet version="1.0" encoding="UTF-8" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method ="xml" indent= "yes" encoding="UTF-8"/>
    <!--DOCTYPE ONIXmessage SYSTEM "http://www.editeur.org/onix/2.1/reference/onix-international.dtd"-->
    <xsl:template match ="list">
    <BBMessage>
    <<xsl:for-each select="depa">
    <Product>
    <RecordReference>
    <xsl:value-of select="wai"/>
    </RecordReference>
    <NotificationType>
    <xsl:value-of select="wantype"/>
    </NotificationType>
    </Product>
    </xsl:for-each>
    </BBMessage>
    </xsl:template>
    </xsl:stylesheet>
    All comments are highly welcomed...
    Thanks

    Hi Deepak
    Thanks for the post, but I am afraid that's not the issue with the error.
    I changed both encoding to "UTF-8" still i get the problem.
    I tried even without the XSLT sheet, still I have the problem..
    - - - - xsql file ---
    &lt;?xml version = '1.0' ?&gt;
    &lt;!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    &lt;?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?&gt;
    --&gt;
    &lt;page xmlns:xsql="urn:oracle-xsql" connection="Connection1"&gt;
    &lt;xsql:query max-rows="-1" null-indicator="no" tag-case="lower"&gt;
    select * from Table2
    &lt;/xsql:query&gt;
    &lt;/page&gt;
    - - - - Result ----
    &lt;?xml version="1.0" ?&gt;
    - &lt;!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    &lt;?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?&gt;
    --&gt;
    - &lt;page&gt;
    &lt;error&gt;oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character.&lt;/error&gt;
    &lt;/page&gt;
    Any Comment ???
    Thanks

  • Oracle.xml.sql.query.OracleXMLQuery   GetXML -withDTD

    I'm trying to create a dtd for each table in my schema. I've created a java program that loops through the user_tables and I am then trying to create the DTD with oracle.xml.sql.query.OracleXMLQuery -withDTD. I am able to make it work using the XSU Command Line Utility, but I'm having a hard time trying to find out where the -withDTD flag goes inside my java program. Anyone know how to use the -withDTD option inside of a java program?
    Thanks

    [from XmlRpc-Java]
    As a result, my XML
    is contained in a String instead of an InputStream.
    It is possible to convert a String to an InputStream using
    StringBufferInputStream, but this class is deprecated in favor of
    StringReader (as StringBufferInputStream does not properly convert
    characters into bytes).
    For the default HTTP transport, an InputStreamReader could be used to
    wrap the InputStream before calling parse().
    Ultimately, the InputStream is converted to an InputSource for use by
    the SAX parser. InputSource will accept a Reader as well.
    [from XmlRpc-Java]
    There should be a way to go from "getXMLString()" to "parse(Reader)" also. In the meantime I'm stuck.
    null

  • Simple questions for Oracle XML Team - please respond

    1) Which class/methods should be used to obtain the content
    model (mixed-content or element-content) associated with each
    element declaration in a DTD? In other words, how do I know if a
    particular element can have child elements and/or data in a
    valid XML document, the frequency each child element can appear
    under a particular element, and whether a sequence list or a
    choice list was used to declare the element?
    2) Do you have any bug reported so far for this part of Oracle's
    parser made available in the last released?
    Thanks,
    Renilton
    null

    Renilton Oliveira (guest) wrote:
    : 1) Which class/methods should be used to obtain the content
    : model (mixed-content or element-content) associated with each
    : element declaration in a DTD? In other words, how do I know if
    a
    : particular element can have child elements and/or data in a
    : valid XML document, the frequency each child element can
    appear
    : under a particular element, and whether a sequence list or a
    : choice list was used to declare the element?
    Look at oracle.xml.parser.v2.ElementDecl class and then
    getContentType and getContentElements methods.
    : 2) Do you have any bug reported so far for this part of
    Oracle's
    : parser made available in the last released?
    : Thanks,
    : Renilton
    Each release contains a list of bugs fixed. Is there a
    particular bug you are interested in?
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Howto force Oracle XML parser not to expand entity references?

    Hi,
    Is it possible to force Oracle XML parser (Java) not to expand entity references, so that they appear in DOM tree as separated nodes after parsing XML?
    Example:
    for following XML
    <tag>abc&auml;xyz</tag>
    I get:
    Element: "tag"
    |-Text: "abcdxyz"
    but I would like to get:
    Element: "tag"
    |-Text: "abc"
    |
    |-EntityReference: "auml"
    |
    |-Text: "xyz"
    I've already tried to use JAXP api (setExpandEntityReferences method in java.xml.parsers.DocumentBuilderFactory), but it doesn't seem to work.
    I'm using parser from XDK Java v9.2.0.2.0 Production.
    Thx,
    James

    This is requested code sample:
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setExpandEntityReferences(false);
    System.out.println("isExpandEntityReferences = "+dbf.isExpandEntityReferences());
    DocumentBuilder db = dbf.newDocumentBuilder();
    Document d = db.parse("file://c:/test.xml");
    Element e = d.getDocumentElement();
    System.out.println("documentElement"+ e.getTagName() + " nodeType=" +e.getNodeType());
    System.out.println("ChildNodes:");
    NodeList nodeList = e.getChildNodes();
    for(int i=0; i<nodeList.getLength();i++) {
    System.out.println(i+" value=\""+nodeList.item(i).getNodeValue()+"\" nodeType="+nodeList.item(i).getNodeType());
    Content of test.xml:
    <!DOCTYPE test SYSTEM "test.dtd">
    <test>abc&auml;xyz</test>
    Content of test.dtd:
    <!ELEMENT test (#PCDATA)>
    <!ENTITY auml "&#x00E4;">
    When you run it you will get the following output:
    isExpandEntityReferences = true
    documentElementtest nodeType=1
    ChildNodes:
    0 value="abcdxyz" nodeType=3
    which means that EntityReference has been expanded.
    As you can see in the output the isExpandEntityReferences method returns "true", even though I set it to false in code!
    Does it mean that Oracle parser simple doesn't support this feature???
    Thx,
    James

  • Adding entities to Oracle XML parser

    Hi all,
    We have found a problem when applying a xsl to a xml that contains unknown entities (such as &emsp;) to the Oracle xml parser.
    Is there any way to add entities to the parser? We have a file that contains all the entities we are talking about and we want to pass that file to the parser. Is there any way to do this?
    Thanks in advance,
    Juan
    null

    What do you mean "add entities to the parser" exactly? You can add custom entities using the XML 1.0 facility for defining entities either in an external DTD or internal subset. See the annotated XML 1.0 spec for details.

  • OC4J and Local (system) XML DTD files

    I am in a situation where I am deploying a web application to an instance of 10.1.2 that is on a public-facing box that does not have the ability to access the outside world via the web due to security restrictions.
    When I start the application, I'm getting connection refused errors because the XML parser is trying its hardest to validate the XML files for Spring and MyFaces by remotely fetching the DTD file. Is there a way I can get the application to read a local copy of the DTD without having to hard code a full path to the file?
    I've tried changing the doctype declaration for MyFaces to look like this:
    <!DOCTYPE faces-config SYSTEM "web-facesconfig_1_0.dtd">And I put the DTD in the same directory as the XML configuration file (in the WEB-INF directory). Eclipse seems to like that ok, but when I deploy that to 10.1.2, I get the following exception:
    javax.faces.FacesException: java.net.MalformedURLException: no protocol: web-facesconfig_1_0.dtd
         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:123)
         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1009)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
         at com.evermind.server.Application.getHttpApplication(Application.java:890)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.MalformedURLException: no protocol: web-facesconfig_1_0.dtd
         at java.net.URL.<init>(URL.java:567)
         at java.net.URL.<init>(URL.java:464)
         at java.net.URL.<init>(URL.java:413)
         at oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(NonValidatingParser.java:543)
         at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingParser.java:468)
         at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:280)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)
         at org.apache.commons.digester.Digester.parse(Digester.java:1548)
         at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
         at org.apache.myfaces.config.FacesConfigurator.feedWebAppConfig(FacesConfigurator.java:387)
         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:120)
         ... 14 moreI've tried variations like ./filename.dtd and ../filename.dtd to no avail. I'm sure I'm missing something fundamental here, but how can I get OC4J to read my local DTD?
    Thanks in advance!

    Avi, you're right, the parser is indeed wanting a real URL. So here's what I've done. I replaced the dtd filename with the complete path to the file, so it looks like this:
    <pre>
    <!DOCTYPE faces-config SYSTEM "file:///C:/path/to/dtd/web-facesconfig_1_0.dtd">
    </pre>
    I deployed, started the app, and it worked. This doesn't really feel like the right solution, however, because I'm going to have to rely on a hardcoded file location for the DTD on our production server. If our admins change that, then I'm out of luck and would have to redeploy the application. Does anyone know if there is a way to get this to be more relative?
    One idea that someone gave me was to put the DTD files in a web-accessible location in the application and reference via http:// instead of file://. At least that way I wouldn't be dependent on the file system. I'd still have to hardcode a URL so I couldn't use the same files for all our development environments, but it might be a slightly cleaner solution. Another possible (yet really ugly) solution is to inline the DTD's in the XML file.
    Asanka, I'm not quite sure I follow what you said. Where would I put such code to use Xerxes? In a servlet loaded on init?
    Thanks for the help so far, everyone.

  • Need help, oracle xml db jar conflicts with sup app server v9

    I am trying to create a web service on sun app v9 that will work with calls to oracle xml db on oracle 10gr2. I have successfully created a web service on other application servers (weblogic and websphere) but sun was the app server of choice. The oracle jar xmlparserv2.jar is causing problems with the sun server as it seems to have bundled some java classes from the javax.xml.parsers, javax\xml\transform (and even from dom, sax and streams sub folders) packages.
    If I put the oracle jar in my war the error I get in the log file when accessing my webservice tester is:
    [#|2007-08-13T08:37:48.691-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpWorkerThread-8080-0;|error: http://www.w3.org/TR/html4/loose.dtd<Line 31, Column 3>: XML-20100: (Fatal Error) Expected '>'.
    line 31 of http://www.w3.org/TR/html4/loose.dtd|#]
    [#|2007-08-13T08:37:48.738-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpWorkerThread-8080-0;|
    error: Expected '>'.
    line ? of http://ann-griffithlap.jsc-eses.com:8080/TestWS/TestWSService?WSDL#types?schema1|#]
    And the UI error from the tester call is:
    javax.servlet.ServletException: java.lang.RuntimeException: Service Class not generated as expected at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:546) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doGet(WebServiceTesterServlet.java:158) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:104) at
    I had attempted to move the xmlparserv2.jar elsewhere in the classpath for classloading and one error I got while trying different spots was:
    [#|2007-07-16T14:16:57.982-0400|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;_RequestID=c9ffb261-2b6d-4dd2-bd8f-362e6b2af1a0;|INFO: JAXP SAXParser property not recognized: http://java.sun.com/xml/jaxp/properties/schemaLanguage|#]
    [#|2007-07-16T14:16:57.982-0400|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;_RequestID=c9ffb261-2b6d-4dd2-bd8f-362e6b2af1a0;|Check to see if parser conforms to JAXP 1.2 spec.|#]
    which gets repeated for each deployment and then the server would not start up.
    Is there any suggestions of where I can put the oracle jar to get sun to still start up as well as the jar to be available for use by the classes in my war that also contains the webservice that will call my underlying class? I have not found a way to eliminate the oracle jar if I want to do an xquery against oracle xml db.
    Thanks,
    D.Griffith

    Here's more information on the machines.
    Machine where the Oracle Database 11g Express Edition: IP Address is 10.162.128.67
    Machine where the SQL Server database: IP Address is 142.120.51.30.
    I've modified the tnsnames.ora to the following:
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.128.67)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    SQLSERVER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 142.120.51.30)(PORT=1433))
        (CONNECT_DATA =
          (SID = SQLSERVER)
      (HS = OK)
    )But now I'm getting the following error:
    C:\>tnsping sqlserver
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2
    012 14:52:59
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 142.120.51.30)(PORT=1434))) (CONNECT_DATA = (SID = SQLSERVER)) (HS = OK)
    TNS-12541: TNS:no listener
    C:\>Regards,
    Allen

  • Oracle XML Parser validation against XML Sxhema

    Hi,
    I am developing a program in C++ on Unix, that does parsing on an XML document. For parsing I am using "Oracle XML Parser" [using DOM API]. My question is, Can Oracle XML Parser validate xml document against an XML Schema file also? I have read in many tutorials that it can validate against DTD. Please clarify my question as early as possible?
    Regards,
    Raghuram.

    Hi Kulkarni,
    I think you are trying to retrieve the text of the parent element of book. For example if this is the xml element
    <bookdetails>
    <book>Harry Potter</book>
    <author>JK Rowling</author>
    <price>34.55</price>
    </book>
    </bookdetails>
    You must be trying to retrieving the text of bookdetails.
    Check XMLNode.getNodeName() to retrieve the name of the node.
    To get 'Harry Potter' as output you need to traverse till book and then use XMLNode.getText()
    You can check the 'getQuestions()' method in Survey Sample
    to know how to tranverse to any element of an XML using Java.
    The Survey Sample is located at
    http://otn.oracle.com/sample_code/tech/xml/survey/content.html
    Download the sample and unjar it. The location of Analyser.java is
    SurveySample\code\Survey\src\oracle\otnsamples\survey\business\Analyser.java
    Have a look at it.
    Regards,
    Anupama
    http://otn.oracle.com/sample_code/content.html

Maybe you are looking for

  • Update failed after switching to nightly channel according to the MDN (Flame)

    Good Evening Firefox OS Pro's :) I just got my new Flame, flashed the base image (http://cds.w5v8t3u9.hwcdn.net/Flame_2.0_v180_1.zip) and the rest (http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g32_v2_0-flame-kk/) according to t

  • How do I determine the executable version number?

    Hi. I have a VI and a build specification for it.  In the Version Information section of the build specification, I set the version number to auto-increment.  I would like to display this version number on an indicator on the front panel of the execu

  • Problems with mobileme syncing ...

    Hi everyone. I'm having massive problems with mobileme sync with my iphone, my macbook and MacPC G5. Essentially I want the iphone contacts and calender data to overwrite anything on laptop and pc but I keep getting message that contacts couldn't be

  • Applicatio​n builder default control value

    I have a VI the reads a data file.  When I build an application and transfer the application to another computer the default directory is no longer valid.  Is there anyway to allow the user to establish a default directory for the file read on his co

  • Non-Oracle connection through HS issue

    Greetings! I have created a HS to a MySQL server and from SQL> this works fine as a dblink create database link "dvb_mysqllink" connect to "sord_ro" identified by "<pwd>" using 'mysqlSORDdev_cmdb'; SQL> select 'foo' from dual@dvb_mysqllink; 'FOO' foo