Sorry, my mistake, the classname in the descriptor was wrong.
It still doesn't work however, but at least I'm no longer getting
exceptions. The Factory constructor gets called, but the serialize() method
never does. I'll debug further tomorrow.
Scott.
> ----------
> From: Taras Shkvarchuk
> Reply To: [EMAIL PROTECTED]
> Sent: Thursday, July 11, 2002 10:19 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Custom serializers don't appear to work
>
> They did work for a nightly build a few weeks before beta3 was released.
> Now I am using beta3 and I don't see the null pointer exception you see,
> but
> I do get mapping not found.
> java.lang.Exception: !! No Deserializer for
> {http://grandcentral.com/schemas/delivery/v1}delivery
> at
> org.apache.axis.message.MessageElement.getValueAsType(MessageElement.java:
> 52
> 2)
> Something did break in beta3...
>
> > -----Original Message-----
> > From: Dunn, Scott [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 11, 2002 5:41 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Custom serializers don't appear to work
> >
> >
> > This was posted against beta 2 but I never saw any response -
> > do custom
> > serializers work in beta 3? I have deployed a customer
> > serializer and get
> > the following when I try to access my service:
> >
> > stackTrace: java.lang.NullPointerException
> > at
> > org.apache.axis.description.ServiceDesc.createOperationForMeth
> > od(ServiceDesc
> > .java:794)
> > It appears that TypeMapping doesn't get set, presumably from
> > WSDDService
> > during initialisation.
> >
> > Can anyone confirm whether or not this is a known bug or am I doing
> > something wrong in my deployment descriptor (extract below)? The same
> > descriptor but using the standard BeanSerializer works fine.
> >
> > <typeMapping
> > xmlns:ns="http://www.sonusnet.com/model"
> > qname="ns:ManagedEntityKey"
> > type="java:com.sonus.model.ManagedEntityKey"
> > serializer="com.sonus.service.ManagedEntitySerializerFactory"
> >
> > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > />
> > Thanks,
> >
> > Scott.
> >
>
>