File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Regarding SOAP header relay attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Regarding SOAP header relay attribute" Watch "Regarding SOAP header relay attribute" New topic

Regarding SOAP header relay attribute

Vasaunth Babu Raju

Joined: Jun 09, 2009
Posts: 6
What is the use of SOAP header relay attribute?

Any practical examples/code?

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
The SOAP header says -

relay (SOAP 1.2 only)
When a SOAP intermediary node processes a header block, it removes it from the SOAP message. By default, it also removes any header blocks that it ignored (because the mustUnderstand attribute had a value of "false"). However, when the relay attribute is specified with a value of "true", the node retains the unprocessed header block in the message.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I agree. Here's the link:
subject: Regarding SOAP header relay attribute
jQuery in Action, 3rd edition