aspose file tools*
The moose likes Web Services and the fly likes Problem adding an actor attribute to a SOAP security header with xws-security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem adding an actor attribute to a SOAP security header with xws-security" Watch "Problem adding an actor attribute to a SOAP security header with xws-security" New topic
Author

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

Andi Clemens
Greenhorn

Joined: Apr 09, 2013
Posts: 1
Hi,

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 (http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.5/tutorial/doc/XWS-Security3.html#wp565497). 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?

Andi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem adding an actor attribute to a SOAP security header with xws-security