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