This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 721
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: 1629
    
  23

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
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