Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 30083 invoked from network); 20 Jul 2005 13:16:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2005 13:16:06 -0000 Received: (qmail 58384 invoked by uid 500); 20 Jul 2005 13:15:49 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 58333 invoked by uid 500); 20 Jul 2005 13:15:49 -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: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 58283 invoked by uid 99); 20 Jul 2005 13:15:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 06:15:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of abhishek.anna@gmail.com designates 64.233.184.202 as permitted sender) Received: from [64.233.184.202] (HELO wproxy.gmail.com) (64.233.184.202) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 06:15:42 -0700 Received: by wproxy.gmail.com with SMTP id i24so1418838wra for ; Wed, 20 Jul 2005 06:15:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=F7d4zj5uvQ2JswCnpkvsn8dpDdSjDFTSNQkb/Qoew3/48L8Tp3moNWIl5Gpmom/KTSMZfxbSBPSWnsc6sFt8pCioWzloZJd1SGvNUIyE7aTg/Ulz70V3ckj3D+As88xZQHoLUeOHRNqSgEurzSxKAzG2QqkNKpyb7+A57TTIT0c= Received: by 10.54.69.12 with SMTP id r12mr69038wra; Wed, 20 Jul 2005 06:15:08 -0700 (PDT) Received: by 10.54.51.12 with HTTP; Wed, 20 Jul 2005 06:15:08 -0700 (PDT) Message-ID: Date: Wed, 20 Jul 2005 18:45:08 +0530 From: Abhishek Kumar Reply-To: Abhishek Kumar To: axis-user@ws.apache.org Subject: Problem in 2nd web service call through axis client Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have created an axis client for a web service(c++).=20 I have created the client stub classes by using wsdl2java. When i am calling the web service method for the first time its working fine. But using the same instance for the stub fro calling the method for second time its giving following error: %% Client cached [Session-1, SSL_RSA_WITH_RC4_128_MD5] %% Try resuming [Session-1, SSL_RSA_WITH_RC4_128_MD5] from port 1644 *** ClientHello, TLSv1 RandomCookie: GMT: 1105074006 bytes =3D { 231, 193, 177, 81, 114, 14, 233, 163, 247, 219, 190, 213, 123, 194, 36, 181, 151, 190, 192, 53, 46, 237, 236, 97, 6, 41, 35, 248 } Session ID: {5, 31, 133, 128, 219, 187, 208, 78, 96, 94, 111, 121, 235, 186, 83, 24, 252, 62, 122, 251, 147, 88, 170, 70, 67, 98, 198, 8, 255, 230, 232, 2} Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA] Compression Methods: { 0 } *** [write] MD5 and SHA1 hashes: len =3D 105 0000: 01 00 00 65 03 01 42 DE 17 56 E7 C1 B1 51 72 0E ...e..B..V...Qr. 0010: E9 A3 F7 DB BE D5 7B C2 24 B5 97 BE C0 35 2E ED ........$....5.. 0020: EC 61 06 29 23 F8 20 05 1F 85 80 DB BB D0 4E 60 .a.)#. .......N` 0030: 5E 6F 79 EB BA 53 18 FC 3E 7A FB 93 58 AA 46 43 ^oy..S..>z..X.FC 0040: 62 C6 08 FF E6 E8 02 00 1E 00 04 00 05 00 2F 00 b............./. 0050: 33 00 32 00 0A 00 16 00 13 00 09 00 15 00 12 00 3.2............. 0060: 03 00 08 00 14 00 11 01 00 ......... main, WRITE: TLSv1 Handshake, length =3D 105 [Raw write]: length =3D 110 0000: 16 03 01 00 69 01 00 00 65 03 01 42 DE 17 56 E7 ....i...e..B..V. 0010: C1 B1 51 72 0E E9 A3 F7 DB BE D5 7B C2 24 B5 97 ..Qr.........$.. 0020: BE C0 35 2E ED EC 61 06 29 23 F8 20 05 1F 85 80 ..5...a.)#. .... 0030: DB BB D0 4E 60 5E 6F 79 EB BA 53 18 FC 3E 7A FB ...N`^oy..S..>z. 0040: 93 58 AA 46 43 62 C6 08 FF E6 E8 02 00 1E 00 04 .X.FCb.......... 0050: 00 05 00 2F 00 33 00 32 00 0A 00 16 00 13 00 09 .../.3.2........ 0060: 00 15 00 12 00 03 00 08 00 14 00 11 01 00 .............. main, received EOFException: error main, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake main, SEND TLSv1 ALERT: fatal, description =3D handshake_failure main, WRITE: TLSv1 Alert, length =3D 2 [Raw write]: length =3D 7 0000: 15 03 01 00 02 02 28 ......( main, called closeSocket() Finalizer, called close() Finalizer, called closeInternal(true) AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode:=20 faultString: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake faultActor:=20 faultNode:=20 faultDetail:=20 {http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeE= xception: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketI= mpl.java:739) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandsha= ke(SSLSocketImpl.java:1025) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSoc= ketImpl.java:1038) at org.apache.axis.components.net.JSSESocketFactory.create(JSSESock= etFactory.java:186) at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.j= ava:130) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSend= er.java:380) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java= :88) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationSt= rategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.apache.axis.client.Call.invokeEngine(Call.java:2735) at org.apache.axis.client.Call.invoke(Call.java:2718) at org.apache.axis.client.Call.invoke(Call.java:2394) at org.apache.axis.client.Call.invoke(Call.java:2317) at org.apache.axis.client.Call.invoke(Call.java:1774) at proxy.axis.SessionManagerBindingStub.sessionPing(SessionManagerB= indingStub.java:607) at edaclientemulator.proxy.SessionManager.sessionPing(SessionManage= r.java:102) at edaclientemulator.Main.main(Main.java:72) Caused by: java.io.EOFException: SSL peer shut down incorrectly at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:3= 21) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketI= mpl.java:720) ... 18 more {http://xml.apache.org/axis/}hostname:HDCHCTDPMT1716 javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java= :97) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationSt= rategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.apache.axis.client.Call.invokeEngine(Call.java:2735) at org.apache.axis.client.Call.invoke(Call.java:2718) at org.apache.axis.client.Call.invoke(Call.java:2394) at org.apache.axis.client.Call.invoke(Call.java:2317) at org.apache.axis.client.Call.invoke(Call.java:1774) at proxy.axis.SessionManagerBindingStub.sessionPing(SessionManagerB= indingStub.java:607) at edaclientemulator.proxy.SessionManager.sessionPing(SessionManage= r.java:102) at edaclientemulator.Main.main(Main.java:72) Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketI= mpl.java:739) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandsha= ke(SSLSocketImpl.java:1025) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSoc= ketImpl.java:1038) at org.apache.axis.components.net.JSSESocketFactory.create(JSSESock= etFactory.java:186) at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.j= ava:130) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSend= er.java:380) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java= :88) ... 12 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:3= 21) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketI= mpl.java:720) ... 18 more >From the error i can make out that the web service is not recognising the cached client session by axis. I want to disable this. can anybody tell how to do this?? I tried setmantainedSession(false) for stub. but of no use. Regards Abhishek Kumar HCL TECHNOLOGIES LTD.