[MOBY-dev] Small extension to the MOBY Central API

Mark Wilkinson markw at illuminae.com
Fri Sep 14 17:43:29 UTC 2007


Hi all,

I just committed a small extension to the MOBY Central API and the Perl  
Client code.  It makes it easier to reconstruct the Service ontology from  
a call to the registry API (rather than getting the raw RDF from a  
getResourceLocations call).

When you call retrieveServiceTypes on MOBY Central, the returned XML now  
has one additional element "ISA" in it:

<serviceTypes>
<serviceType name="serviceTypeName" lsid="urn:lsid...">
   <Description><![CDATA[free text description here]]></Description>
   <contactEmail>your at email.here</contactEmail>
   <authURI>authority.uri.here</authURI>
*****->>  <ISA lsid="urn:lsid...">parentTypeName</ISA>
</serviceType>
   ...
   ...
</serviceTypes>


ISA provides the immediate parent of a Service ontology term (or is blank  
if you're at the root node).  The lsid attribute provides the lsid of that  
parent term (or is blank).  the ISA element is always provided.

Hopefully that will be useful to others, and hopefully wont break anyone!  
...it shouldn't... it's just one extra tag, the rest of the message is  
unchanged.

Please alert me if this breaks anything and I'll roll-back.  All tests  
pass from the Perl side.  Eddie, can you check the Java side?

M



-- 
--
Mark Wilkinson
Assistant Professor, Dept. Medical Genetics
University of British Columbia
PI Bioinformatics
iCAPTURE Centre, St. Paul's Hospital
Tel:  604 682 2344 x62129
Fax:  604 806 9274

***CONFIDENTIALITY NOTICE***
This electronic message is intended only for the use of the addressee and  
may contain information that is privileged and confidential.  Any  
dissemination, distribution or copying of this communication by  
unauthorized individuals is strictly prohibited. If you have received this  
communication in error, please notify the sender immediately by reply  
e-mail and delete the original and all copies from your system.
 




More information about the MOBY-dev mailing list