中易网

XFire接口问题: Exception in thread "main" org.codehaus.xfire.XFireRuntimeException:

答案:2  悬赏:0  
解决时间 2021-02-22 08:20
Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Error invoking 'com.shop.webservice.shop_current.Shop_Current_AccountSetRequest.setCreateShopCurrentAccount(java.lang.String, java.lang.String)'. Nested exception is java.lang.reflect.InvocationTargetException: null
org.codehaus.xfire.fault.XFireFault: Error invoking 'com.shop.webservice.shop_current.Shop_Current_AccountSetRequest.setCreateShopCurrentAccount(java.lang.String, java.lang.String)'. Nested exception is java.lang.reflect.InvocationTargetException: null
at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
at org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Client.onReceive(Client.java:406)
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 $Proxy0.setCreateShopCurrentAccount(Unknown Source)
at com.shop.webservice.common.client.TestServiceTestClient.main(TestServiceTestClient.java:41)
我第一个参数我传的是xml格式的字符串。求大虾们帮帮我。这个问题找了两天了。

问题解决了。原来是服务端的实现类用了其他类的方法。那个没导到服务器中去。。呵呵。。谢谢大家咯。
最佳答案
能说的清楚点吗?怎么把服务端的实现类用到的其他类的方法导到服务器中
全部回答
xml字符串有问题吗? 再看看别人怎么说的。
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
都宝路地址在哪,我要去那里办事
偷看朋友的手机被朋友发现了怎么办?
手触屏没反应怎么办
准格尔旗人口转移领导小组办公室地址在什么地
如何理解列宁说的“实践高于认识”和“没有革
爱知托管中心地址有知道的么?有点事想过去
同样是宋体小四,放在一台电脑上显示,相同的
"李杰我爱你'' 希望要很准确的藏文
笔记本上的gt和gtx显卡有多大区别
ie位数怎么看啊?
老山西刀削面地址在什么地方,想过去办事
玉养人还是金养人
烷烃系统命名法 如果支链上有支链怎么办
唯一视觉摄影工作室地址有知道的么?有点事想
初三数学!有关根的判别式!
推荐资讯
电波去皱和超声刀哪个好
惠普 beats 15 怎么进入 BIOS设置U盘启动项 U
从宁波寄快递到扬州需要多久
薰衣草需要多久才开花?
如图所示,某一线圈在匀强磁场中匀速转动产生
森罗曼精品酒店在什么地方啊,我要过去处理事
美酷男装地址有知道的么?有点事想过去
鸿光不锈钢材料经营部这个地址在什么地方,我
窑房村在什么地方啊,我要过去处理事情
姐姐跟我在一起十四年了,我对姐好爱我的东西
秀水村民委员会地址有知道的么?有点事想过去
延长壳牌大邑鱼泉加油站怎么去啊,有知道地址
手机登qq时,显示手机磁盘不足,清理后重新登
刺客的套装怎么选啊?