I had this problem using the 1.1 beta release of Axis and was able to get around it by getting the latest nightly build. Apparently this has been fixed since the 1.1 beta release.
Jim Stickley Enterprise Architect Birch Telecom (816) 300-6743 [EMAIL PROTECTED]
-----Original Message-----
Hi,
I'm trying to call a SOAP function via AXIS over SSL.
However, I get an AxisFault error (below). Searching around the archives, I saw someone say that:
AxisProperties.setClassDefault(SecureSocketFactory.class, "org.apache.axis.components.net.SunJSSESocketFactory");
would clear up the problem. However, it did not work for me. Can anyone provide any pointers? I am using Java 1.3, BTW.
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)
at com.eid.acra.clearstar.ClearStarService.getNewOrders(ClearStarService.java:211)
at com.eid.acra.clearstar.ClearStarRequestReader.read(ClearStarRequestReader.java:161)
at com.eid.acra.executive.Executive.processWork(Executive.java:227)
at com.eid.acra.executive.Executive.run(Executive.java:76)
at com.eid.acra.executive.Executive.main(Executive.java:36)
This e-mail, including attachments, is intended for the person(s) or company named and may contain confidential and/or legally privileged information. Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender. |
- SSL and Axis (client-side) Sean Leblanc
- Stickley, Jim