We're in the process of integrating our own (de)serializers into a project of ours. You have to register the serializers in the deploy.wsdd, the <Service>BindingStub and in the *_Helper files.
We've got an ant task that does that for us. I'll try to post our experiences (with JAXB) later today. Cheers, Rutger > -----Original Message----- > From: Harm de Laat [mailto:[EMAIL PROTECTED] > Sent: Monday, February 21, 2005 1:32 PM > To: axis-user@ws.apache.org > Subject: Re: Need info on (De)Serializers > > > Also don't forget to change the BindingStub.... > > IE: > > public StockQuoteSOAPBindingStub(javax.xml.rpc.Service service) > throws > org.apache.axis.AxisFault { > if (service == null) { > super.service = new org.apache.axis.client.Service(); > } else { > super.service = service; > } > java.lang.Class cls; > javax.xml.namespace.QName qName; > java.lang.Class castorsf = > > org.apache.axis.encoding.ser.castor.CastorSerializerFactory.class; > java.lang.Class castordf = > > org.apache.axis.encoding.ser.castor.CastorDeserializerFactory.class; > java.lang.Class beansf = > org.apache.axis.encoding.ser.BeanSerializerFactory.class; > java.lang.Class beandf = > org.apache.axis.encoding.ser.BeanDeserializerFactory.class; > java.lang.Class enumsf = > org.apache.axis.encoding.ser.EnumSerializerFactory.class; > java.lang.Class enumdf = > org.apache.axis.encoding.ser.EnumDeserializerFactory.class; > java.lang.Class arraysf = > org.apache.axis.encoding.ser.ArraySerializerFactory.class; > java.lang.Class arraydf = > org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; > java.lang.Class simplesf = > org.apache.axis.encoding.ser.SimpleSerializerFactory.class; > java.lang.Class simpledf = > org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; > > . . . > > On Mon, 21 Feb 2005 13:13:56 +0100, Tysnes Are Thobias > <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > Castor is "custom" (De)Serializers in Axis. Check your > (De)Serializer > > code agains what the Castor peoples has done. > > > > You can also read this tutorial on how to use Castor > (De)Serializers > > in > > Axis: > > http://www-106.ibm.com/developerworks/webservices/library/ws-castor/ > > > > I don't know how you'r classes are loaded in your classloader but I > > guess just writing the class name is not sufficient. You need the > > package name too. > > > > I.e: > > > serializer="org.apache.axis.encoding.ser.castor.CastorSerializerFactor > > y" > > > deserializer="org.apache.axis.encoding.ser.castor.CastorDeseri > alizerFact > > ory" > > > > Cheers, > > Are T. Tysnes > > > > -----Original Message----- > > From: babloosony [mailto:[EMAIL PROTECTED] > > Sent: 21. februar 2005 12:58 > > To: axis-user@ws.apache.org > > Subject: Re: Need info on (De)Serializers > > > > Hi Are T. Tysnes, > > > > I am implementing my own Axis (De)Serializers. Is my > > server-config.wsdd file correct. How do I debug axis logs, apis at > > which point my (De)Serializers are not getting loaded/initialized ? > > > > Thanks & Regards, > > Kumar. > > > > On Mon, 21 Feb 2005 12:49:16 +0100, Tysnes Are Thobias > > <[EMAIL PROTECTED]> wrote: > > > > > > Take a look at the Castor (De)Serializers > > > > > > > http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/axis/e > > > nc > > > od > > > ing/ser/castor/ > > > > > > Cheers, > > > Are T. Tysnes > > > > > > -----Original Message----- > > > From: babloosony [mailto:[EMAIL PROTECTED] > > > Sent: 21. februar 2005 12:44 > > > To: axis-user@ws.apache.org > > > Subject: Need info on (De)Serializers > > > > > > Hi All, > > > > > > Is anybody successful in implementing you own Apache Axis > > > (De)Serializers. If so can you please share your experiences like > > > issues you have faced, docs, tutorials, links you have used etc. > > > etc. > > > > > > Basically no matter what I do, how I tweak my > server-config.wsdd my > > > custom Axis (De)Serializers are not getting loaded/initialized. > > > > > > server-config.wsdd > > > > -------------------------------------------------------------------- > > > -- > > > -- > > > ----------- > > > <service name="SparePartDetailsSer" style="document" > use="literal"> > > > <parameter name="allowedMethods" value="addSparePart"/> <parameter > > > name="className" value="SparePartService"/> <typeMapping > > > xmlns:ns="apress" > > > qname="ns:SparePartBean" > > > type="java:SparePartBean" > > > serializer="WroxAxisSerializerFactory" > > > deserializer="WroxAxisDeserializerFactory" > > > encodingStyle="" > > > /> > > > </service> > > > > > > ---------------------------------------------------------------------- > > -- > > > ----------- > > > > > > Thanks & Regards, > > > Kumar. > > > > > >