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.
Originally posted by punna Kumar: What is the difference Between document based web service and normal web services?
The distinction is between RPC style and Document style Web services. With RPC style Web services the SOAP payload is an XML root element that represents an operation that encloses any number of elements that represent parameters. With Document style Web services the SOAP payload is a single XML document usually defined in a separate XML schema. The SOAP binding and operation elements used in the WSDL have style attributes which can be set to either "rpc" or "document" For more details see: Which style of WSDL should I use?
how to validate xml with schema in document based web service ? Same way you validate any other XML document - with a validating parser. Check out Processing XML with Java.