首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

pb调用webservice 报错,该怎么解决

2013-07-08 
pb调用webservice 报错警告: Interceptor for {http://bg.cxf.sts.hnkywl.com/}HelloWorldImplService#{ht

pb调用webservice 报错
警告: Interceptor for {http://bg.cxf.sts.hnkywl.com/}HelloWorldImplService#{http://bg.cxf.sts.hnkywl.com/}helloworld has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: The given SOAPAction http://bg.cxf.sts.hnkywl.com/#helloworld does not match an operation.


bg.cxf.sts.hnkywl.com 类的包路径

[解决办法]
看意思是没有找到对应的方法(Operation),确认下服务端提供的方法名是不是小写helloworld
[解决办法]
检查helloworld这个类是不是和服务器端一致,类名、包名都要一样才行。

热点排行