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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pavithra
    New Member
    • May 2013
    • 1

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

    How to create WSDl file for any given domain?
    what is the use of it?
    what is difference between WSDL and XML?
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    XML stands for "Extensible Markup Language". It is used to describe things.

    For example, the following XML describes a "contact":
    Code:
    <?xml version="1.0"?>
    <contact>
      <name>Frinavale Soldevi</name>
      <company>Bytes.com</company>
      <phone>(555)555-5555</phone>
    </contact>
    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

    Comment

    Working...