This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

Duck Typing for Web Services

Stefan Tilkov,

As usual, I find it very easy to agree with Arjen Poutsma — he suggests to use duck typing for building Web services, and offers three tips:

  1. Don’t validate incoming messages!
  2. Use XPath!
  3. Don’t create stubs or skeletons!

Good advice. I’ve written similar things in the past; see also entry #6 here.