473,386 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

What is the advantage of WSDL?

What is the advantage of a WSDL web service over an API that will be running
as an XML engine accessible via an HTTP address over a special port?
The client needs to access the API using the HTTP POST methode.

What benefits does a wsdl web service have? If we develope a web service
should it be wsdl enabled or not?
Nov 23 '05 #1
4 8064
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
Nov 23 '05 #2
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
Nov 23 '05 #3
Thanks Henrik

Your opinion is valued.

Regards

"Henrik Gøttig" <hg@websolver.dk> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl...
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

Nov 23 '05 #4
Thanks Henrik

Your opinion is valued.

Regards

"Henrik Gøttig" <hg@websolver.dk> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl...
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

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: relaxedrob | last post by:
Hi All! I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear): http://www.w3.org/TR/wsdl#_rpcexample It told me that there were a bunch of erros about no...
0
by: Sonna Nach | last post by:
Hi All, I am writing a doc/lit web services, in which the elements under SOAPBody is unknown. That is, these two message are acceptable. 1. <SOAP-ENV:Body><Tag1>It is ok</Tag1></SOAP-ENV:Body>...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
6
by: Naveed Anwar | last post by:
how a tcp server running on given uri like "soap:tcp://localhost:8080/MyReceiver" will return wsdl. In normal web service case which runs on http returns wsdl by simply appending '?wsdl' in url,...
0
by: MyName | last post by:
What is the advantage of a WSDL web service over an API that will be running as an XML engine accessible via an HTTP address over a special port? The client needs to access the API using the HTTP...
0
by: Andreas | last post by:
Hi, Im trying to consume a webservice described by the WSDL below, however When i try to add the WSDL it does not work, tried to run it through WSDL.EXE It validates in XMLSpy, but WSDL.exe...
3
by: GT | last post by:
I have a .NET client that consumes an Axis web service. A change was made recently to the AXIS web service, and ever since then my .NET proxy class has been throwing an InvalidCastException. The...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.