You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Celia Berry <ch...@austin.rr.com> on 2003/06/13 15:47:25 UTC

explicit conversion to/from XML

Greetings,
I'm new to Axis. Is it possible to explicitly serialize/deserialize Java
Beans to/from XML using Axis (where these Java Beans were built by using
WSDL2Java).

E.g. In my JUnit I might have something like this::

AA_T aa = new AA_T(); // where AA_T is a Bean from WSDL2Java
aa.setFoo( "xyz" );
String xml = aa.toXML().toString();

I'm looking for something akin to the new XMLEncoder/XMLDecoder in JDK 1.4.

Is there a way I can do this??
Thanks much,
-- Chris