WS-DuckTyping
One of the most popular features of languages such as Smalltalk, ObjectiveC, and Ruby is duck typing. The basic thought behind duck typing is that if an object walks like a duck and talks like a duck,
then the language is happy to treat it as if it a duck. In other words: the object's type is determined by what it can do, not by its class.
Web services exchange information, often in a common, interlingual format such as XML. What happens when we apply the principles behind duck typing to Web services?
This talk presents WS-DuckTyping: not a new W3C standard; but rather a way to deal with XML as if it were a duck. We will give a number of practical tips to implement this Anatidaeic development style,
including working with XPath to extract information from incoming Web service request, whether and how to validate XML with a schema, and more. Finally, we will show some recent improvements into Spring Web
Services which facilitate WS-DuckTyping.
Audience
Intermediate
Prerequisites
Knowledge of XML and Spring required, knowledge of XPath useful
Speaker