axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Friedman" <matt.fried...@gmail.com>
Subject Re: Obtain the SOAP envelope as DOM document or String
Date Sat, 08 Nov 2008 21:05:15 GMT
Thank you. This worked for me.



2008/11/6 Amila Suriarachchi <amilasuriarachchi@gmail.com>:
> 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
> <amilasuriarachchi@gmail.com> wrote:
>>
>> sorry forget the link :)
>>
>> [1] http://wso2.org/library/2068
>>
>> On Thu, Nov 6, 2008 at 10:42 AM, Amila Suriarachchi
>> <amilasuriarachchi@gmail.com> 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 <matt.friedman@gmail.com>
>>> wrote:
>>>>
>>>> That is correct. Thanks,
>>>> Matt.
>>>>
>>>> 2008/11/5 Amila Suriarachchi <amilasuriarachchi@gmail.com>:
>>>> >
>>>> >
>>>> > On Wed, Nov 5, 2008 at 4:19 AM, Matt Friedman
>>>> > <matt.friedman@gmail.com>
>>>> > 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 <amilasuriarachchi@gmail.com>:
>>>> >> > use toString method.
>>>> >> >
>>>> >> > thanks,
>>>> >> > Amila.
>>>> >> >
>>>> >> > On Tue, Nov 4, 2008 at 6:42 AM, Matt Friedman
>>>> >> > <matt.friedman@gmail.com>
>>>> >> > 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: axis-user-unsubscribe@ws.apache.org
>>>> >> >> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>> >> >>
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > --
>>>> >> > Amila Suriarachchi
>>>> >> > WSO2 Inc.
>>>> >> > blog: http://amilachinthaka.blogspot.com/
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> -- Matt Friedman
>>>> >>
>>>> >> ---------------------------------------------------------------------
>>>> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> >> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Amila Suriarachchi
>>>> > WSO2 Inc.
>>>> > blog: http://amilachinthaka.blogspot.com/
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> -- Matt Friedman
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>>
>>>
>>>
>>>
>>> --
>>> 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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message