If you didn't use a -d option when using wsdl2java then ur client code uses ADB (cause ADB is the default data binding).
Thanks, Keith. On Wed, Sep 17, 2008 at 2:15 AM, kapil pruthi <[EMAIL PROTECTED]> wrote: > 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] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
