aspose file tools*
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
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: 773
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: 1695
    
  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.
 
Don't get me started about those stupid light bulbs.
 
subject: Add headers or header blocks to <Security> element in <header> element of a <SOAPEnvelop>