Recently, I've been doing a bunch of work with .Net Web Services. I love how easy it is to set up a new Web Service and open up functionality to organizations outside or inside your company. For example, my team has written a bunch of classes for exposing our companies product data to our web site. It turns out, that some of our partners wanted to have access to that data as well on their web sites. The mechanisms were always there to accomplish this; I could have done one of the following:
- Send them a daily Excel spreadsheet with the product data using SQL Server and DTS
- Write an XML-RPC method that returned and XML document of our product data
These methods however, took a lot more time to develop than .Net Web Services do. Plus, in both the above methods, there was a lot more work to be done on the client side to call the service.
With .Net Web Services, I can quickly create a new project for the Web Service, import any classes with methods I want to expose, write a proxy method to call the methods I want to expose, compile and whala...A whole new web service for the client to use.
Assuming the client is using .Net, it's simple for them to use as well. All they have to do is add a web reference to the new Web Service and they are ready to start using the methods that it exposes.
Rather than write a whole article on how to create a simple Web Service, I figured I would just post a bunch of good links on this since there are tons of articles out there on creating .Net Web Services. Overall, creating a Web Service is quite simple and using a one is pretty simple as well, assuming you are using .Net Studio. What is not so simple is adding security, writing asynchronous Web Services, and calling Web Services from non-.Net clients. I will be writing articles about my experiences with these later.
- http://www.dotnet247.com/247reference/a.aspx?u=http://www.dotnetjunkies.com/Tutorial/4D13CEFA-D0FD-44BE-8749-8D17B5757564.dcik
- http://www.15seconds.com/Issue/010430.htm
- http://builder.com.com/5100-6389-1045209.html
- http://www.ondotnet.com/pub/a/dotnet/excerpt/progdotnetws_2/index1.html
- http://www.west-wind.com/presentations/dotnetwebservices/DotNetWebServices.asp
- http://aspnet.4guysfromrolla.com/articles/062602-1.aspx
- http://searchwebservices.techtarget.com/originalContent/0,289142,sid26_gci815684,00.html
- http://www.perfectxml.com/dotnetexample.asp?id=1
- http://www.topxml.com/asp+/articles/webservices/
I can’t agree with you more!
Posted by: Chanel Watches | Thursday, March 31, 2011 at 04:43 AM