axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunny44 <>
Subject Marshalling and UN-Marshalling Question
Date Thu, 05 Jul 2007 17:56:29 GMT

I am trying to Marshall the Object to Simple String XML. Currently i am using
ADB as a databinder but i  am not sure "HOW TO GET XML as string from


	XMLStreamReader reader =

		OMElement omElt =  new StAXOMBuilder(reader).getDocumentElement();
/// This throws Null pointer exception --- 
String xml2 = omElt.toString();

SO HOW do i get the XML of as String from XMLStreamReader....?

Please add code snippet.


View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message