Jay's Web Services Notebook

  1. web_services_page1.html - Program 1: C# Server "HelloServer"
  2. web_services_page2.html - Program 2: C# Client "HelloClient"
  3. web_services_page3.html - Program 3: C# "HelloServer2/HelloClient2"
  4. web_services_page4.html - Program 4: C# "HelloServer3/HelloClient3"
  5. web_services_page5.html - Program 5: gSOAP "HelloClient5"
  6. web_services_page6.html - Program 6: csoap "HelloClient6"
  7. web_services_page7.html - Program 7: Axis2/C "HelloClient7"
  8. web_services_page8.html - Program 8: C# Server "HelloServer4"
  9. web_services_page9.html - Program 9: Axis2/Java "HelloClient8"
  10. web_services_page10.html - Program 10: Axis2/Java "HelloClient9"
  11. web_services_page11.html - Program 11: C# Server "HelloRestServer1"


I will be researching how to make Web services applications. I will do this with C#, using Microsoft Visual Studio 2008. Then, I'll make a client in C that is able to connect to the Web Service.


This involves heavy use of some lingo. Namely:

Web Service
A "Web Service" is a web server that performs services. The technical definition is a web server that provides an interface that can be defined with a WSDL document. Think of a Web Service as a sort of COM interface that you connect to over the internet (identified by URLs instead of GUIDs). Aside from the gruesome details, the end purpose is pretty much the same: invoking methods on some interface. For more information, here's a link to W3C's "Web Services Glossary": http://www.w3.org/TR/ws-gloss/.
Web Service Description Language, a W3C standard, is a markup language that defines how a server expects to be communicated with. For more information, see the official specification: http://www.w3.org/TR/wsdl. I recommend using WSDL, but I don't recommend trying to "learn" WSDL, it's complex and I wouldn't ever think of writing it by hand.
Simple Object Access Protocol, a W3C standard, is a markup language that is meant to be used as a form of communication between a Web Service server and client. For more information, see the official specifications: http://www.w3.org/TR/soap/. I've said many times: if there's anyone out there who reads the SOAP specification and finds it to be "simple," please explain it to me, thanks.
Windows Communication Foundation, a Microsoft standard, is a framework which makes hides much of the complexity involved with Web Service, making it simple to code. I recommend the book "Essential Windows Communication Foundation" (Resnick/Crane/Bowen 2008). It's a great book for anyone using WCF.