This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Documenta based web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Documenta based web services" Watch "Documenta based web services" New topic
Author

Documenta based web services

punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
Hi,
What is the difference Between document based web service and normal web services?

How i can create the WSDL files for Document based web services ?. i am using WSAD 5.1.2

how to validate xml with schema in document based web service ?

is it possible to create the document based web services using Apache axis.

where i can find the examples for documentation based web services?


Ravi
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
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.

is it possible to create the document based web services using Apache axis.
Yes, see:
Axis User Guide: Service Styles - RPC, Document, Wrapped, and Message

Other than that you may want to look at Patterns and Strategies for Building Document-Based Web Services.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Documenta based web services
 
Similar Threads
Web Services Certification Material
web services portability
Failed IBM 288
SCJWSD Beta Exam
Webservice using Websphere