Raimund

I know that Asankha has been working on a non-blocking HTTP client for Axis2
that re-uses connections. As I understand it this code is only in the
Synapse release so far (http://ws.apache.org/synapse). But I know there is a
plan to get it into the core of Axis2. It is just an Axis2 transport so the
code will work under Axis2.

Asankha - am I right?

Paul

On 6/1/07, Traichel, Raimund <[EMAIL PROTECTED]> wrote:

 Hello,

I have a question regarding the connection handing using a Axis2 / Java
Client.

Is it possible to share one HTTP connection between
multiple client stubs using Axis2 / Java Client ?

Example:
I have two services deployed (HelloWorld and HelloMoon) on my server.
From the WSDL
files "HelloWorld.wsdl" and "HelloMoon.wsdl" I have generated 2 Java
client stubs (HelloWorld_ServiceStub
and HelloMoon_ServicStub). Currently each client stub creates it's own
HTTP connection to the server.
Is it possible to establish only one connection to the server, which can
be used to send requests to
the HelloWorld AND the HelloMoon service ?
This means the two different client stubs should share the same HTTP
connection / HTTP client.
I am already using the parameter "REUSE_HTTP_CLIENT", but this has only
the effect, that the same
connection (HTTP client) is used for all requests within the same client
stub.

I am currently using Axis 2 V1.2 and Java 1.5.0_11.

Thanks,
Raimund


*Raimund Traichel*
*Siemens Enterprise Communications GmbH & Co. KG*

SEN ESY HA D QA 3
Hofmannstr. 51
81379 Munich, Germany

phone: +49 (0)89 722 31686
email : mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]>

*Communication for the open minded*
www.siemens.de/open
www.siemens.com/open

Siemens Enterprise Communications GmbH & Co. KG

Managing Directors: Reinhard Benditte, Gerhard Otterbach,
Thomas Zimmermann



Registered offices: Munich

Commercial registry: Munich, HRA 88546
WEEE-Reg.-No. DE 27980375

General Partner:

Siemens Enterprise Communications Management GmbH

Registered offices: Munich

Commercial registry: Munich, HRB 163415





--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to