Listing B
/* Listing B: Allows us to keep our overloaded methods by directing ASP.NET
   to give unique names to the messages. */

[WebMethod(MessageName = "GetEmployeeByID")]
public EmployeeInfoStruct GetEmployeeInfo(int nEmployeeId) {...}

[WebMethod(MessageName = "GetEmployeeByName")]
public EmployeeInfoStruct GetEmployeeInfo(string sLastName, string sFirstName) {...}