[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: No serializer found for class in registry TypeMappingDelegate
Thanks for reply! This MyEventPub is the sample user's class fired as event on server at runtime, therefore I don't know about before. How can I marshal this with JAXB for MessageElement ? I mean this MyEventPub is well annotated class and well marshalled to StringWriter(). Where can I store it within MessageElement? Please, advise me. Alexey. On 10/5/07, Walker, Jeff <Jeff.Walker@fmr.com> wrote: > I think your missing a type mapping in the wsdd file. > You need something like this inserted. (deploy.wsdd file:) > ... > <typeMapping > xmlns:ns="http://www.company.com/project" > qname="ns:MyEventPub" > > type="java:org.exoplatform.services.portletcontainer.test.portlet2.MyEve > ntPub" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="" > /> > ... > > The real question is, why do you not have it? > If you ran your wsdl file through the generator, the stubs and skeleton > code gets created for you. This command also generates the deploy.wsdd > file and should add in all of the type mappings you need for your > classes. > > %>java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy > true WebServiceName.wsdl > > -jeff > > > > -----Original Message----- > From: Alexey Zavizionov [mailto:alexey.zavizionov@gmail.com] > Sent: Friday, October 05, 2007 12:31 PM > To: axis-user@ws.apache.org > Subject: No serializer found for class in registry TypeMappingDelegate > > Hello list! > > I have an exc on server of my service: > [ERROR] BeanSerializer - Exception: <java.io.IOException: No > serializer found for class > org.exoplatform.services.portletcontainer.test.portlet2.MyEventPub in > registry > org.apache.axis.encoding.TypeMappingDelegate@9a5a48>java.io.IOException: > No serializer found for class > org.exoplatform.services.portletcontainer.test.portlet2.MyEventPub in > registry org.apache.axis.encoding.TypeMappingDelegate@9a5a48 > at > org.apache.axis.encoding.SerializationContext.serializeActual(Serializat > ionContext.java:1507) > ... > > What could this be? > > PS: I use Axis1-1.4 > > Thanks, > Alexey > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]