So now its not an axis2 issue but certificate issue. :-)

I will try to get some solution for u on this definitely as I get some
time from my daily work.

 

Regards,

Prateek

 

 

 

________________________________

From: Ramesh Vishwanatham [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 21, 2008 11:37 AM
To: [email protected]
Subject: RE: axis2.AxisFault: Unconnected sockets not implemented --
exception

 


Prateek 
We have verified and there is no trace of request reaching at server
side when client program ran. 

 Also below are steps I have followed to extract certificate from IE
browser to create keystore, hope this may help to solve this issue: 

1) From IE "Tools->Internet Options->Certiifcates->Export"  and default
selection of "No, do not export private key"  radio button and exported
the certificate to file. 

2) Below keytool command to create a keystore: 
keytool -import -trustcacerts -alias mytest -keystore myclient.keystore
-file mycert.cer 

Also when I tried to create keystore with the certifiacte (".pfx" file
extension) which is exported using "Yes, export the private key" option
from IE: 
keytool error: java.lang.Exception: Input not an X.509 certificate 
  
Thanks 
Ramesh 



Ramesh Vishwanatham/[EMAIL PROTECTED] 

11/20/2008 03:05 PM 

Please respond to
[email protected]

To

[email protected] 

cc

 

Subject

RE: axis2.AxisFault: Unconnected sockets not implemented -- exception

 

 

 





Prateek 
Thanks for clarification. I am in the process of finding out the same
and will get back to you. 
Regards, 
Ramesh 

"Jain, Prateek" <[EMAIL PROTECTED]> 

11/20/2008 12:53 PM 

Please respond to
[email protected]

To

<[email protected]> 

cc

 

Subject

RE: axis2.AxisFault: Unconnected sockets not implemented -- exception

 

 

 





 
Ramesh, 
 
 My point was, when you try hitting server not via IE but, through your
program, does your apache/any-program on server side receive it. 
 
Prateek 
 
 
  

 

________________________________



From: Ramesh Vishwanatham [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 20, 2008 12:46 PM
To: [email protected]
Subject: RE: axis2.AxisFault: Unconnected sockets not implemented --
exception 
 

Hi Prateek 
Thanks for responding, yes I am able to reach "url" using the
certificate via IE browser and see axis2 welcome page. I believe this is
possible only when certificate is going through TAM and web seal. My
hunch some this is missing or wrong at client side. 
Regards 
Ramesh 

"Jain, Prateek" <[EMAIL PROTECTED]> 

11/20/2008 12:12 PM 

 

Please respond to
[email protected]

 

To

<[email protected]> 

cc

  

Subject

RE: axis2.AxisFault: Unconnected sockets not implemented -- exception



  

 

  

 








Just verify are able to hit sever successfully. I mean, is ssl handshake
successful? 


Regards, 
Prateek 

  



 

________________________________




From: Ramesh Vishwanatham [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 20, 2008 12:06 PM
To: [email protected]
Subject: axis2.AxisFault: Unconnected sockets not implemented --
exception 


All 

I am getting below exception when my client using keystore to access
https service: 

[java] Exception in thread "main" org.apache.axis2.AxisFault:
Unconnected sockets not implemented 
  [java]     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)

  [java]     at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:1
95) 
  [java]     at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) 
  [java]     at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:327) 
  [java]     at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:206) 
  [java]     at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396) 
  [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:374) 
  [java]     at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211) 
  [java]     at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
) 


Below is my environment and steps followed: 

1) Axis2 1.3 version with jdk 1.4.x, axis2.war along with my service is
deployed 
under WAS 6.0 beyond TAM and Web Seal. 

2) Below is the client code: 

public class MyClient { 
     public static void main(String args []) throws Exception { 
             String uri = "https://....";; 
             System.setProperty("javax.net.ssl.keyStore",
"c:\\mykeys\\myclient.keystore"); 
             System.setProperty("javax.net.ssl.keyStorePassword",
"dummy"); 
             System.setProperty("javax.net.ssl.keyStoreType","pkcs12"); 

             MyQuoteService2Stub service = new MyQuoteService2Stub(uri);


.... 
} 

3) Here is the command I have used to create my keystore: 
keytool -import -trustcacerts -alias mytest -keystore myclient.keystore
-file mycert.cer 

4) Using the certificate I can access the url through web browser and
see axis2 
welcome page and service wsdl. 


If someone can point out what I am missing and help me resolve this
problem. 

Thanks in Advance 

Ramesh 
________________________________________________________ 
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email in error,
please notify us immediately and delete the email and any attachments
from your system. The recipient should check this email and any
attachments for the presence of viruses. The company accepts no
liability for any damage caused by any virus transmitted by this email. 

________________________________________________________ 
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email in error,
please notify us immediately and delete the email and any attachments
from your system. The recipient should check this email and any
attachments for the presence of viruses. The company accepts no
liability for any damage caused by any virus transmitted by this email. 

________________________________________________________ 
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email in error,
please notify us immediately and delete the email and any attachments
from your system. The recipient should check this email and any
attachments for the presence of viruses. The company accepts no
liability for any damage caused by any virus transmitted by this email. 

________________________________________________________ 
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email in error,
please notify us immediately and delete the email and any attachments
from your system. The recipient should check this email and any
attachments for the presence of viruses. The company accepts no
liability for any damage caused by any virus transmitted by this email.

Reply via email to