Return-Path: Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 46853 invoked by uid 500); 26 Jun 2003 19:24:38 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 46797 invoked from network); 26 Jun 2003 19:24:38 -0000 Message-ID: <20030626192443.81176.qmail@web12802.mail.yahoo.com> Date: Thu, 26 Jun 2003 12:24:42 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: RE: How to keep the Connection open from the AXIS client To: axis-user@ws.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It might work if you use CommonsHTTPSender...Check the archives. -- dims --- "Kellogg, Richard" wrote: > Don't bother wasting your time. Axis does not support this functionality. In fact, if you are > using a proxy server it would probably prevent it anyway. Most proxy servers only support HTTP > 1.0. Maybe sometime in the future. > > Rick Kellog > > -----Original Message----- > From: Chandra Talluri [mailto:ctalluri@netnumber.com] > Sent: Thursday, June 26, 2003 3:19 PM > To: Axis-User (E-mail) > Subject: How to keep the Connection open from the AXIS client > > > > Hi > > I wanted to open a connection and do multiple requests/responses and close > the connection. When I am using the default axis client generated by > WSDL2JAVA every time I make a request it is opening a new Connection. I am > using Tomcat server. As I understand HTTP 1.1 will keep the connection open > always. I even tried sending Connection: Keep-Alive in the request Header > didn't work. > > Code Snippet for Client is > > HttpService service = new HttpServiceLocator(); > Http http= service.getHttp(); > ((HttpSoapBindingStub)http).setMaintainSession(true); > > http.doit(args[0]); > > http.doit(args[1]); //Here I am getting new connection > > > -Thanks in advance > -Chandra Talluri > NetNumber.com, Inc. > 650 Suffolk Street > Suite 307 > Lowell, MA 01854 > Tel: 978-848-2841 > ctalluri@netnumber.com > http://www.netnumber.com > > > ===== Davanum Srinivas - http://webservices.apache.org/~dims/ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com