java调用webService接口时,出现异常:An error was discovered processing the <wsse:Security> header

详细异常信息如下:
Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: An error was discovered processing the <wsse:Security> headerorg.codehaus.xfire.fault.XFireFault: An error was discovered processing the <wsse:Security> header at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31) at org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28) 。。。

在服务端加入了Security的支持后,客户端会报错误:An error was discovered processing the <wsse:Security> header

在header要有security的信息
温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-09-05
看看你的编码是不是和webwevice要求的一样;在看看有没有要序列化的类没有序列化,一般调用WebService会传递参数,应该会要要求实现序列化接口之类。本回答被网友采纳

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网