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
Expand all | Collapse all

Insert Xml data into Xml database which has mapping with SQL

  • 1.  Insert Xml data into Xml database which has mapping with SQL

    Posted Mon October 15, 2001 02:38 PM

    Hi all,
    I am facing problem with inserting xml file into xml database. In the schema i have defined the fields which are mapped with the SQL database.

    If i am inserting a xml file through Interactive interface, it is inserting, but if i am inserting using Java Program then it is giving problem,

    can anyone help me regarding this.
    thanks and regards,
    Rajpal


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


  • 2.  RE: Insert Xml data into Xml database which has mapping with SQL

    Posted Tue October 23, 2001 12:42 PM

    If you are using the Tamino Java API to insert the document then you can find out what the error is. So if you do:

    code:

    TaminoResult tr=process(elem, col, doctype);
    System.out.println (tr.getReturnValue()+" "+tr.getMsgText()) ;

    The other thing to do is to set the trace on the TaminoClient calls with the method setTrace(boolean) of the TaminoClient class. This may provide clues.


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