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
  • 1.  Tamino Api and count()

    Posted Fri August 17, 2001 12:36 PM

    Hi all,
    we are using tamino ver 2.2.1.9 and accesing to the db via the tamino Api for Java.
    The following query works well from the Tamino Interactive Interface but gives a Servlet error 500 when using it in the tamino.query method.

    count(myDoctype[myChild=“child1”])

    Any idea?
    Does anyone experienced problems when using xquery functions and the java Api?

    Thanks.

    Gorka.


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


  • 2.  RE: Tamino Api and count()

    Posted Wed August 29, 2001 04:46 PM

    The following works for me against a more recent TaminoClient.jar:

    TaminoClient tamino = new TaminoClient(“http://localhost/tamino/auto-test-db/ino:etc”);

    TaminoResult res = tamino.query(“count(*)”);

    System.out.println("res: "+res.toXmlString());


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