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.  Creating Documents

    Posted 01/04/05 05:13 PM

    I need to be able to demonstrate how Java API documents are created…


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


  • 2.  RE: Creating Documents

    Posted 01/06/05 12:26 PM

    Hello Martyn,
    Assuming you are developing with the Tamino API for Java (TaminoAPI4J) you can use any of the static constructor methods of the TXMLObject to create a new document. For example [where ?content? is a String containing valid, well-formed xml]:

    TXMLObject xmlObject = TXMLObject.newInstance(content);


    Once you have created a document object like this, you can insert it using the TXMLObjectAccesor’s insert(TXMLObject) method. You are recommended not to use the older Http Client API for new projects.
    Does this help?
    Regards
    Bill


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