Tales of a Developer Advocate

... and other things

REST and SOAP

I have been playing with Amazons SOAP API as well as Yahoo’s REST API. I really like both of these API’s. I will talk about some ideas I have for letting both of these API’s interact in a later blog. :)

I was looking into using REST in .Net 1.1, it was a bit of hack but it is based off Martin G. Brown work. The basic steps are to download an XSD for the response package. Pass it thorough the XSD.exe tool which will create a Dataset based object which mimics the results. You can then get the results and process them however you need.

Basically we are doing something similar to what WSDL does (obviously we are not creating stubs that WSDL does for the serialization and the communication process). But it is not too hard to start the communications off. [I will include some code examples for Yahoo].

I am yet to look into Googles API, supposedly it is still a Beta with quite a strict usage limit. But hey, it might change! :)