dehaus.xfire.fault.XFireFault Fault java.lang.NullPointerException
    错误信息:Exception in thread "main" dehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception dehaus.xfire.fault.XFireFault: Fault: java.dehaus.xfire.fault.XFireFault: Fault: java.lang.NullPointerException dehaus.xfire.adMessage(Soap11FaultSerializer.java:31) dehaus.xfire.adMessage(SoapFaultSerializer.java:28) dehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111) dehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67) dehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) dehaus.xfire.Receive(Client.java:406) ansport.http.HttpChannel.sendViaClient(HttpChannel.java:139) ansport.http.HttpChannel.send(HttpChannel.java:48) dehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26) at org.c
nullpointerexception: null
odehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) dehaus.xfire.client.Invocation.invoke(Invocation.java:79) dehaus.xfire.client.Invocation.invoke(Invocation.java:114) dehaus.xfire.client.Client.invoke(Client.java:336) dehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77) dehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57) at $Proxy12.queryData(Unknown Source) at test.Test.main(Test.java:43)
原因:参数不正确,仔细对比SOAP UI与用工具生成的客户端发送到服务端的参数的差别

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。