Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Documenta based web services

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic