如何解决没有SoapAction标头的spring-wswss4j中的解密?
我的主要问题是:
对Soap消息进行加密后,PayloadRootAnnotationMethodEndpointMapping
无法映射Soap消息,因为安全拦截器还没有时间对其进行解密。解决方案是将@PayloadRoot
替换为@SoapAction
。
收到肥皂消息后,spring-ws首先呼叫PayloadRootAnnotationMethodEndpointMapping
,然后呼叫SoapActionAnnotationMethodEndpointMapping
@Endpoint
public class assignedSubscriberNumberNotify {
private static final String NAMESPACE_URI = "http://test.aek.seavus.com/";
@PayloadRoot(namespace = NAMESPACE_URI,localPart = "ToOperatorChangeInASSNNotify")
@SoapAction("http://www.test.si/toOperatorChangeInASSNNotify")
@ResponsePayload
public void toOperatorChangeInASSNNotify(@RequestPayload ToOperatorChangeInASSNNotify request){
}
}
如果客户端无法将SoapAction添加到标头,如何解密请求?
tnx miha
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。