DII webservice client works using jdk1.4.2_07 but not with j
sirwio Feb 1, 2005 6:16 AMHi,
I have successfully deployed a webservice on jboss-4.0.1. I used the guide on http://www.dcl.hpi.uni-potsdam.de/research/asg/ws4ejb/ when developing the webservice. The jdk used compiling and running jboss is jdk1.5.0_01.
I did however have problems connecting to the webservice using a dii client. By accident I compiled and ran the client using jdk1.4.2_07 and it worked!
What can be the cause of this? How do I make my client work on jdk 1.5?
The exception throw is:
2005-feb-01 11:25:07 HelloServiceClient testSayHello
INFO: http://DES-04004:8080/HelloService/HelloEndpointPort
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 HelloServiceClient.testSayHello(HelloServiceClient.java:21)
at HelloServiceClient.main(HelloServiceClient.java:60)
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 HelloServiceClient.testSayHello(HelloServiceClient.java:21)
at HelloServiceClient.main(HelloServiceClient.java:60)
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)
... 13 more