Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xws secuirty Encryption and signature Exception

Amr k. Saleh
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I've implemented ws-secuirty using metro api, i've implemented the callbacks, and everything works fine alone

Encryption alone works fine, signature alone works fine, but when i try to do both it throws the below exception: com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.impl.PolicyViolationException: Expected Signature Element as per receiver requirements, found ReferenceList

ths SOAP message is like below:

anyone has an idea how to fix this

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic