问题描述
org.codehaus.xfire.XFireRuntimeException:Couldnotinvokeservice..Nestedexceptionisorg.codehaus.xfire.fault.XFireFault:Couldn'tsendmessage.org.codehaus.xfire.fault.XFireFault:Couldn'tsendmessage.atorg.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)atorg.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:30)atorg.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)atorg.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)atorg.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)atorg.codehaus.xfire.client.Client.invoke(Client.java:336)atorg.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)atorg.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)at$Proxy0.checkPersonID(UnknownSource)attest.WebServiceClientTest.main(WebServiceClientTest.java:42)Causedby:org.codehaus.xfire.XFireException:Couldn'tsendmessage.atorg.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:145)atorg.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)atorg.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)...8moredao层没有注入所以会报这样的错
解决方案
解决方案二:
把http超时时间扩大一下试试