Jha, Satyajit wrote:
> OMElement result = serviceClient.sendReceive(payload);
> StringWriter writer = new StringWriter();
> result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(wr
> iter));
> writer.flush();
> String value = writer.toString();


Well, I've already overridden the toString method of OMElement. So you
could have easily printed the results element above.

System.out.println(result);

-- Chinthaka

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to