[MOBY-l] Java CentralImpl call problem

Martin Senger martin.senger at gmail.com
Mon Oct 8 17:37:33 UTC 2007


Hi,

                String response = new
> CentralImpl("
> http://mobycentral.icapture.ubc.ca/cgi-bin/MOBY05/mobycentral.pl",
> "http://biomoby.org/").call(mr.getService().getName(),inputXMLString);


The problem may be with your parameters to the constructor of the
CentralImpl. They should be an endpoint and a registry namespace. Therefore,
at least for the default registry, the second parameter should be
http://mobycentral.icapture.ubc.ca/MOBY/Central. However, if you wish to
call the default registry, better to use the no-arg constructor (just new
CentralImpl() ).

I wonder if this does it solve your problem... [if not, we will find a
different solution :-) ]

Cheers,
Martin

-- 
Martin Senger
   email: martin.senger at gmail.com
   skype: martinsenger



More information about the moby-l mailing list