Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Doubt in SOAP schema for Body element 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
Bookmark "Doubt in SOAP schema for Body element" Watch "Doubt in SOAP schema for Body element" New topic
Author

Doubt in SOAP schema for Body element

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 215

Hi all,
Referring the code below which is from standard SOAP schema,please help me understand what does it say


I can clearly see that Body complexType element has defined <xs:antAttribute>,which clearly means that Body element can have as many attributes as it wants.But then what does " <xs:documentation>Prose in the spec does not specify that attributes are allowed on the Body element</xs:documentation>
" mean to say?

Please help me clear my doubt.
Thanks...
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313

Sudhanshu Mishra wrote:Hi all,
Referring the code below which is from standard SOAP schema,please help me understand what does it say


I can clearly see that Body complexType element has defined <xs:antAttribute>,which clearly means that Body element can have as many attributes as it wants.But then what does " <xs:documentation>Prose in the spec does not specify that attributes are allowed on the Body element</xs:documentation>
" mean to say?

Please help me clear my doubt.
Thanks...


It means that though schemas has made it possible to include any attribute for element body, however, the specification given by w3.org, talks nothing about attributes with element body. So, the schema is open for adding attributes unless specification says otherwise.


Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in SOAP schema for Body element
 
Similar Threads
soap fault return empty <detail> element.
SOAP doubt: The Envelope element
When the default namespace is an empty string?
Doubt in soap:header
HeaderElements must be namespace qualified when create soap client