By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,913 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,913 IT Pros & Developers. It's quick & easy.

how to create WSDL file and what is the use apart from XML?

P: 1
How to create WSDl file for any given domain?
what is the use of it?
what is difference between WSDL and XML?
May 16 '13 #1
Share this Question
Share on Google+
1 Reply


Frinavale
Expert Mod 5K+
P: 9,731
XML stands for "Extensible Markup Language". It is used to describe things.

For example, the following XML describes a "contact":
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0"?>
  2. <contact>
  3.   <name>Frinavale Soldevi</name>
  4.   <company>Bytes.com</company>
  5.   <phone>(555)555-5555</phone>
  6. </contact>
  7.  
As you can see the, the XML marks up a contact and indicates the contact's name, company and phone number.

WSDL (Web Services Description Language) uses XML to describe functionality offered by a web service.

When you create a web service, you need to create a WSDL file that contains XML describe the methods offered by the web service.

Once you have created this, a client that consumes the web service will read the WSDL file in order to be able to call methods offered by the web service.

It is a vital component of web services since it contains information for clients that is necessary for them to be able to consume the web service's functionality.

So, the difference between WSDL and XML is this:
  • XML is a markup language used to describe things
  • WSDL is a file that uses XML to describe services offered by a web service


-Frinny
May 29 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.