Forum Discussion

indomitable's avatar
11 years ago

Encrypt Username Token in SOAP Request message

I am trying to encrypt the username token part of the SOAP message, but, whenever i try to encrypt it using a outbound security config, only the body gets encrypted and the username token part is not. Has anyone encountered a similar situation? Can anyone suggest any solution? I have tried filling up the parts table in security config with the namespace-wsse and Name-UsernameToken and level of Element, but, that hasn't helped either. I am attaching a screenshot of my soap message structure and current security config.
Thanks.

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    Hi,

    There is a property called WSS-Password Type at Test Step of Request Type , give a try selecting PasswordDigest and see. Again, selecting of different value based on your application support.

    You may set this at Service Interface level which will be applied to all operation os this service on assign.

    Hope this helps.

    Regards,
    Rao.