Results 1 to 2 of 2

Thread: SOAP Security Headers

  1. #1
    Join Date
    Aug 2006
    Posts
    13

    Default SOAP Security Headers

    Hello,

    I need to add the following parent and child security headers to the soap headers:

    <soapenv:Header>
    <wsse:Security xmlns:wsse="....xsd" soapenv:mustUnderstand="0">
    <wsse:UsernameToken>
    <wsse:Username>foo</wsse:Username>
    <wsse:Password Type="">pass123</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>

    How can I do this in Spring Integration. Using <header-enricher> ? If you can provide examples it would be very much appreciated.

    Regards & Thanks in advance
    Gautam

  2. #2
    Join Date
    May 2007
    Location
    Netherlands
    Posts
    614

    Default

    I think you should check out the WS-Security support in Spring WS. You could do this by hand with a transformer, but that is probably not what you're looking for.

Posting Permissions

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