DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15548>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15548 HTTPS access to a SOAP service throws NullP.E. in HTTPSender.getSocket Summary: HTTPS access to a SOAP service throws NullP.E. in HTTPSender.getSocket Product: Axis Version: 1.1beta Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Blocker Priority: Other Component: Basic Architecture AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi! The problem is that when i use HTTPS to access a SOAP webservice with AXIS as client library and use auto generated classes, then a nullpointerexception is thrown. When i set the URL of the webservice to be simple HTTP (and make absolutely no other change), then the whole thing works. (the webservice is available through both, but in production, i will have to access it through https.) It has also worked with 1.0 with https, but there after 5-6 requests, the client could not connect to the service anymore. This is why i upgraded to 1.1beta. I use SUN JDK 1.4.0-b92. The exception trace is the following: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NullPointerException faultActor: null faultNode: null faultDetail: stackTrace: java.lang.NullPointerException at org.apache.axis.transport.http.HTTPSender.getSocket (HTTPSender.java:157) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2376) at org.apache.axis.client.Call.invoke(Call.java:2365) at org.apache.axis.client.Call.invoke(Call.java:2062) at org.apache.axis.client.Call.invoke(Call.java:1986) at org.apache.axis.client.Call.invoke(Call.java:1509) ... my classes at java.lang.Thread.run(Thread.java:536) java.lang.NullPointerException at org.apache.axis.AxisFault.makeFault(AxisFault.java:127) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2376) at org.apache.axis.client.Call.invoke(Call.java:2365) at org.apache.axis.client.Call.invoke(Call.java:2062) at org.apache.axis.client.Call.invoke(Call.java:1986) at org.apache.axis.client.Call.invoke(Call.java:1509) ... my classes at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.NullPointerException at org.apache.axis.transport.http.HTTPSender.getSocket (HTTPSender.java:157) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114) ... 17 more