MyName wrote:
What benefits does a wsdl web service have? If we develope a web service
should it be wsdl enabled or not?
Hi there
Interoperabilty is the first word that I think of:
Other platforms (J2EE etc.) can read the WSDL, "inspect" the API and
based on that "inspection" make calls to the WebService.
Easy of development is second:
Nearly all IDEs working with WebServices can deal with WSDL, and most
important generate a plain vanilla proxy class for the desired platform
/ programming language (.NET, C#, VB, Java).
The proxy class can take advantage of the IDEs "CodeInsight" or whatever
the technologi is called to show members and methods on a class. And
these methods will be named as in your WSDL
So you get more "developer-friendly" API built around proxy classes,
instead of having to know all request parameter names and possible
(read: valid) values when you do a HTTP Post as you suggested.
Validation:
Futhermore, if you build (and you should in my opinion) your request
messages (methods and parameters) and response messages (return
parameters / structures) around XML schemas, your WebService engine can
validate that the incoming message conforms to this schema.
This was the first three things I could think of.
Regards
Henrik
http://websolver.blogspot.com