[MOBY-dev] [moby] XML registration

Ed Kawas ed.kawas at gmail.com
Tue Jun 27 15:54:22 UTC 2006


Hi Antonio,

One way you could perform a bulk registration of services is by using the
registerService call with no parameters except for signatureURL (currently
undocumented on the moby website, but if you read the comments for the
registerService sub in the perl module Central.pm you will find some
documentation). 

SignatureURL would point to a file containing the services that you would like
to register in RDF format. One way to get the RDF is to use the LSID resolver
(http://mobycentral.icapture.ubc.ca/LSID_resolver.html, useful for mobycentral
only), an RDF generating servlet
(http://mobycentral.icapture.ubc.ca:8090/servlets/RDFGenerator?name=parseBlastTe
xt&auth=bioinfo.icapture.ubc.ca&uri=YOUR_REGISTRY_NAMESPACE&url=YOUR_REGISTRY_EN
DPOINT, and generates RDF based on any registry as long as you fill in the url,
uri and specify a servicename (name) and service provider authority (auth).

The agent based registration via registerService currently works for mobycentral
and the test registery on bioinfo (or any other registry that has deployed, and
configured the agent).

Let me know if this helps!

Eddie

> -----Original Message-----
> From: Mark Wilkinson [mailto:markw at illuminae.com] 
> Sent: Tuesday, June 27, 2006 8:31 AM
> To: Core developer announcements; Eddie Kawas
> Cc: mobydev
> Subject: Re: [moby] [MOBY-dev] XML registration
> 
> Hi Antonio, 
> 
> I agree that, in hindsight, it would have made more sense for 
> those two blocks of XML to be identical, but they are not.  
> As such, at the moment you will need to do a small amount of 
> manipulation to derive the registerService XML from the 
> findService XML. 
> 
> I'm going to bounce this over to Eddie, since this problem 
> *HAS* been solved with the RDF-based registration, which is 
> an extension of the MOBY API but not yet part of the official 
> API.  Nevertheless, I believe that the functionality exists 
> and is bug-free in the current codebase, so if you wanted to 
> "live on the edge" you could use it.  
> 
> Eddie will be able to indicate what the state of that code 
> is, and when it will become an official part of the API.
> 
> M
> 
> 
> 
> On Mon, 2006-06-26 at 13:06 +0200, "Antonio J. Pérez" wrote:
> >     Hi, I am trying to register a service from a XML file using the 
> > Perl API. But the XML coming from findService function is 
> different to 
> > that accepted by registerService. Is there any way to 
> register a new 
> > service from the XML given by registerService?
> >     Thanks in advance,
> > 
> >     Antonio.
> > _______________________________________________
> > MOBY-dev mailing list
> > MOBY-dev at lists.open-bio.org
> > http://lists.open-bio.org/mailman/listinfo/moby-dev
> -- 
> 
> --
> Mark Wilkinson
> Asst. Professor, Dept. of Medical Genetics University of 
> British Columbia PI in Bioinformatics, iCAPTURE Centre St. 
> Paul's Hospital, Rm. 166, 1081 Burrard St.
> Vancouver, BC, V6Z 1Y6
> tel: 604 682 2344 x62129
> fax: 604 806 9274
> 
> "For most of this century we have viewed communications as a conduit, 
>        a pipe between physical locations on the planet. 
> What's happened now is that the conduit has become so big and 
> interesting 
>       that communication has become more than a conduit, 
>        it has become a destination in its own right..."
> 
>                 Paul Saffo - Director, Institute for the Future
> 





More information about the MOBY-dev mailing list