HI,
there should be detailed instructions over at the Axis 2 site on how to
use Castor XML for (un-)marshalling XML from within Axis 2. There's one
thing you should note, though.
If I am using Castor XML together with Spring OXM, and I want to be
using classes that I have generated with Castor XML's code generator, I
have to make those classes/packages known to Spring OXM's
CastorMarshaller class. It might be that something similar is required
for Axis, but I have not used this combo for a long time.
Regards
Werner
On 29.09.2010 18:20, Larry Gilliam wrote:
Hello,
I'm running some classes as an Axis2 web service, and when I try to
marshal an object to XML ( that I built with Castor code generator ),
the result is an empty string. There are no errors (just the usual
warning about using or not using static marshaller, etc. The
marshalling works fine when I run my software outside of Axis2. I've
tried both the static marshalling function and the created object's
marshal method.
I see an optional ContentHandler parameter I can give to the marshal
function. Maybe I need to obtain one of these from Axis and give it to
the marshal function? Any insight is welcome. Thanks.
-Larry
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email