You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Radley Kneeland <ra...@gmail.com> on 2010/10/11 17:34:34 UTC

Re: Fwd: Axis2 persistent client connections

 Is there a way to get the stub from the environment to do another request
with persistent connections?
Is it necessary to preserve references to both the stub and the env to make
a subsequent request?

Thanks,
Rad


On Mon, Sep 13, 2010 at 9:41 PM, Damitha Kumarage <da...@wso2.com> wrote:

> Radley Kneeland wrote:
>
>>
>>
>> I generated client code for a web service from WSDL2C.sh and I have
>> requests working.  Each request opens up a new HTTP connection.  Is there
>> support for persistent connections with heartbeats?  The overhead of
>> establishing a new HTTP/HTTPS conncection is high and I'd like to avoid it.
>>  Is this on the roadmap?
>>
> There is http keep alive and cookie session support. If you are using http
> 1.0 set Keep-Alive parameter  to true in your client repository axis2.xml
>
> Damitha
>
>>  Thanks in advance,
>> Rad
>>
>
>
> --
> __________________________________________________________________
>
> Damitha Kumarage
> Technical Lead; WSO2 Inc.
> "Oxygenating the Web Service Platform; " http://www.wso2.com/
>
> blog: " http://damithakumarage.wordpress.com/
> __________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-dev-help@axis.apache.org
>
>