You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kareem S. Ghazal" <ka...@hotmail.com> on 2003/07/22 12:08:23 UTC
Deserializer not found
Hello,
I'm using IBM's WSDK which uses axis. I figured out how to set the
serializer/deserializer by getting hold of the TypeMappingRegistry and then
register the serializer/deserializer for the class I want to send, but now
I'm getting another error
SAXException: Deserializing parameter 'arg0': could not find deserializer
for type (http://manager)MyTask
MyTask is the class I want to send, so I'm guessing axis is serializing
it but when it reaches the server it can't find the deserializer eventhough
I'm registering it, so would I need to register serializer/deserializer both
in the client and the server? and if so how do I do that on the server
before actually calling any of the service methods? Maybe I'm totally off,
so I hope anybody would be able to help me on this, I really need it.
I appreciate any replies,
Kind Regards,
Kareem
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger
Re: Deserializer not found
Posted by Davanum Srinivas <di...@yahoo.com>.
yes, you need it on both sides. you need to specify it in when deploying the service using
beanmapping tags.
-- dims
--- "Kareem S. Ghazal" <ka...@hotmail.com> wrote:
> Hello,
>
> I'm using IBM's WSDK which uses axis. I figured out how to set the
> serializer/deserializer by getting hold of the TypeMappingRegistry and then
> register the serializer/deserializer for the class I want to send, but now
> I'm getting another error
>
> SAXException: Deserializing parameter 'arg0': could not find deserializer
> for type (http://manager)MyTask
>
> MyTask is the class I want to send, so I'm guessing axis is serializing
> it but when it reaches the server it can't find the deserializer eventhough
> I'm registering it, so would I need to register serializer/deserializer both
> in the client and the server? and if so how do I do that on the server
> before actually calling any of the service methods? Maybe I'm totally off,
> so I hope anybody would be able to help me on this, I really need it.
>
> I appreciate any replies,
> Kind Regards,
> Kareem
>
> _________________________________________________________________
> Stay in touch with absent friends - get MSN Messenger
> http://www.msn.co.uk/messenger
>
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com