Monday, April 21, 2003

Simon asks an interesting question about wsdl.exe /server. This was indeed pretty broken in .NET Fx 1.0 -- inheritence didn't pick up the attributes. I thought we fixed that for .NET Fx 1.1, but I've been working on the WSE pretty heavily, so am unsure. What I've done with this instead is taken the generated code (which gets the attributes right) and changed the class itself from an abstract one to a real class with implementation -- not the best experience in the world. Actually, though, I've mostly just created the services by hand.

I realize now my book should have warned that there were problems with this switch. I tried to focus on more prescriptive guidance, and I think omitting that was a mistake (albeit an unconcious one). For the most part, I tried to explain instead how to do what wsdl.exe /server does, so that you could do it by hand.