Announcement Announcement Module
Collapse
No announcement yet.
Spring WS Security with XWS: Issues with Encryption/Decription Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring WS Security with XWS: Issues with Encryption/Decription

    I an one of my associates are having a tough time implementing Spring WS Security using XWSS and certificates. Without any of the security interceptors configured, the web service message exchange works perfectly. With the interceptor configured on the server for decryption only, we configured SoapUI to encrypt the outgoing message. The server keystore has the client's public key imported into it, and the SoapUI client is configured to use the client's private key for encryption. However, when we send the soap message, we simply get the following error:

    Code:
    com.sun.xml.wss.XWSSecurityException: More Receiver requirements [
    EncryptionPolicy ] specified than present in the message; nested
    exception is com.sun.xml.wss.XWSSecurityException:
    com.sun.xml.wss.XWSSecurityException: More Receiver requirements [
    EncryptionPolicy ] specified than present in the message
    Can someone tell me what is the "EncryptionPolicy" that is needed in the error message?
    Last edited by jwarfield; Aug 8th, 2012, 04:18 PM.
Working...
X