On 9/8/06, Jha, Satyajit <[EMAIL PROTECTED]> wrote:
OMElement result = serviceClient.sendReceive(payload); StringWriter writer = new StringWriter(); result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(wr iter)); writer.flush(); String value = writer.toString(); System.out.println(value); // You can write value to some file also..
Thanks Satyajit, Would it also be possible to do a "dry run". I mean, inspect the message that Axis is going to send, but without actually sending it? I am trying to build a unit test that verifies the validity of the message produced. Kees --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
