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

Unable to run XQueries using Quip 2.2.1.1

  • 1.  Unable to run XQueries using Quip 2.2.1.1

    Posted Mon January 20, 2003 07:18 AM

    I am unable to connect to the Tamino server through Quip whereas my code works when executing XQueries on the xml file in the filesystem.

    Here is the part of the code at my end -

    Properties prop = new Properties();
    String x = “http://localhost/tamino/mydb” ;
    prop.put(“quipcmd”,“E:\Tamino/QuiP/quip.exe” );
    prop.put(“qmachineoptions”,“+RTS -M200M -RTS”);
    String query=“for $a in document("file:E:\Small/Small.xml")//AtomicPart return $a”;
    Connection connect = DriverManager.getConnection( “http://localhost/tamino/mydb”, (Properties)prop );
    QueryResult result = connect.executeQuery(query);
    System.out.println(result.getRawString());

    The connect variable returned is NULL though the server is running. The same works when i connect to the file on the filesystem.
    It would be really helpful if you could suggest a solution to it.


    #API-Management
    #Tamino
    #webMethods