[MOBY-guts] biomoby commit

senger@ebi.ac.uk senger at pub.open-bio.org
Thu Nov 20 17:08:47 UTC 2003


senger
Thu Nov 20 12:08:47 EST 2003
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory pub.open-bio.org:/tmp/cvs-serv23931/src/main/org/biomoby/client

Modified Files:
	CentralImpl.java 
Log Message:
SOAPAction header added

moby-live/Java/src/main/org/biomoby/client CentralImpl.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2003/11/08 00:27:24	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2003/11/20 17:08:47	1.4
@@ -133,6 +133,9 @@
 	    Service service = new Service();
 	    call = (Call) service.createCall();
 	    call.setTargetEndpointAddress (endpoint);
+
+	    call.setSOAPActionURI (uri + "#" + method);
+
 	    if (debug) {
 		System.err.println ("METHOD CALL: " + method);
 		System.err.println ("------------");
@@ -1067,6 +1070,9 @@
 		buf.append (tmp[i]);
 	    return new String (buf);
 	}
+	if (result instanceof byte[])
+	    return new String ((byte[])result);
+
 	throw new MobyException ("Unknown type of result: " + result.getClass().getName());
     }
 




More information about the MOBY-guts mailing list