Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem adding an actor attribute to a SOAP security header with xws-security

Andi Clemens
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm trying to set an actor in a SOAP message secured with xws-security 3.0. I don't understand how I can add the actor attribute with this library. I need to set the actor to have multiple encryption fields in the message.
Does anyone know how to add an actor? Is it possible to do by setting up the SecurityConfiguration properly?

I looked at the documentation, but it seems to be incomplete ( At least in this documentation the parameters for CanonicalizationMethod and the SignatureMethod are also not described, so I guess the actor definition might be missing as well.

I found a class called EncryptedHeaderType in the xws-security 3 code, which has a method "setActor", but it doesn't seem to be used in the library.

Does anyone know how to add the actor property to a SOAP message?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic