[MOBY-l] Non-default registryname handling inMOBY::Client::Central.pm

mark wilkinson markw at illuminae.com
Fri Jun 3 11:16:07 UTC 2005


The easiest way to get the perl libraries to talk to a non-standard mobycentral is to set two environment variables:  MOBY_SERVER and MOBY_URI.

MOBY_SERVER=http://your.server/path/to/mobycentral.pl

MOBY_URI=http://your.server/MOBY/Central

(The latter is exactly as typed above, just change the domain name section, nothing else)

There are other ways too, but this is the easiest. See the MOBY::Client::Central documentation for all the gorey details, including querying multiple mobycentrals.

Good luck!

Mark

-----Original Message-----
From: Ulrich Harttig <harttig at mail.dife.de>
Date: Fri, 03 Jun 2005 10:17:23 
To:moby-l at biomoby.org
Subject: [MOBY-l] Non-default registryname handling in
	MOBY::Client::Central.pm

Dear all

I'm using biomoby with my own local MOBY Central Registry (Perl version)
I noticed that when I try to use a registry with a name different from
'mobycentral' then Service registration does not work. The problem here
seems to be that the registerXXX functions in the MOBY/Client/Central.pm
module do not care about the registry name but pass 'default' to the
_call function causing it to look forever for a not-exisiting connection
with the default 'mobycentral' name (endless loop in $self->Connection(
$reg ).
I wonder if there is a reason for this behavior or did I miss something
here ?  For instance the retrieveXXXX functions all accept a parameter
defining the registry name.

The biomoby version I use was retrieved from cvs on 24. Mai 2005,
MOBY/Client/Central.pm has version No 1.94
Thanks for your help

Best regards
Ulrich Harttig

-- 
Ulrich Harttig. Ph.D
German Institute of Human Nutrition Potsdam-Rehbruecke
Dept. of Epidemiology
Arthur-Scheunert-Allee 114-116, 14558 Nuthetal, Germany
phone: +49 (0)33200 88-729, fax: +49 (0)33200 88-721 

_______________________________________________
moby-l mailing list
moby-l at biomoby.org
http://biomoby.org/mailman/listinfo/moby-l

--
Mark Wilkinson
...on the road!



More information about the moby-l mailing list