Results 1 to 1 of 1

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

  1. #1
    Join Date
    Jun 2012
    Posts
    5

    Default Spring WS Security with XWS: Issues with Encryption/Decryption

    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 at 03:18 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •