[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Jan 17 17:06:43 UTC 2008


gordonp
Thu Jan 17 12:06:43 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv22527/src/main/org/biomoby/client

Modified Files:
	AsyncClient.java 
Log Message:
Gave proper XML namespace definitions for a couple of WSRP tags (JAX-WS loaded xerces created errors)
moby-live/Java/src/main/org/biomoby/client AsyncClient.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/AsyncClient.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/AsyncClient.java	2007/05/31 13:42:51	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/AsyncClient.java	2008/01/17 17:06:43	1.3
@@ -178,7 +178,9 @@
 						     MobyPrefixResolver.WSRP_NAMESPACE));
 	// Add content
 	for(String queryId: queryIds){
-	    bodyElement.addChildElement(MobyPrefixResolver.WSRP_PREFIX+":"+WSRP_PROPERTY_TAG_NAME)
+	    bodyElement.addChildElement(envelope.createName(WSRP_PROPERTY_TAG_NAME,
+							    MobyPrefixResolver.WSRP_PREFIX,
+							    MobyPrefixResolver.WSRP_NAMESPACE))
 		.addTextNode("status_" + queryId);
 	}
 
@@ -378,7 +380,9 @@
 									   MobyPrefixResolver.WSRP_NAMESPACE));
 	// Add content
 	for(String queryId: queryIds){
-	    bodyElement.addChildElement(MobyPrefixResolver.WSRP_PREFIX+":"+WSRP_PROPERTY_TAG_NAME)
+	    bodyElement.addChildElement(envelope.createName(WSRP_PROPERTY_TAG_NAME,
+							    MobyPrefixResolver.WSRP_PREFIX,
+							    MobyPrefixResolver.WSRP_NAMESPACE))
 		.addTextNode(MOBY_RESULT_PROPERTY_PREFIX + queryId);
 	}
 




More information about the MOBY-guts mailing list