Categories
Internet Application Development

FIT5032: Week 10

Week 10 of Internet Application Development was unfortunately a missed class for me. The lecture moved from data stores to web services.

The obvious place to start is with a definition of web service (source week 10 lecture notes):

A web service is a component of programmable application logic that can be accessed using standard web protocols.

XML comes unto its own in the web services field and ASP.NET does not deviate from the industry gravitation to XML.

Keeping with the practical flavor of the unit,  we go straight into some examples:


<%@ WebService Language="c#"%>
using System.Web.Services;
public class Greetings
{
 [WebMethod] public string Hello(string strName)
 {
  return "Hello, " + strName + ". Welcome to my web service";
 }
}
source: Week 10 lecture notes

The client options of GET and POST were briefly explored, but SOAP (http://en.wikipedia.org/wiki/SOAP)