0 Replies Latest reply on Jul 22, 2011 12:46 PM by srinivasj74

    Getting an exception while calling a webservice

    srinivasj74

      Hi,

       

      When i invole a webservice to an external provider i am getting the following exception. When i remove the JBOSS Runtime from my call path and use just JDK 1.6.24 the webservice invocation is succesful and i get the result. Weird thing is that one method of the webservice get this exception. Any help in solving the problem is hignhly appreciated.

       

       

       

      Invoking faxQuery...

      javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set

      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)

      at $Proxy36.faxQuery(Unknown Source)

      Caused by: java.lang.NullPointerException

      at cc.interfax.FaxQuery_WrapperTypeHelper1.createWrapperObject(Unknown Source)

      at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:105)

      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)

      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)

      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)

      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)

      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)

      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)

      ... 3 more