Home > Ask the SOA Experts > SOA governance and standards Questions & Answers > WSDL technology
Ask The SOA Expert: Questions & Answers
EMAIL THIS

WSDL technology

Anne Thomas Manes EXPERT RESPONSE FROM: Anne Thomas Manes

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 12 November 2007
Where does WDSL come into play and why? I am new to WDSL technology and want to know why and when to use it?

>
EXPERT RESPONSE

A WSDL provides a comprehensive technical description of your service. It describes what the service does (its operations and message formats), how to interact with it (its bindings and protocols), and where to find it (its endpoint URL). If you are providing a service, you should always provide a WSDL that describes it. If you are consuming a service, you use the WSDL to construct your client application.

A WSDL is machine-readable, so you can compile a WSDL to generate client stubs and server skeletons. Many SOAP frameworks also provide a utility to generate a WSDL from a code-based service interface (Java or .NET) or from a service implementation class. These WSDL emitters are useful when you are first learning about WSDL, but as you get more familiar with the technology, you should shift to a WSDL-first development methodology. Generating WSDLs from code often causes interoperability problems, especially if your application uses language-specific types. The generated WSDLs also result in a proliferation of service-specific schema types, and one of your goals in a SOA initiative is to reduce the number of types in your organization.

Assuming you are using WSDL 1.1, a WSDL consists of five parts:

  • types: using XML Schema, this section specifies the data structures used by the service
  • message: specifies the data structure that is used in a particular input, output, or fault message (each message references a structure specified in the types section)
  • portType: specifies the service interface from a logical perspective -- defines a set of operations (methods), and for each operation specifies the input, output, and fault messages that are exchanged for that operation (each operation references the messages described in the messages section
  • binding: describes a concrete binding of an abstract service interface to a specific set of formats and protocols (a binding references the logical interface specified in a portType)
  • service: specifies the physical endpoint that provides access to a particular binding for the service (a service port references a binding)

WSDL 2.0 changed the model a bit. The "message" section went away, and the "portType" section was renamed "interface". An interface defines its input, output, and fault messages, and references the schema data structures directly.

WSDL 2.0 is still quite new, and only a few SOAP frameworks support it at this time.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
WSDL (Web Services Description Language)
WSDLs get a report card
Amazon Mechanical Turk Web services app touts improved development GUI
SOA triple play: Policy meets Semantic Web
Eclipse Ganymede: Web Tools build SOA foundation
Java One: Mule architect looks to bring REST to SOA
A middle way to SOA governance
WSDL 2.0, new messaging for Web services
WSO2 releases C and PHP frameworks
WADL: The REST answer to WSDL
W3C adds semantics to WSDL

SOA governance and standards
UDDI clients and UDDI implementations
Creating an enterprise data dictionary
Hard vs. live real time systems
Service contract tools
Open source UDDI tools
SOA policy management
Service reuse rules
WSDM lagging behind WS-Management
The status of JBI
WSDL 1.1 vs. WSDL 2.0

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Web Services Description Language  (SearchSOA.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2001 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts