Hi,
I am trying to access a web service using standalone Java client and I get
below mentioned exception. The same service works from a JSP page.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:263)
at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
at org.apache.axis.Message.getContentType(Message.java:496)
at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
at
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126)
at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
at org.apache.axis.client.Call.invoke(Call.java:3014)
at org.apache.axis.client.Call.invoke(Call.java:2608)
at org.apache.axis.client.Call.invoke(Call.java:2513)
at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
at org.apache.axis.client.Call.invoke(Call.java:1914)
at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
at client.CPRWebServiceClient.main(CPRWebServiceClient.java:66)
org.apache.axis.AxisFault: java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:146)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:136)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
at
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126)
at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
at org.apache.axis.client.Call.invoke(Call.java:3014)
at org.apache.axis.client.Call.invoke(Call.java:2608)
at org.apache.axis.client.Call.invoke(Call.java:2513)
at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
at org.apache.axis.client.Call.invoke(Call.java:1914)
at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
at client.CPRWebServiceClient.main(CPRWebServiceClient.java:66)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:263)
at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
at org.apache.axis.Message.getContentType(Message.java:496)
at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
Any help is appreciated.
Thanks,
Himanshu
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866570#3866570
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866570
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user