Steve Maring wrote:
The CastorSerializer in the Axis source tree is flawed. Remove the first line of the serialize method that makes reference to serializationContext.startElement(). This will fix your problem. I'd highly recommend writing your own so that you can use your own mapping anyway.
Cheers.
Steve Maring
*/Whitney Hunter <[EMAIL PROTECTED]>/* wrote:
Hi,
I am writing a service that uses the Castor serializer/deserializer. I have gotten it to deserialize my input document into a Castor object. However, when I return another Castor object, it does not get serialized correctly. It seems to be duplicating the root element. For example my test return value should be:
this is it!
But instead, tcpmon is showing this:
this is it!
As you might expect the client throws an exception when it tries to deserialize this. Has anyone seen this? Anyone know what is going wrong?
Thanks, Whitney
------------------------------------------------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> - Free, easy-to-use web site design software
