aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 219

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