Re: [greenstone-users] Greenstone3 SOAP service errors: ServiceRack.java

From sw64@cs.waikato.ac.nz
DateTue, 26 Jun 2007 14:43:32 +1200 (NZST)
Subject Re: [greenstone-users] Greenstone3 SOAP service errors: ServiceRack.java
In-Reply-To (256A60A2-F4D1-424A-B957-AEBF0A39D590-cs-waikato-ac-nz)
Hello Steve,

It seemed that an exception occured in those methods which could be any
exception such as Null point exception etc (Greenstone3 suppressed those
exceptions so that you only saw
java.lang.reflect.InvocationTargetException
). My guess is that the requests were ill-formed. You need to do some
debug coding to find out the cause. I could help you with that after I
return from FiJi, or you could send me the files in
GSDL3HOME/src/java/org/greenstone3/gsdl3/service in a zip file and I will
add debug code for you.

Regards
Shaoqun


> Hi
>
> I'm sending properly formed SOAP envelopes to my Greenstone3 server
> to invoke TextQuery, ClassifierBrowse, DocumentContentRetrieve,
> DocumentMetadataRetrieve services.
>
> TextQuery requests work fine.
> I can't get any "retrieve" or "browse" type process requests to work.
>
>
> "retrieve" requests return an error of the form
>
> Trying to call a processService type method
> (processDocumentMetadataRetrieve) on a subclass
> (org.greenstone.gsdl3.service.GS2MGPPRetrieve), but an exception
> happened:java.lang.reflect.InvocationTargetException
>
> "browse" requests return an error of the form
>
> Trying to call a processService type method (processClassifierBrowse)
> on a subclass(org.greenstone.gsdl3.service.GS2Browse), but an
> exception happened:java.lang.reflect.InvocationTargetException
>
>
> These errors are generated by org/greenstone/gsdl3/service/
> ServiceRack.java
>
> The methods don't seem to belong to GS2MGPPRetrieve or GS2Browse.
> ClassifierBrowse is a method of AbstractBrowse, for example.
>
> Is this a bug? It also happened with greenstone.org/greenstone3
> collections.
>
> Can anyone help?
> Cheers
> Steve
>
> _________________________
> Steve Jones
> Associate Professor, Computer Science
> University of Waikato
> Private Bag 3105
> Hamilton, New Zealand
> stevej@cs.waikato.ac.nz
>
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>