IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  Error (INOXRE8814) while inserting an XML doc

    Posted Fri October 04, 2002 12:13 PM

    Hi all,

    I have inserted the po.tsd into tamino (3.1.1.4). It all worked fine.

    When I try to insert an xml-instance (po.xml) I always receive the following error. The server is alive and the po.xml is valid when checking it against po.tsd…

    *************************************************
    Access failed:Access Failure:
    ReturnValue:8814
    Code:INOXRE8814
    MessageText:Element/attribute name not found
    MessageLine:Line 1, Column 1: Element name = purchaseOrder
    com.softwareag.tamino.db.API.accessor.TInsertException
    Access Failure:
    ReturnValue:8814
    Code:INOXRE8814
    MessageText:Element/attribute name not found
    MessageLine:Line 1, Column 1: Element name = purchaseOrder
    at
    com.softwareag.tamino.db.API.accessor.TAccessFailureVerifier.verifyIn
    sertResponse(TAccessFailureVerifier.java:40)
    at
    com.softwareag.tamino.db.API.accessor.TXMLObjectAccessorImpl.insert(T
    XMLObjectAccessorImpl.java:93)
    at com.jaxfront.tamino.test.InsertPO.performInsert(InsertPO.java)
    at com.jaxfront.tamino.test.InsertPO.show(InsertPO.java)
    at com.jaxfront.tamino.test.InsertPO.main(InsertPO.java)

    ***********************************************

    any idea?
    po.TSD (2.81 KB)


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 2.  RE: Error (INOXRE8814) while inserting an XML doc

    Posted Fri October 04, 2002 03:46 PM

    Could you please attach the code you are using and the po.xml instance you are trying to insert?

    Thanks.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 3.  RE: Error (INOXRE8814) while inserting an XML doc

    Posted Fri October 04, 2002 04:15 PM

    I now that my XML-Stream in the code example is not a valid po-instance. But anyway, the same error occurs also when I am trying to insert th attached valid po.xml-instance through the XPlorer-Tool!

    (I gonna attach the code + xml)
    InsertPO.txt (6.28 KB)


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 4.  RE: Error (INOXRE8814) while inserting an XML doc

    Posted Fri October 04, 2002 04:16 PM

    this is a valid po instance according to the po.tsd schema.
    po.xml (906 Bytes)


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods


  • 5.  RE: Error (INOXRE8814) while inserting an XML doc

    Posted Fri October 04, 2002 04:54 PM

    Hello

    Two things to fix the error:
    1. Define a doctype in your schema in Tamino Schema Editor.
    2. Remove xsi:noNamespaceSchemaLocation attribute or explicitely define it (this version of Tamino has no idea what it means).


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods


  • 6.  RE: Error (INOXRE8814) while inserting an XML doc

    Posted Fri October 04, 2002 05:06 PM

    First the java program problem:

    The hardcoded xml instance in your java program is rejected because it violates the minOccurs constraint on element “shipTo” (which must occur once and once only according to the schema).

    Second the problem with po.xml:

    The root node of your xml instance, po.xml, has a couple of undefined attributes: xsi:noNamespaceSchemaLocation=“po.xsd” and xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”. If I remove these attributes your instance stores fine with X-Plorer.

    So you could define your schema with open content, or you could define these attributes in the schema (although I’m not sure about the namespaces issue here).

    If you want to use closed content and you can’t find a way to define your schema suitably, could you please re-post your question in the Schema Editor/Tamino Schema Forum.

    HTH


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods