![]() |
Friday, October 11, 2002 |
Don Box made the same point last March, I think the exact quote was "WSDL.EXE /server is the unsung hero of web service programming". The problem is that hand writing WSDL is just unbelievably painful. I got started doing interface based programming about 6 years ago, doing CORBA. CORBA IDL was OK to work with, not too hard to learn, easy to edit by hand. Then doing COM: about an order of magnitude in complexity. The wizards start looking nicer and nicer. Now WSDL, which is maybe not so complex, but is so ridiculously verbose that you'd get carpal tunnel just typing a simple contract. Tools would be really nice and would support this form of programming, but I think it's too late. The auto-generated WSDL that all the good toolkits provide is too good, and too easy. And the problem with the previous interface based systems is that you need to set up a build step to generate server implementation stubs, and then you need to make sure your server implementation code stays in sync. So you really have to get the interface right early on, or figure out a way to force the interface to stay in sync. Visual C++ did a pretty good job with this; you could do COM objects without ever seeing the IDL. The point is that WSDL matters; what goes on the wire matters. But unless the tool vendors do something to support that idea, we're going to have a lot of lazy programmers doing the wrong thing. 12:54:51 PM permalink
![]() |