TaminoClient Java API

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

Thanks in advance.

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.

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.

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.

The 2.2.1.9 API should work with 1.2.+

regards

Nigel Hutchison

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

jach

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);

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

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 =)

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

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

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