|Friday, February 01, 2002
John Robb's Radio Weblog John has got some great thoughts on using Radio as a Knowledge Log tool. This is where I want to go with Radio and On the Mark - blogging my experiences and the knowledge I gain along the way for the benefit of others - some inside the company I work for, and some for the interested public. You can do the same thing; it does not all have to happen in some centralized place. I say that mostly as a motivation for those behind our corporate firewall.
5:24:41 PM [Macro error: The file "D:\Program Files\Radio UserLand\www\#prefs.txt" wasn't found.]
More Interop Success: I am off to DevelopMentor's Guerilla .NET course next week so this blog will be silent. While I was working on Radio/.NET interop yesterday, today I focused on using Radio to converse with some pre-.NET SOAP components we have laying around (COM components for which we generated SOAP wrappers using the SOAP Toolkit). Radio works great with these!
My goal was to use existing SOAP components (OK, web services) behind the firewall in an attempt to retrieve a list of insurance policies that I hold. The single biggest problem I had was working out the protocol for each individual invocation and the required sequence of calls. It turned out to be only two calls, but there were many more available and I was unclear on which ones I really needed to perform. WSDL is of no help there; I think it is strictly a documentation issue. I had to resort to looking at how our .ASP scripts go about the process. Since that took the better part of the afternoon I am going to advocate a better way (as soon as I think of it).
The protocol for each call was less difficult, but still required a peek at existing code to figure it out. The parameter names documented in the WSDL did not adequately define the purpose of the parameter (so I was not always sure what to plug in). In one case I found a method that was actually expecting an XML document. I guess the parm name, szSeedXML, kind of hinted at that, but there would be no way for sombody to figure out what the XML doc should look like without some kind of doc or sample code. I want to ponder the advantages and disadvantages of this "just pass a string" approach a bit before pronouncing any judgement.
The Lesson I learned was that some kind of human-readable documentation, retrievable from a guessable location is really neccessary before an outsider can work with somebody else's web services. I have something rolling around in the back of my head about how to do this with Radio. More details in a week.