File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 235

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: 316

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

Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
I agree. Here's the link:
subject: SOAP header blocks and their namespaces
It's not a secret anymore!