[wsas-java-dev] [Fwd: Share HTTP connection between multiple client stubs ?]

Sanjiva Weerawarana sanjiva at wso2.com
Fri Jun 1 23:12:51 PDT 2007


Hmmm. In principle of course there's no problem :).

In practice, I'm not sure we currently support this .. the way to try it 
would be to try to copy the out transport from one stub to the other, 
after some initial interaction has happened.

Or are you asking for an internal mechanims for the transports to pool 
connections if the connection is to the same server? I guess that's not 
impossible either but need to think about it some more.

Sanjiva.

Afkham Azeez wrote:
> Forwarding to WSAS Java Dev
> ---------------------------------------------------------------------------------------
> 
> Hi,
> 
> Raimund Traichel created an article on WSO2 Oxygen Tank which is
> accessible from http://wso2.org/library/1633.
> 
> Here's the teaser,
> 
> Author: Raimund Traichel, SystemTest, Siemens Enterprise Networks,
> raimund.traichel at siemens.com
> 
> 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
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wsas-java-dev mailing list
> Wsas-java-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +94 77 787 6880; fax: +1 509 691 2000

"Oxygenating the Web Service Platform."




More information about the Wsas-java-dev mailing list