Raimund,

Please see this:
http://wso2.org/library/87

thx,
dims

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]

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



--
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to