SOAP 标头丢失错误 - 请帮忙!
我正在尝试运行此处描述的签名和加密示例 https://www .ibm.com/developerworks/java/library/j-jws5/。 运行客户端时出现以下错误,请帮忙!
非常感谢,
客户端日志
运行: java 连接到 http://localhost:8080/axis2/services/library-signencr java 16:32:59,188 错误 AxisEngine:211 - SOAP 标头丢失 java org.apache.axis2.AxisFault:缺少 SOAP 标头 java 在 org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) java at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
Tomcat 日志
错误 org/opensaml/xml/validation/ValidatingXMLObject java.lang.NoClassDefFoundError: org/opensaml/xml/validation/ValidatingXMLObject
非常感谢。
I am trying to run the example of signing and encryption described here https://www.ibm.com/developerworks/java/library/j-jws5/.
I am getting the following error when running the client, any help please!
Many thanks,
Client log
run:
java Connecting to http://localhost:8080/axis2/services/library-signencr
java 16:32:59,188 ERROR AxisEngine:211 - SOAP header missing
java org.apache.axis2.AxisFault: SOAP header missing
java at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
java at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
Tomcat log
ERROR org/opensaml/xml/validation/ValidatingXMLObject
java.lang.NoClassDefFoundError: org/opensaml/xml/validation/ValidatingXMLObject
Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案如下:
The solution is the following: