Exception thrown when using HTTPS to connect to Axis2 1.3 Webservices, under 
Tomcat5.5.25
-----------------------------------------------------------------------------------------

                 Key: AXIS2-3392
                 URL: https://issues.apache.org/jira/browse/AXIS2-3392
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.3
         Environment: Tomcat 5.5.15, Axis2 1.3 jdk 1.5._12 Eclipse 3.3  windows 
xp
            Reporter: Steve Wu
            Priority: Critical


I set up Tomcat for SSL connection and I can access my web services through 
https://localhost:8443/mytest/services/LoginService.

When I call a web service method from a client as follow, I got an exception

 System.setProperty( "javax.net.ssl.trustStore", 
"C:/keystore_certs/client.keystore");
                System.setProperty("javax.net.ssl.trustStorePassword", 
"changeit"); 
                
                
                AuthenticationServiceStub stub = new 
AuthenticationServiceStub(https://localhost:8443/mytest/services/LoginService); 
             
                // initialize data here

                // web service call
                stub.login(doc);


Exception text:

org.apache.axis2.AxisFault: java.lang.NullPointerException
        at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
        at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

But if I have a browser open  with 
"https://localhost:8443/mytest/services/LoginService"; it works fine.

My questions are:
1. Why do I have to have a browser open to use HTTPS connection?
2. Is there any setting in Tomcat or Axis2 that I can configure to  initialize 
or estiblish HTTPS connection?





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to