axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shehan Simen <ssi...@itree.com.au>
Subject RE: How to get Response XML from Axis stubs?
Date Tue, 16 Sep 2008 05:34:12 GMT
Hi,
I am using ADB as data binding.
Try using the following, if you are using ADB:
String responseXml = MyResponse.getOMElement(
                    MyResponse.MY_QNAME, OMAbstractFactory
                    .getOMFactory()).toStringWithConsume();

Regards,
Shehan


-----Original Message-----
From: kapil pruthi [mailto:pruthik_21@yahoo.com]
Sent: Tuesday, 16 September 2008 3:15 PM
To: axis-user@ws.apache.org
Subject: How to get Response XML from Axis stubs?

I have axis client stubs generated (using WSDL2Java) tool and able to
hit a web service. The response is retrieved in Response object which i
generated using WSDL2Java. Seems like Axis serialization is converting
XML to Java response objects.

My question is how to get a copy of that response XML now?






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


---------------------------------------------------------------------
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