[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Fri Dec 7 20:28:31 UTC 2007


gordonp
Fri Dec  7 15:28:31 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv2301/src/main/org/biomoby/client

Modified Files:
	MobyRequest.java 
Log Message:
Made response parsing registry-aware
moby-live/Java/src/main/org/biomoby/client MobyRequest.java,1.28,1.29
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2007/11/30 17:23:16	1.28
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2007/12/07 20:28:31	1.29
@@ -304,7 +304,7 @@
 	    Call call = getServiceFromWSDL();
 	    mobyDOM = performSOAPRequest(call, mobyXML, contentsXML);
 	    // The following parses the DOM and extracts all the appropriate jMOBY objects to represent the XML in Java
-	    return MobyDataUtils.fromXMLDocument(mobyDOM);  
+	    return MobyDataUtils.fromXMLDocument(mobyDOM, mobyService.getServiceType().getRegistry());  
 	}
     }
 
@@ -339,7 +339,7 @@
 		    // Parse and merge the new data into the existing contents
 		    InputStream resultStream = AsyncClient.getResultStream(epr, newDataAvailable);
 		    Element mobyDOM = asyncSoapTextToMobyDOM(resultStream);
-		    MobyContentInstance newResults = MobyDataUtils.fromXMLDocument(mobyDOM);
+		    MobyContentInstance newResults = MobyDataUtils.fromXMLDocument(mobyDOM, mservice.getServiceType().getRegistry());
 		    // The merge
 		    for(String jobid: newResults.keySet()){
 			finalContents.put(jobid, newResults.get(jobid));




More information about the MOBY-guts mailing list