Hi Venkatesh,
Thanks for the reply. Answer to your question is 'yes'. My bean contains another bean inside. Both beans have getters and setters. None of the samples that came with axis download have similiar situation. They all contain simple types.
Initially I was getting "no deserializer found error" so I mimic the deserializer code from the samples in the "encoding" sub-package and added type mapping to my deploy.wsdd and no I am getting this SimpleDeserializer error!
Do you still have any idea as why I am getting this error? Should I post my code?
Thanks,
Tony.
Venkatesh Kancharla <[EMAIL PROTECTED]> wrote:
Venkatesh Kancharla <[EMAIL PROTECTED]> wrote:
>
> Error : org.xml.sax.SAXException: SimpleDeserializer encountered a child element
> , which is NOT expected, in something it was trying to deserialize.
>
> My client is invoking a call to the service and pass it a bean that has a complex type as a data member. Should I post the code and deploy.wsdd?
is your complex object a bean? you can only pass beans ( it should have
setter/getter methods for all of its instance variables)
>
> Thanks in advance.
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!