You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by jb...@apache.org on 2002/05/07 14:30:01 UTC
cvs commit: xml-xindice/java/scratchpad/src/org/apache/xindice/client/rpc/base CollectionImpl.java
jbates 02/05/07 05:30:01
Modified: java/scratchpad/src/org/apache/xindice/client/rpc/base
CollectionImpl.java
Log:
Further work on query services
Revision Changes Path
1.2 +5 -3 xml-xindice/java/scratchpad/src/org/apache/xindice/client/rpc/base/CollectionImpl.java
Index: CollectionImpl.java
===================================================================
RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/client/rpc/base/CollectionImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CollectionImpl.java 6 May 2002 14:43:02 -0000 1.1
+++ CollectionImpl.java 7 May 2002 12:30:01 -0000 1.2
@@ -54,7 +54,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
- * $Id: CollectionImpl.java,v 1.1 2002/05/06 14:43:02 jbates Exp $
+ * $Id: CollectionImpl.java,v 1.2 2002/05/07 12:30:01 jbates Exp $
*/
package org.apache.xindice.client.rpc.base;
@@ -93,8 +93,8 @@
/* Named service classes map to instantiate for each collection */
private static String[] serviceClassesMap =
- { "org.apache.xindice.client.modules.XPathQueryServiceImpl",
- "org.apache.xindice.client.modules.XUpdateQueryServiceImpl" };
+ { "org.apache.xindice.client.rpc.modules.XPathQueryServiceImpl",
+ "org.apache.xindice.client.rpc.modules.XUpdateQueryServiceImpl" };
/* Instantiated named services map */
private Hashtable servicesMap = new Hashtable();
@@ -611,6 +611,8 @@
params.put(RPCDefaultMessage.COLLECTION, collPath);
params.put(RPCDefaultMessage.TYPE, queryLang);
params.put(RPCDefaultMessage.NAMESPACES, nsMap);
+ params.put(RPCDefaultMessage.QUERY, query);
+
if (name != null) {
params.put(RPCDefaultMessage.NAME, name);