RSS

Using Live Search API in C#

17 Nov

Resources can be found http://msdn.microsoft.com/en-us/library/dd251056.aspx

When compiling the sample program from the official website, you will find there is one class “LiveSearchService” missing. This class is in fact generated by a VisualStudio tool, wsdl.exe, in VS-> Tools-> VS 2005 command

VS2005_cmd.png

In the Command window, type: wsdl.exe http://api.search.live.net/search.wsdl (without quoation mark). This will generate the LiveSearchService.cs in the VS Installation Folder\vc\bin\ folder. Copy and paste this file and insert it into the project, now run the sample project, it works!

 
Leave a comment

Posted by on November 17, 2008 in Dotnet/C#

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: