Right I see. I am using OGSA which is a Web serivce system build on axis, so they must be using an older verison.
I fixed the problem, the error was implementing the toString method on my custom type. Thanks, Charles >You must be using an old version since there is no >getDeserializerForClass method in DeserializationContextImpl in Axis >1.1. If possible you should upgrade. > >stephen > >Charles Kubicek wrote: > > Hi, > I have a Web service method that takes two paramaters; a user defined > type containing a few Strings, and a string. To begin with I got an > error saying a deserializer could not be found for my user defined type, > so I added the correct lines to my .wsdd file so a bean deserializer > could be used for deserialization. That solved that error, now I get an > error that says : > > org.apache.axis.encoding.DeserializationContextImpl > [getDeserializerForClass:517] ERROR: No deserializer for > java.lang.String > > How am I supposed to deserialize a String? My entry in my .wsdd file is > this: > > <beanMapping qname="myNS:ResourceDescription" > xmlns:myNS="urn:poolManager/core/factory/poolManagerService" > languageSpecificType="java:GridSHEDCore.GenericSchedulingObjects.Resourc > eDescription"/> > > I have used this method of deserialization before sucessfully. Has > anyone seen this error before? Any suggestions? > > Thanks, Charles > >
