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.

 View Only
Expand all | Collapse all

TaminoClient Java API

  • 1.  TaminoClient Java API

    Posted Tue May 15, 2001 10:46 PM

    Where i can find TaminoClient Java API and the API documentation?

    Thanks in advance.


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


  • 2.  RE: TaminoClient Java API

    Posted Wed May 16, 2001 10:13 AM

    Prerequisites:
    you have Tamino installation

    You can find javadocs for TaminoClient API in the following directory :

    \WINDOWS \INO\Docu\ domapi\jdoc8_3<P>Class files in the :

    \Tamino 2.2.1.9\SDK\JavaDOM API\taminoclient.jar

    Hope this will help.


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


  • 3.  RE: TaminoClient Java API

    Posted Wed May 16, 2001 10:47 AM

    Thanks, but i have installed Tamino 1.2.1.5 and this version doesn’t includes the taminoclient.jar

    Could you send me the jar file and the documentation?

    Thanks in advance.


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


  • 4.  RE: TaminoClient Java API

    Posted Wed May 16, 2001 03:06 PM

    The Java API for Tamino 1.2.1.5 was not released with the product but was downloadable from Software AG’s web site. This link no longer exists because Tamino 2.2 is current version. Maybe someone still has the old java API.


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


  • 5.  RE: TaminoClient Java API

    Posted Tue July 24, 2001 02:11 AM

    The 2.2.1.9 API should work with 1.2.+

    regards

    Nigel Hutchison


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


  • 6.  RE: TaminoClient Java API

    Posted Tue July 24, 2001 07:02 AM

    I do have taminoclient.jar but why is it that when i compile my java prog it is still unable to find taminoclient?

    jach


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


  • 7.  RE: TaminoClient Java API

    Posted Tue July 24, 2001 09:40 AM

    Have you ensured that your java classpath includes the taminoclient.jar and that you are using the correct case for the classes, i.e.

    TaminoClient tc = new TaminoClient(url);


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


  • 8.  RE: TaminoClient Java API

    Posted Tue July 24, 2001 09:51 AM

    I omitted to mention that you will also need an import statement in your java program i.e.

    import com.softwareag.tamino.API.dom.*;

    regards

    mjranson


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


  • 9.  RE: TaminoClient Java API

    Posted Wed July 25, 2001 08:46 AM

    yes i have
    “import com.softwareag.tamino.API.dom.*;” in my java program. And i think I should have specified the classpath. It was in the installation instructions of the starterkit right? Mind is a lil in a mess now with Java because am still trying to pick it up. Where can i confirm if i have specified my classpath appropriately

    Thanks =)


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


  • 10.  RE: TaminoClient Java API

    Posted Wed July 25, 2001 09:27 AM

    Maybe if i let you see this error text that i got from compiling the prog it will help you better understand my problem. I assume that all the necessary classpath and configurations setting should have been set appropriately during the installation of the starterkit or am i wrong in my assumption? Or is it a limitation because the starter kit is only an evaluation copy. Sorry for sounding so ignorant, am really just starting out with xml and java so i can be quite confused. Would really like to thank everyone who has helped me smiles


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


  • 11.  RE: TaminoClient Java API

    Posted Wed July 25, 2001 09:30 AM

    sorry can’t seem to upload the attachment but here it is:

    C:\WINNT\Profiles\p935y00\Personal\Visual Studio Projects\Project1>java DemoQuer
    y http://localhost/tamino/RealEstate/Property
    java.lang.ClassNotFoundException: com.jclark.xml.sax.Driver
    java.lang.ClassNotFoundException: com.jclark.xml.sax.Driver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.docuverse.dom.util.SAXReader.createParser(SAXReader.java:174)
    at com.docuverse.dom.util.SAXReader.createParser(SAXReader.java:139)
    at com.docuverse.dom.util.SAXReader.read(SAXReader.java:69)
    at com.docuverse.dom.DOM.readDocument(DOM.java:178)
    at com.softwareag.tamino.API.dom.TaminoClient.getTaminoResult(TaminoClie
    nt.java, Compiled Code)
    at com.softwareag.tamino.API.dom.TaminoClient.getTaminoResult(TaminoClie
    nt.java:1129)
    at com.softwareag.tamino.API.dom.TaminoClient.getResultByPost(TaminoClie
    nt.java:830)
    at com.softwareag.tamino.API.dom.TaminoClient.startSession(TaminoClient.
    java:598)
    at DemoQuery.main(DemoQuery.java, Compiled Code)
    java.lang.ClassNotFoundException: com.microstar.xml.SAXDriver
    java.lang.ClassNotFoundException: com.jclark.xml.sax.Driver
    java.lang.ClassNotFoundException: com.ibm.xml.sax.Driver


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


  • 12.  RE: TaminoClient Java API

    Posted Wed July 25, 2001 10:23 AM

    It looks like the only classes you have on the classpath are the Tamino API classes. In addition to these the API needs to be able to parse documents and other classes are required and need to be on the classpath, i.e. xp.jar, domsdk.jar, sax.jar and w3cdom1.jar. These are also included in jar files with the Tamino installation in \Software AG\Tamino\Tamino 2.2.1.9\Bin.

    Therefore the minimum you require on the classpath is:

    \Software AG\Tamino\Tamino 2.2.1.9\SDK\JavaDOM API\taminoclient.jar;\Software AG\Tamino\Tamino 2.2.1.9\Bin\xp.jar;\Software AG\Tamino\Tamino 2.2.1.9\Bin\domsdk.jar;;\Software AG\Tamino\Tamino 2.2.1.9\Bin\sax.jar;;\Software AG\Tamino\Tamino 2.2.1.9\Bin\w3cdom1.jar;

    The Tamino Documentation does mention these under
    >Document Object Model (DOM) APIs
    >HTTP Client API for Java
    >Introduction
    >Technical prerequisites
    but it is regrettably vague as to what you should precisely do with them.

    Hope this sorts your problem.

    mjranson


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