You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Juzer Kothambawala <jk...@cisco.com> on 2003/01/23 18:43:05 UTC
Please help: Error when using https (re-send)
Hi Folks,
I am not able to successfully execute the samples/userguide/example3 web
service using https. I am using the axis-1_1beta release with JDK1.4 and
tomcat 4.1. The client is configured with correct trust store system
properties i.e. "javax.net.ssl.trustStore" and
"javax.net.ssl.trustStorePassword".The web service is invoked as follows:
java samples.userguide.example3.Client
-lhttps://jsk-dev/axis/services/MyService "Hello World"
The following exception is thrown at the client end:
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:172)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:115)
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)
at
samples.userguide.example3.Client.main(Client.java:107)
java.lang.NullPointerException
at
org.apache.axis.AxisFault.makeFault(AxisFault.java:127)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:132)
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)
at
samples.userguide.example3.Client.main(Client.java:107)
Caused by: java.lang.NullPointerException
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:172)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:115)
... 10 more
It looks like it is failing much before the SSL handshake. I would greatly
appreciate if somebody can point what I am doing wrong or is there a
problem with the axis code?
Thanks.
Juzer Kothambawala
Global Commerce Technology Group
AIM: juzersk
Phone: (408) 525-0814
Email: jkothamb@cisco.com