my main issue is this:
When the soap message is encrypted, the PayloadRootAnnotationMethodEndpointMapping is unable to map the soap message because The security interceptor did not have yet the time to decipher it. The solution is to replace @PayloadRoot with @SoapAction.
When a soap message is received, spring-ws calls first the PayloadRootAnnotationMethodEndpointMapping then 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){
}
}
How can I decrypt request if client is unable to add SoapAction to the header?
tnx miha