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

API-bug? Error using TStreamObjectModel

  • 1.  API-bug? Error using TStreamObjectModel

    Posted Wed January 16, 2002 05:21 PM

    Writing my BMP EJB I create a TXMLObjectAccessor object for my connection using the newXMLObjectAccessor() method with TStreamObjectModel.getInstance() as last parameter. When I perform a query, I get the error:

    java.lang.reflect.UndeclaredThrowableException

    But when I use TDOMObjectModel or TJDOMObjectModel, it works fine!? Is the TStreamObjectModel not implemented yet, or did I forget to include an extra .jar file?

    Has anyone been able to use the TStreamObjectModel so far?


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


  • 2.  RE: API-bug? Error using TStreamObjectModel

    Posted Thu January 17, 2002 12:47 PM

    Nevermind, it’s a classpath thing. Adding jdom.jar to the server classpath fixes the problem. (Obviously the Tamino API for Java uses JDOM classes also for creating TStreamObjectModels)


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