webMethods

webMethods

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.

 View Only
Expand all | Collapse all

How to get whole ino:response?

  • 1.  How to get whole ino:response?

    Posted Tue January 29, 2002 07:56 AM

    I tried to look at the sample codes, but couldn’t find the coding teaching how to get the whole ino:response at the new Java API. Before, we could simply getResult to get it.

    How can I do so? I don’t want to iterate one by one. In fact, I want to get the whole ino:response, ino:result subtree would be much preferred because I want to use XSLT to make the result to HTML page.

    I’m using xerces’s dom, but not jdom.

    Thanks for any help.

    p.s. I’m still playing with it, but no success…

    nil

    [This message was edited by Mullin on 29 Jan 2002 at 08:00.]


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


  • 2.  RE: How to get whole ino:response?

    Posted Tue January 29, 2002 11:14 AM

    You can use instead of the TXMLObjectAccessor the
    TStreamAccessor.

    Example:

    TStreamAccessor accessor = connection.newStreamAccessor( TAccessLocation.newInstance(“ino:response”));

    In this way you get the whole data without any preparation.


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