Version 3.1 by Pascal Robert on 2007/09/03 19:40

Hide last authors
Pascal Robert 3.1 1 == NullPointerException calling WebService with Axis ==
smmccraw 1.1 2
3 If you get an exception like the following:
4
5 {{panel}}
6
Pascal Robert 3.1 7 Caused by: java.lang.NullPointerException
8 at java.util.Hashtable.put(Hashtable.java:396)
9 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
10 at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
11 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
12 at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
13 at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
14 at org.apache.axis.client.Call.invoke(Call.java:2553)
15 at org.apache.axis.client.Call.invoke(Call.java:2248)
16 ... 5 more
smmccraw 1.1 17
18 {{/panel}}
19
20 It's most likely because you are using Java 1.5 with Axis 1.1. If you want your client to run on Java 1.5, you will need to upgrade to Axis 1.2RC2.
21
Pascal Robert 3.1 22 == Losing Session with Axis Client ==
smmccraw 1.1 23
24 For more information about cookie-based sessions with Axis clients, read the [[Consuming with Axis in Java>>Programming__WebObjects-Web_Services-Web_Service_Provider||anchor="Consuming_with_Axis_in_Java"]] section.