[MOBY-guts] biomoby commit
senger@ebi.ac.uk
senger at pub.open-bio.org
Fri Nov 12 23:02:31 UTC 2004
senger
Fri Nov 12 18:02:31 EST 2004
Update of /home/repository/moby/moby-live/Java/src/Services/org/biomoby/service
In directory pub.open-bio.org:/tmp/cvs-serv12053/src/Services/org/biomoby/service
Modified Files:
EchoImpl.java
Log Message:
command-line client is able now to call services easier
moby-live/Java/src/Services/org/biomoby/service EchoImpl.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Services/org/biomoby/service/EchoImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/Services/org/biomoby/service/EchoImpl.java 2003/11/08 00:36:18 1.1
+++ /home/repository/moby/moby-live/Java/src/Services/org/biomoby/service/EchoImpl.java 2004/11/12 23:02:31 1.2
@@ -10,21 +10,23 @@
implements Echo {
public String echoString (String message) {
- StringBuffer buf = new StringBuffer();
+ return message;
- buf.append ("<?xml version='1.0' encoding='UTF-8'?>\n");
- buf.append (" <moby:MOBY xmlns:moby='http://www.biomoby.org/moby'>\n");
- buf.append (" <moby:Response moby:authority='http://www.illuminae.com'>\n");
- buf.append (" <moby:queryResponse>\n");
- buf.append (" <Simple>");
- buf.append ("FIXED TEXT");
- buf.append (" </Simple>\n");
- buf.append (" </moby:queryResponse>\n");
+// StringBuffer buf = new StringBuffer();
- buf.append (" </moby:Response>\n");
- buf.append (" </moby:MOBY>\n");
+// buf.append ("<?xml version='1.0' encoding='UTF-8'?>\n");
+// buf.append (" <moby:MOBY xmlns:moby='http://www.biomoby.org/moby'>\n");
+// buf.append (" <moby:Response moby:authority='http://www.illuminae.com'>\n");
+// buf.append (" <moby:queryResponse>\n");
+// buf.append (" <Simple>");
+// buf.append ("FIXED TEXT");
+// buf.append (" </Simple>\n");
+// buf.append (" </moby:queryResponse>\n");
- return new String (buf);
+// buf.append (" </moby:Response>\n");
+// buf.append (" </moby:MOBY>\n");
+
+// return new String (buf);
}
}
More information about the MOBY-guts
mailing list