[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Jan 23 18:59:19 UTC 2008


gordonp
Wed Jan 23 13:59:19 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv11824/src/main/org/biomoby/client

Modified Files:
	MobyRequest.java 
Log Message:
Fixed sync call to async service
moby-live/Java/src/main/org/biomoby/client MobyRequest.java,1.35,1.36
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2008/01/08 15:26:55	1.35
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2008/01/23 18:59:19	1.36
@@ -272,7 +272,7 @@
      * @throws SOAPException i.e. there was a problem with the underlying transaction/transport layer
      */
     public MobyContentInstance invokeService() throws Exception, MobyException, SOAPException, NoSuccessException{
-	return invokeService(inputData, (StringBuffer) null);
+	return mobyService.isAsynchronous() ? invokeService(inputData, new StringBuffer()) : invokeService(inputData, (StringBuffer) null);
     }
 
     // Used internally for asynchronous thread calls that all need the XML data




More information about the MOBY-guts mailing list