Thank you. This worked for me.
2008/11/6 Amila Suriarachchi <[EMAIL PROTECTED]>: > Have a look at here[1]. you can use the toString of the soap envelop to get > the soap envelop. But since ADB consume the stream you may not see the body > there. > > thanks, > Amila. > > [1] > http://amilachinthaka.blogspot.com/2008/11/accessing-axis2-information-at-client.html > > On Thu, Nov 6, 2008 at 10:43 AM, Amila Suriarachchi > <[EMAIL PROTECTED]> wrote: >> >> sorry forget the link :) >> >> [1] http://wso2.org/library/2068 >> >> On Thu, Nov 6, 2008 at 10:42 AM, Amila Suriarachchi >> <[EMAIL PROTECTED]> wrote: >>> >>> Hope this[1] helps you to get the xml string using returned ADB classes. >>> >>> thanks, >>> Amila. >>> >>> On Wed, Nov 5, 2008 at 9:00 PM, Matt Friedman <[EMAIL PROTECTED]> >>> wrote: >>>> >>>> That is correct. Thanks, >>>> Matt. >>>> >>>> 2008/11/5 Amila Suriarachchi <[EMAIL PROTECTED]>: >>>> > >>>> > >>>> > On Wed, Nov 5, 2008 at 4:19 AM, Matt Friedman >>>> > <[EMAIL PROTECTED]> >>>> > wrote: >>>> >> >>>> >> Hi Amila, >>>> >> >>>> >> Thanks for this but I wonder if you could be a little more specific. >>>> >> >>>> >> I tried calling toString on the stub and on the search request >>>> >> parameter object, both of which return the Object's implementation of >>>> >> toString >>>> >> >>>> >> Could you let me know which object I should be calling toString on? >>>> > >>>> > Are you using a Client with ADB data binding and you want to get the >>>> > soap >>>> > envelop at your client. >>>> > is that your requirement? >>>> > >>>> > thanks, >>>> > Amila. >>>> >> >>>> >> >>>> >> Thanks, >>>> >> Matt >>>> >> >>>> >> 2008/11/4 Amila Suriarachchi <[EMAIL PROTECTED]>: >>>> >> > use toString method. >>>> >> > >>>> >> > thanks, >>>> >> > Amila. >>>> >> > >>>> >> > On Tue, Nov 4, 2008 at 6:42 AM, Matt Friedman >>>> >> > <[EMAIL PROTECTED]> >>>> >> > wrote: >>>> >> >> >>>> >> >> I'm writing some code to produce xml files that contain the XML >>>> >> >> SOAP >>>> >> >> envelope. >>>> >> >> >>>> >> >> I'm doing this because I'm creating random search requests for >>>> >> >> part of >>>> >> >> our testing/benchmarking etc... >>>> >> >> >>>> >> >> I can create the client stub, configure it, and execute the search >>>> >> >> request, but I need to grab the SOAP envelope somehow. >>>> >> >> >>>> >> >> Is there a bit of the API that I can hook into so that I can do >>>> >> >> this? >>>> >> >> >>>> >> >> -- >>>> >> >> -- Matt Friedman >>>> >> >> >>>> >> >> >>>> >> >> --------------------------------------------------------------------- >>>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >> >> >>>> >> > >>>> >> > >>>> >> > >>>> >> > -- >>>> >> > Amila Suriarachchi >>>> >> > WSO2 Inc. >>>> >> > blog: http://amilachinthaka.blogspot.com/ >>>> >> > >>>> >> >>>> >> >>>> >> >>>> >> -- >>>> >> -- Matt Friedman >>>> >> >>>> >> --------------------------------------------------------------------- >>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> >> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >> >>>> > >>>> > >>>> > >>>> > -- >>>> > Amila Suriarachchi >>>> > WSO2 Inc. >>>> > blog: http://amilachinthaka.blogspot.com/ >>>> > >>>> >>>> >>>> >>>> -- >>>> -- Matt Friedman >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>> >>> >>> >>> -- >>> Amila Suriarachchi >>> WSO2 Inc. >>> blog: http://amilachinthaka.blogspot.com/ >> >> >> >> -- >> Amila Suriarachchi >> WSO2 Inc. >> blog: http://amilachinthaka.blogspot.com/ > > > > -- > Amila Suriarachchi > WSO2 Inc. > blog: http://amilachinthaka.blogspot.com/ > -- -- Matt Friedman --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]