Re: Using CastorSerializer for return value causing error

2003-08-15 Thread Whitney Hunter
Thanks for the help. 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 y

Re: Using CastorSerializer for return value causing error

2003-08-15 Thread Steve Maring
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

Using CastorSerializer for return value causing error

2003-08-15 Thread Whitney Hunter
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