JBoss 4.0.3sp1 and axis
xdevice Jan 14, 2006 7:37 AMHi,
I have created a web service using example in Jboss Admin guide.
Even though webservice is getting called, but I am getting error. There were earlier post regarding this but it seems problem was due to Jboss and axis and this seemed to be fixed in 4.0.2 as per documents.
Below is the link where it says about the same problem.
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=59585
I am using Jboss 4.0.3 sp1 and Sun JDK 1.5.0_06-b05
Following is the stack trace
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:261)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:582)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:447)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:687)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:134)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:157)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:122)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2682)
at org.apache.axis.client.Call.invoke(Call.java:2665)
at org.apache.axis.client.Call.invoke(Call.java:2355)
at org.apache.axis.client.Call.invoke(Call.java:2278)
at org.apache.axis.client.Call.invoke(Call.java:1772)
at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:195)
at $Proxy0.hello(Unknown Source)
at test.HelloClient.main(HelloClient.java:27)
java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:137)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:137)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:157)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:122)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2682)
at org.apache.axis.client.Call.invoke(Call.java:2665)
at org.apache.axis.client.Call.invoke(Call.java:2355)
at org.apache.axis.client.Call.invoke(Call.java:2278)
at org.apache.axis.client.Call.invoke(Call.java:1772)
at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:195)
at $Proxy0.hello(Unknown Source)
at test.HelloClient.main(HelloClient.java:27)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:261)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:582)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:447)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:687)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:134)
... 12 more
Help is very much appreciated.
Thanks in advance,
Rana Biswas