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/09/13 20:10:22 UTC

Fwd: Axis2 persistent client connections

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?

Thanks in advance,
Rad

Re: Fwd: Axis2 persistent client connections

Posted by Damitha Kumarage <da...@wso2.com>.
Can you send me your client log file?. Please build with trace 
enabled(--enable-trace=yes)
Thanks,
Damitha
Radley Kneeland wrote:
> I tried 1.7.0-RC2 and captured the packets.  It seems new connections 
> are still being created for each request.
>  
> Is there some debug or additonal info that can help investigate this 
> further?
>  
> Thanks,
> Rad
>
> On Fri, Sep 17, 2010 at 8:01 AM, Damitha Kumarage <damitha@wso2.com 
> <ma...@wso2.com>> wrote:
>
>     Radley Kneeland wrote:
>
>         Is this support available in version 1.6?
>
>     no. It is available in RC2 [1]
>     Damitha
>     [1] http://people.apache.org/~shankar/axis2c/1.7.0-RC2/
>     <http://people.apache.org/%7Eshankar/axis2c/1.7.0-RC2/>
>
>         Thanks,
>         Rad
>
>
>         On Mon, Sep 13, 2010 at 9:41 PM, Damitha Kumarage
>         <damitha@wso2.com <ma...@wso2.com>
>         <mailto:damitha@wso2.com <ma...@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
>         <ma...@axis.apache.org>
>            <mailto:c-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>>
>
>            For additional commands, e-mail: c-dev-help@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:c-dev-help@axis.apache.org
>         <ma...@axis.apache.org>>
>
>
>
>
>     -- 
>     __________________________________________________________________
>
>     Damitha Kumarage
>     http://people.apache.org/
>
>     __________________________________________________________________
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: c-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>


-- 
__________________________________________________________________

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


Re: Fwd: Axis2 persistent client connections

Posted by Damitha Kumarage <da...@wso2.com>.
Can you send me your client log file?. Please build with trace 
enabled(--enable-trace=yes)
Thanks,
Damitha
Radley Kneeland wrote:
> I tried 1.7.0-RC2 and captured the packets.  It seems new connections 
> are still being created for each request.
>  
> Is there some debug or additonal info that can help investigate this 
> further?
>  
> Thanks,
> Rad
>
> On Fri, Sep 17, 2010 at 8:01 AM, Damitha Kumarage <damitha@wso2.com 
> <ma...@wso2.com>> wrote:
>
>     Radley Kneeland wrote:
>
>         Is this support available in version 1.6?
>
>     no. It is available in RC2 [1]
>     Damitha
>     [1] http://people.apache.org/~shankar/axis2c/1.7.0-RC2/
>     <http://people.apache.org/%7Eshankar/axis2c/1.7.0-RC2/>
>
>         Thanks,
>         Rad
>
>
>         On Mon, Sep 13, 2010 at 9:41 PM, Damitha Kumarage
>         <damitha@wso2.com <ma...@wso2.com>
>         <mailto:damitha@wso2.com <ma...@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
>         <ma...@axis.apache.org>
>            <mailto:c-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>>
>
>            For additional commands, e-mail: c-dev-help@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:c-dev-help@axis.apache.org
>         <ma...@axis.apache.org>>
>
>
>
>
>     -- 
>     __________________________________________________________________
>
>     Damitha Kumarage
>     http://people.apache.org/
>
>     __________________________________________________________________
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: c-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>


-- 
__________________________________________________________________

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


Re: Fwd: Axis2 persistent client connections

Posted by Radley Kneeland <ra...@gmail.com>.
I tried 1.7.0-RC2 and captured the packets.  It seems new connections are
still being created for each request.

Is there some debug or additonal info that can help investigate this
further?

Thanks,
Rad

On Fri, Sep 17, 2010 at 8:01 AM, Damitha Kumarage <da...@wso2.com> wrote:

> Radley Kneeland wrote:
>
>> Is this support available in version 1.6?
>>
> no. It is available in RC2 [1]
> Damitha
> [1] http://people.apache.org/~shankar/axis2c/1.7.0-RC2/
>
>> Thanks,
>> Rad
>>
>>
>> On Mon, Sep 13, 2010 at 9:41 PM, Damitha Kumarage <damitha@wso2.com<mailto:
>> damitha@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
>>    <ma...@axis.apache.org>
>>
>>    For additional commands, e-mail: c-dev-help@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>
>>
>
> --
> __________________________________________________________________
>
> Damitha Kumarage
> http://people.apache.org/
>
> __________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-dev-help@axis.apache.org
>
>

Re: Fwd: Axis2 persistent client connections

Posted by Radley Kneeland <ra...@gmail.com>.
I tried 1.7.0-RC2 and captured the packets.  It seems new connections are
still being created for each request.

Is there some debug or additonal info that can help investigate this
further?

Thanks,
Rad

On Fri, Sep 17, 2010 at 8:01 AM, Damitha Kumarage <da...@wso2.com> wrote:

> Radley Kneeland wrote:
>
>> Is this support available in version 1.6?
>>
> no. It is available in RC2 [1]
> Damitha
> [1] http://people.apache.org/~shankar/axis2c/1.7.0-RC2/
>
>> Thanks,
>> Rad
>>
>>
>> On Mon, Sep 13, 2010 at 9:41 PM, Damitha Kumarage <damitha@wso2.com<mailto:
>> damitha@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
>>    <ma...@axis.apache.org>
>>
>>    For additional commands, e-mail: c-dev-help@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>
>>
>
> --
> __________________________________________________________________
>
> Damitha Kumarage
> http://people.apache.org/
>
> __________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-dev-help@axis.apache.org
>
>

Re: Fwd: Axis2 persistent client connections

Posted by Damitha Kumarage <da...@wso2.com>.
Radley Kneeland wrote:
> Is this support available in version 1.6?
no. It is available in RC2 [1]
Damitha
[1] http://people.apache.org/~shankar/axis2c/1.7.0-RC2/
> Thanks,
> Rad
>
> On Mon, Sep 13, 2010 at 9:41 PM, Damitha Kumarage <damitha@wso2.com 
> <ma...@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
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: c-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>


-- 
__________________________________________________________________

Damitha Kumarage
http://people.apache.org/
__________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Re: Fwd: Axis2 persistent client connections

Posted by Damitha Kumarage <da...@wso2.com>.
Radley Kneeland wrote:
> Is this support available in version 1.6?
no. It is available in RC2 [1]
Damitha
[1] http://people.apache.org/~shankar/axis2c/1.7.0-RC2/
> Thanks,
> Rad
>
> On Mon, Sep 13, 2010 at 9:41 PM, Damitha Kumarage <damitha@wso2.com 
> <ma...@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
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: c-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>


-- 
__________________________________________________________________

Damitha Kumarage
http://people.apache.org/
__________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Re: Fwd: Axis2 persistent client connections

Posted by Radley Kneeland <ra...@gmail.com>.
Is this support available in version 1.6?
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
>
>

Re: Fwd: Axis2 persistent client connections

Posted by Radley Kneeland <ra...@gmail.com>.
 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
>
>

Re: Fwd: Axis2 persistent client connections

Posted by Radley Kneeland <ra...@gmail.com>.
Is this support available in version 1.6?
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
>
>

Re: Fwd: Axis2 persistent client connections

Posted by Damitha Kumarage <da...@wso2.com>.
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


Re: Fwd: Axis2 persistent client connections

Posted by Damitha Kumarage <da...@wso2.com>.
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