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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  set a name to doc

    Posted 09/04/07 04:06 PM

    hi all,
    I just want to use the trial method “setDocname” of TXMLObject. But I don’t have any idea, why it does not work. After setting the docname, the variable “docname” of tObject is =“”. After inserting the tObject, this file has the ino:id as docname.
    Hier is a snapshot of my code:

    File xmlFile = new File(path);
    TXMLObject tObject = TXMLObject.newInstance(xmlFile);
    tObject.setDocname("test");
    TResponse response=accessor.insert(tObject);

    Best Regards,
    mz


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


  • 2.  RE: set a name to doc

    Posted 09/06/07 11:33 AM

    Could I have the complete code along with the code that proves that the docname returned is inoId.

    I ask this because, this works absolutely fine on my side.

    I would also like to have the version of TaminoAPI4J that you are using. Probably all the information in the manifest.mf file in the TaminoAPI4J.jar would be sufficient


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


  • 3.  RE: set a name to doc

    Posted 09/18/07 11:15 AM

    sorry for late response.
    The problem is that, the docname is not displayed by debugging in eclipse. But it works. The docname exists in the document in the database.
    Thank you very much.

    mz


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