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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> Sent: Friday, October 05, 2007 12:31 PM
> To: [email protected]
> 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
> [EMAIL PROTECTED]>java.io.IOException:
> No serializer found for class
> org.exoplatform.services.portletcontainer.test.portlet2.MyEventPub in
> registry [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to