This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 779
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: 1700
    
  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>