做xfire客户端出现这样一个错,纠结了两天了,求帮忙啊啊啊啊!!!感激不尽。。。
org.codehaus.xfire.XFire
RuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Index: 1, Size: 1
org.codehaus.xfire.fault.XFireFault: Index: 1, Size: 1
at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
at org.codehaus.xfire.client.Client.onReceive(Client.java:410)
at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
at org.codehaus.xfire.client.Client.invoke(Client.java:336)
at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
at $Proxy9.doReceive(Unknown Source)
at UnionCheckClient.UnionClient.main(UnionClient.java:33)
Caused by:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.get(LinkedList.java:315)
at java.util.Collections$UnmodifiableList.get(Collections.java:1154)
at org.codehaus.xfire.service.binding.AbstractBinding.read(AbstractBinding.java:187)
at org.codehaus.xfire.service.binding.WrappedBinding.readMessage(WrappedBinding.java:51)
at org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Client.onReceive(Client.java:406)
... 11 more
------解决方案--------------------楼主你的webservice接口不能调用,初步判断你的onReceive()方法。
------解决方案--------------------http://hi.baidu.com/xcl119xcl/blog/item/68fef49b166411bcc8eaf457.html