In the book Axis next generation java soap by Romin Irani. Chapter 5. However I am 
posting about this is I cannot get the tutorial to work.

Whether I use the BeanDeserializer or my own custom deserializer i get this error

Error :  org.xml.sax.SAXException: Deserializing parameter 'arg1':  could not fi
nd deserializer for type {urn:BeanService}ArgumentSet

Although it registered in the wsdd

<typeMapping xmlns:ns="http://soapinterop.org/xsd";
        qname="ns:com.freeserve.fsmap.ArgumentSet"
        type="java:com.freeserve.fsmap.ArgumentSet"
        serializer="com.freeserve.fsmap.encoding.FSSerializerFactory"
        deserializer="com.freeserve.fsmap.encoding.FSDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

and in the client class

 call.registerTypeMapping(ArgumentSet.class, qn, FSSerializerFactory.class, 
FSDeserializerFactory.class, t);

madness! the same thing happens if I use the default BeanDeserializer. The serializer 
works however and all the required classes are under the axis WEB-INF/classes/ dir.

Any help on this is appreciated.

OOops, hijacked your post: ok the basic path is 1) Create serializer and deserializer 
factories 2) create serializer and deserializer classes. 3) register them via wsdd and 
the client ( see above ).

Check the Axis source coe for an example.

i can post my simple serializers as sample if you like


Regards

Russell

-----Original Message-----
From: jimmy coyne [mailto:jimmy.coyne@;engitech.ie]
Sent: 05 November 2002 14:46
To: [EMAIL PROTECTED]
Subject: Deserializer /Serializer examples


Does any body  know where to find a good custom
Deserializer /Serializer examples or tutorials.

thanks

Jimmy



Reply via email to