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 and the fly likes SOAP header blocks and their namespaces 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 » Java » Web Services
Reply locked New topic

SOAP header blocks and their namespaces

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 215

Hi all,
It is known that the children of the header elements can have actor and/or mustUnderstand attributes,but what if the schema of the header's children forbids them to have any attributes.Do we have to change the schema for the child element's namespace,so that the child element is now defined to have an attribute like actor and mustUnderstand?
As per SOAP schema,<anyAttribute> is used for Header and Body elements ,not for their children,whose definition depends on their own schema definition.

If I am wrong,please correct me and clarify my doubt.
I will be obliged.

Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313

Why are you asking the same question over and over again?

Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
It is sorta covered in the JavaRanch Style Guide.
subject: SOAP header blocks and their namespaces
Similar Threads
Mustunderstand without actor attribute
Did not get mustUnderstand - Error in SOAP Header
SOAP - the mustUnderstand Attribute
SOAP action and mustUnderstand attributes
SOAP schema