IT Community - Software Programming, Web Development and Technical Support

Web Service with WSDL

This is a discussion on Web Service with WSDL within the XML and SOAP forums, part of the Web Development category; Describe Your Web Service with WSDL For clients to be able to call a Web service they need to know ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > XML and SOAP

Register FAQ Members List Calendar Mark Forums Read
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-28-2007, 05:24 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Default Web Service with WSDL

Describe Your Web Service with WSDL
For clients to be able to call a Web service they need to know the available method names, the parameter names and types, and the expected output type for each method. Therefore, you need to generate some kind of interface that can sit between the server and client so each can understand the other's request or response. The Web Services Description Language (WSDL) fulfills these interface requirements.

WSDL, officially, is an XML grammar that contains information about the interface and semantics of a call to a Web service. But you can think of a WSDL file as an XML document that describes a set of SOAP messages, and how those messages are exchanged. In other words, WSDL is to SOAP as Interface Definition Language (IDL) is to CORBA or COM. Because WSDL is also XML, it is humanly readable and editable.

After developing a Web service, you publish its description and a link to it in a UDDI (Universal Description, Discovery and Integration) repository so that potential users can find it. When someone thinks they want to use your service, they request your WSDL file to find out the details for using the service. They then use the information in your WSDL file to form a SOAP request message.

The WSDL file is the heart of the Web service transaction, because without it the clients can't communicate with your Web service. To understand the value of WSDL, imagine you want to start calling a SOAP method provided by one of your business partners. You could ask him for some sample SOAP messages and write your application to produce and consume messages that look like the samples, but that can be error-prone. For example, you might see a customer ID of 8907 and assume it's an integer when in fact it's a string. The WSDL file specifies the contents of request and response messages unambiguously.


thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/xml-soap/853-web-service-wsdl.html
Posted By For Type Date
Digg / Programming / Upcoming This thread Refback 07-20-2007 05:24 AM
Digg - Web Service with WSDL This thread Refback 07-20-2007 03:56 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is web service? saravanan Java Server Pages (JSP) 1 10-20-2008 12:58 AM
Windows Service Balasubramanian.S C# Programming 1 02-27-2008 09:47 PM
What is WSDL? amansundar ASP and ASP.NET Programming 5 11-21-2007 10:33 PM
web service nssukumar Java Programming 1 07-19-2007 03:59 AM
Web Designing Service swoosh Web Design Help 2 05-17-2007 05:20 AM


All times are GMT -7. The time now is 03:14 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0