can you please post both the objects? I did face this problem long back and I don`t clearly remember how I solved it. Maybe after seeing the object, I may be able to give you some solution
regards ------------------- Venkatesh Kancharla _|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_| _| _|_|_|_|_| _| _| _| _| _| _| _| _| _| _| _| _|_|_|_|_| _| _|_|_|_|_| _|_|_|_|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_|_|_|_| _| _| _| _| _| _| _|_| _|_|_|_|_| A L G O R I T H M S F O R L I F E Strand Genomics, # 237, Sir C.V. Raman Avenue, Rajmahal Vilas, Bangalore, India - 560080. Ph no: 23618992,93, 94, 95 ext: 212 http://www.strandgenomics.com Favorite quote: --------------------------------------------------------------------- If Necessity Is the Mother of Invention, then frustration Is Its Father -unknown --------------------------------------------------------------------- On Wed, 4 Feb 2004, Tony Blair wrote: > 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: > > > > 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!