InfoQ

News

WSDL 2.0 approved as an official W3C Recommendation

Posted by Hartmut Wilms on Jul 01, 2007

Community
SOA
Topics
Web Services
Tags
Standardization ,
W3C ,
WSDL

WSDL 2.0 has finally been approved as an official World Wide Web Consortium (W3C) recommendation on June 27 2007. The Web Services Description Working Group has been working on the standards for more than 6 years. The recommendation was due on the 31st of December 2006 but has received an extension to the 30th of June this year.

There has been much debate about whether WSDL 2.0 is the long awaited and improved successor of WSDL 1.1 (the de facto standard up to now) or of no relevance at all. Mark Little has written an extensive post on this matter here on InfoQ. The main changes from WSDL 1.1 to 2.0 are:

  • Changes in the naming of WSDL components, e.g. portType has been renamed to interface
  • Removal of message constructs
  • Support of additional Message Exchange Patterns
  • Support of other type systems than XML Schema
  • HTTP binding, which supports POX(Plain Old XML)/REST-style services

The article "WSDL 2.0: A Pragmatic Analysis and an Interoperation Framework" gives an up-to-date overview of the changes and discusses the interoperability issue between WSDL 1.1 and 2.0:

Adopting WSDL 2.0 will lead to interoperability issues with existing WSDL 1.1 implementations. Most Web Service implementations are based on WSDL 1.1 on both the producer and consumer side. Interoperability issues with respect to the adoption of the new standard can arise in two ways. First, issues related to exposing already hosted services through the WSDL 2.0 specification and second, issues related to the consumption of the services from the client side using the WSDL based on the WSDL 2 specification.

Eran Chinthaka, pioneering member of the Apache Axis2 project, examines the support of POX/REST-style services in WSDL 2.0 within his article "Enable REST with Web services, Part 1: REST and Web services in WSDL 2.0":

The motivation of WSDL 2.0 HTTP binding is that it allows services to have both SOAP and HTTP bindings. The service implementation deals with processing application data, often represented as an XML element, and the service doesn't know whether that data came inside a SOAP envelope, HTTP GET, or HTTP POST. WSDL 2.0 HTTP binding enables you to expose a service as a resource to be invoked using HTTP methods. At the same time, you need to understand that HTTP binding doesn't enable you to implement a full REST style system. This is often debated by a lot of people, and it all depends on how much you believe in what REST can deliver.

Although the title of the article promises REST support in WSDL 2.0, the résumé at least seems to show the author is aware that what WSDL 2 supports is POX over HTTP, not REST. The key point is that WSDL is centered around a single URI, the service, which provides an arbitrary number of operations. REST just works the opposite way.

WSDL 2.0 might offer some interesting changes. However when looking at the history of SOAP it seems very unlikely that WSDL 2.0 will become relevant in the near future. SOAP 1.2 has reached recommendation status in June 2003, 3 years after SOAP 1.1 had been submitted, and still it isn't widely used and sometimes not even supported. In addition one of the few if only implementations of WSDL 2.0 is provided by Apache Axis2. Judging from past experience WSDL 2.0 has a long way to go. What do you think?

And the working group closes by Mark Little Posted Jul 2, 2007 12:11 PM
Re: And the working group closes by Dan Diephouse Posted Jul 3, 2007 9:01 AM
Re: And the working group closes by Mark Little Posted Jul 3, 2007 1:26 PM
  1. Back to top

    And the working group closes

    Jul 2, 2007 12:11 PM by Mark Little

  2. Back to top

    Re: And the working group closes

    Jul 3, 2007 9:01 AM by Dan Diephouse

    www.w3.org/2002/ws/desc/


    ... are you pointing out the 2002 in the URL? :-)

    Personally, I don't think much will happen with WSDL 2 until MS supports it, but I could be shown wrong.

  3. Back to top

    Re: And the working group closes

    Jul 3, 2007 1:26 PM by Mark Little

    www.w3.org/2002/ws/desc/


    ... are you pointing out the 2002 in the URL? :-)

    Personally, I don't think much will happen with WSDL 2 until MS supports it, but I could be shown wrong.


    The 2002 is because of the W3C URL formatting. But if you check the actual page, you'll see:

    The Web Services Description Working Group completed its deliverables and closed on 29 June 2007.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.