This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 235
    
    1

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...


Thanks,
Sudhanshu(OCPJP,OCEJPAD)
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 314

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
 
Have you checked out Aspose?
 
subject: Doubt in SOAP schema for Body element
 
It's not a secret anymore!