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

Paul Fremantle paul at wso2.com
Fri Jun 1 23:56:47 PDT 2007


I posted a reply to axis-user about this too. I *think* that Asankha's 
non-blocking HTTP transport addresses this already.

Paul

Sanjiva Weerawarana wrote:
> 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
> 

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

Office: +1 646 290 8050
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul at wso2.com

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




More information about the Wsas-java-dev mailing list