5 Replies Latest reply on Aug 31, 2005 6:41 AM by Manish Vyas

    Problem running Web Service Client

    Håvard Semundseth Newbie

      Hi all,
      I got this problem when running the Web Service Client
      (section 5.3).
      Does anyone got any idea what may cause this problem?
      - May this be a classpath problem?


      [java] Customer: 200
       [java] 13:27:59,052 ERROR [PortProxy] Port error
       [java] java.lang.NullPointerException
       [java] at java.util.Hashtable.put(Unknown Source)
       [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)
       [java] at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:262)
       [java] at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
       [java] at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
       [java] at org.jboss.axis.Message.getContentType(Message.java:494)
       [java] at org.jboss.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
       [java] at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
       [java] at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
       [java] at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       [java] at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       [java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
       [java] at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:3039)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2629)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2538)
       [java] at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:1914)
       [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
       [java] at org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381)
       [java] at $Proxy0.getAccountsOfCustomer(Unknown Source)
       [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       [java] at java.lang.reflect.Method.invoke(Unknown Source)
       [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105)
       [java] at $Proxy1.getAccountsOfCustomer(Unknown Source)
       [java] at com.jboss.ebank.WSClient.main(WSClient.java:36)
       [java] Exception in thread "main" java.rmi.RemoteException: null; nested exception is:
       [java] java.lang.NullPointerException
       [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:176)
       [java] at $Proxy1.getAccountsOfCustomer(Unknown Source)
       [java] at com.jboss.ebank.WSClient.main(WSClient.java:36)
       [java] Caused by: java.lang.NullPointerException
       [java] at java.util.Hashtable.put(Unknown Source)
       [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)
       [java] at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:262)
       [java] at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
       [java] at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
       [java] at org.jboss.axis.Message.getContentType(Message.java:494)
       [java] at org.jboss.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
       [java] at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
       [java] at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
       [java] at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       [java] at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       [java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
       [java] at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:3039)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2629)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2538)
       [java] at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:1914)
       [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
       [java] at org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381)
       [java] at $Proxy0.getAccountsOfCustomer(Unknown Source)
       [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       [java] at java.lang.reflect.Method.invoke(Unknown Source)
       [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105)
       [java] ... 2 more
       [java] Java Result: 1


      Kind regards
      Håvard