This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Add headers or header blocks to <Security> element in <header> element of a <SOAPEnvelop> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Add headers or header blocks to <Security> element in <header> element of a <SOAPEnvelop>" Watch "Add headers or header blocks to <Security> element in <header> element of a <SOAPEnvelop>" New topic
Author

Add headers or header blocks to <Security> element in <header> element of a <SOAPEnvelop>

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 737
In MZ's version 5 notes, p 111, about WS-Security, there is a statement:
"An intermediary on the message path may add one or more sub-elements to an existing security header block if they are targeted for the same SOAP node or it may add one or more new headers for additional targets".

I think it should be " ... or it may add one or more new header block for additional targets."

There should be no more than 1 header in a SOAPEnvelop. A header can have as many header blocks as you want.
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1661
    
  25

Himai Minh wrote:
I think it should be " ... or it may add one or more new header block for additional targets."

You are correct and that is meant in MZ notes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add headers or header blocks to <Security> element in <header> element of a <SOAPEnvelop>