What is the data binding mechanism that you used when generating the client 
stub (using wsdl2java)? Xmlbeans or adb?
U don't need to regenerate anything. I said that if u have used adb, then u can 
use the method that I said before.
Good luck!

-----Original Message-----
From: kapil pruthi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 September 2008 6:45 AM
To: [email protected]
Subject: Re: How to get Response XML from Axis stubs?

Do i need to regenerate Response objects for ADB? Can't i use same Axis objects 
which were generated as part of WSDL2java execution?



----- Original Message ----
From: Shehan Simen <[EMAIL PROTECTED]>
To: "[email protected]" <[email protected]>
Sent: Monday, September 15, 2008 10:34:12 PM
Subject: RE: How to get Response XML from Axis stubs?

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:[EMAIL PROTECTED]
Sent: Tuesday, 16 September 2008 3:15 PM
To: [email protected]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to