Announcement Announcement Module
Collapse
No announcement yet.
SOAP Security Headers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment

    Working...
    X