Last modified by Matthew Taylor on 2008/09/13 12:25

From version 3.1
edited by Pascal Robert
on 2007/09/03 19:40
Change comment: There is no comment for this version
To version 2.1
edited by smmccraw
on 2007/07/08 09:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Web Services-Common Pitfalls and Troubleshooting
1 +Programming__WebObjects-Web Services-Common Pitfalls and Troubleshooting
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.probert
1 +XWiki.smmccraw
Content
... ... @@ -1,24 +1,26 @@
1 -== NullPointerException calling WebService with Axis ==
1 +== NullPointerException calling WebService with Axis ==
2 2  
3 3  If you get an exception like the following:
4 4  
5 5  {{panel}}
6 6  
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
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
17 17  
18 18  {{/panel}}
19 19  
20 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 21  
22 -== Losing Session with Axis Client ==
22 +== Losing Session with Axis Client ==
23 23  
24 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.
25 +
26 +Category:WebObjects