Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Wss4jSecurityInterceptor decryption problem [SWS-701] #797
I would like to implement a web service that receive encrypted signed messages (XML-encryption and XML-Signature). Here's my interceptor part in spring-ws-servlet.xml :
Here's the part of the code of my client where the interceptor is created:
Here's the logs for the web service:
Here is the request sent by the client:
I don't see why the request is not decrypted by the security interceptor. Did I do something's wrong?
Arnaud BARRE commented
Any news about this subject ? It is very important for me to have this POC working because we're currently investigating on Web service frameworks and we need to make our choice very soon. And I would like to introduce Spring-WS in my company as we're already working with other spring components and I don't want to add a new framework but this will be the case if this case is not supported...
Arjen Poutsma commented
It seems that the server cannot map the request to any endpoint. Apparently there is no mapping for the payload root of the message (EncrypedData), and since you are not setting any SOAP action in the client, there is no SOAP Action mapping either. All of this is the logs:
The solution to your problem would be to either create a mapping for Encrypted Data (which I would not recommend), or set the SOAP Action in the client (which is probably a better idea). Read this section in the reference docs to find out how you can set the soap action.
At any rate, this is not a bug, as Spring-WS is doing its job fine. A post in the forums would have been a better idea.
Closing as invalid.