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 MustUnderstand Attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "MustUnderstand Attribute" Watch "MustUnderstand Attribute" New topic

MustUnderstand Attribute

nitin pokhriyal
Ranch Hand

Joined: May 19, 2005
Posts: 263

from Ivan note's
If the mustUnderstand attribute is set to “0” and a node operates in the role declared in the role attribute, the node is only required to remove the header block.

if i interpret above statement correctly that means operating node should remove header block if mustunderstand attribute is "0" or removing of header is optional?
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
It means that if the SOAP header block is targeted at the node, but the node is not required to understand the header block (mustUnderstand attribute set to zero), then the minimum action required by the node is to remove the header block.
Removing the header block makes sense, since the header block has reached its destination, so to speak.
Best wishes!
nitin pokhriyal
Ranch Hand

Joined: May 19, 2005
Posts: 263
you are again a life saver.. Thanks you very much.
I agree. Here's the link:
subject: MustUnderstand Attribute
Similar Threads
in a soap header entry, if no actor attr, but has mustUnderstand attr, that means the
SOAP question
Clarification on mustUnderstand and role attributes of SOAP header blocks
Regarding SOAP header relay attribute
when to use soap:mustUnderstand="1"