Results 1 to 1 of 1
  1. #1
    javaduke is offline Member
    Join Date
    Aug 2010
    Posts
    1
    Rep Power
    0

    Post Multiple <wsse:Security> entry in SOAP 1.1 header

    I am currently using the WS-Security for SOAP 1.1 messages, and there is an option to add <wsse:Securty> tag to the header like this:

    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Header>
    <wsse:Security
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    S:actor="...the URI comes here..."
    S:mustUnderstand="1">
    </wsse:Security>

    </S:Header>
    <S:Body>
    <document
    xmlns="....schema/v3"
    recipientOrganization="TestOrg"/>
    </S:Body>
    </S:Envelope>

    I read that there is an another option to define multiple Security tags in the Soap header but this seems to me a little bit senseless, because:

    I know so that the <s:actor> defines the ultimate endpoint of the soap message.
    So if there is a second Security block than is it possible to give to the header an another ultimate endpoint as well? Could somebody lightening me up, why such definition is possible, and what is the meaning of this?
    Thank you in advance,
    Bruce
    Last edited by javaduke; 08-09-2010 at 03:32 PM.

Similar Threads

  1. problem when generating MIME header of a SOAP packet using SAAJ
    By kumar.jyotish@gmail.com in forum Advanced Java
    Replies: 1
    Last Post: 10-18-2010, 05:03 PM
  2. Adding WS Addressing to SOAP header - ACK!
    By themdg in forum New To Java
    Replies: 3
    Last Post: 08-06-2010, 11:16 PM
  3. Entry in table
    By Harsh_Verma in forum New To Java
    Replies: 2
    Last Post: 07-01-2009, 02:07 PM
  4. Need Help On Entry Validation
    By obdi in forum New To Java
    Replies: 3
    Last Post: 07-25-2008, 06:39 AM
  5. Replies: 1
    Last Post: 07-23-2007, 11:59 PM

Tags for this Thread

Posting Permissions

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