this may help you.
http://wso2.org/library/2068
Amila.
On 7/5/07, Sunny44 <[EMAIL PROTECTED]> wrote:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Amila Suriarachchi,
WSO2 Inc.