[MOBY-dev] Re: retrieveObjectDefinition

Martin Senger senger at ebi.ac.uk
Fri Jun 20 10:48:38 UTC 2003


Mark,
   I have added this method into jMoby (I will commit it soon). It works
fine as long as one does not ask for a non-existing data type name. In
which case the error message returned from Moby is rather strange. I think
that it should return an empty "registerObjectClass" tag.

   Regards,
   Martin

Here is the error mrssage:

METHOD CALL: retrieveObjectDefinition
------------
<retrieveObjectDefinition><objectType>hadry</objectType></retrieveObjectDefinition>

------------

===ERROR===
org.biomoby.shared.MobyException: ===ERROR===
Fault details:
[stackTrace: null]
Fault string: Can't use string ("") as a HASH ref while "strict refs" in
use at MOBY/Central.pm line 2169.

Fault code:   {http://schemas.xmlsoap.org/soap/envelope/}Server
Fault actor:  null
When calling:
        http://mobycentral.cbr.nrc.ca/cgi-bin/MOBY05/mobycentral.pl
===========

        at org.biomoby.client.CentralImpl.doCall(CentralImpl.java:158)
        at
org.biomoby.client.CentralImpl.getDataType(CentralImpl.java:645)
        at MobyCmdLineClient.main(MobyCmdLineClient.java:159)
===========


-- 
Martin Senger

EMBL Outstation - Hinxton                Senger at EBI.ac.uk     
European Bioinformatics Institute        Phone: (+44) 1223 494636      
Wellcome Trust Genome Campus             (Switchboard:     494444)
Hinxton                                  Fax  : (+44) 1223 494468
Cambridge CB10 1SD
United Kingdom                           http://industry.ebi.ac.uk/~senger




More information about the MOBY-dev mailing list