This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 724
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: 1647
    
  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>
 
Similar Threads
FRom Element to SOAP Envelope
Axis Fault
Problem with mapping headers on WSDL
Serialization problem !!!
Sign soap header with handler in WebSphere 6.1