[MOBY-guts] biomoby commit

senger@ebi.ac.uk senger at pub.open-bio.org
Tue Mar 9 00:20:13 UTC 2004


senger
Mon Mar  8 19:20:13 EST 2004
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory pub.open-bio.org:/tmp/cvs-serv17010/src/main/org/biomoby/client

Modified Files:
	CentralImpl.java 
Log Message:
service response object fixed

moby-live/Java/src/main/org/biomoby/client CentralImpl.java,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2003/11/25 13:18:10	1.6
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2004/03/09 00:20:13	1.7
@@ -380,6 +380,8 @@
      *    <Service authURI="authority.URI.here" serviceName="MyService">
      *      <serviceType>Service_Ontology_Term</serviceType>
      *      <Category>moby</Category> <!-- or 'cgi' or 'soap' -->
+     *      <URL>http://service.endpoint.here/scriptname</URL>
+     *      <contactEmail>your at email.addy.here</contactEmail>
      *      <authoritative>1</authoritative>
      *      <Input>
      *           <!-- one or more Simple and/or Complex Primary articles -->
@@ -416,6 +418,10 @@
 		    service.setDescription (children.item (j).getFirstChild().getNodeValue());
 		} else if (nodeName.equals ("Category")) {
 		    service.setCategory (children.item (j).getFirstChild().getNodeValue());
+		} else if (nodeName.equals ("URL")) {
+		    service.setURL (children.item (j).getFirstChild().getNodeValue());
+		} else if (nodeName.equals ("contactEmail")) {
+		    service.setEmailContact (children.item (j).getFirstChild().getNodeValue());
 		} else if (nodeName.equals ("serviceType")) {
 		    service.setType (children.item (j).getFirstChild().getNodeValue());
 		} else if (nodeName.equals ("authoritative")) {




More information about the MOBY-guts mailing list