axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunny44 <sunny_pat...@yahoo.com>
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 

i.e. 

	XMLStreamReader reader =
<ObjectNAME>.getPullParser(<property_Value>.MY_QNAME);

		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.

thanks

-- 
View this message in context: http://www.nabble.com/Marshalling-and-UN-Marshalling-Question-tf4031326.html#a11451561
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message