From Section 7.3.1 of the book
The attribute [SoapRpcFormat] extends the message format for web services with the format rpc/encoded. Without this attribute the encoding is document/literal. The SOAP encoding requires us to import the namespace System.Web.Services.Protocols. Methods must have unique names, therefore GetTime cannot be overloaded so our new method must be named GetTime2.TimeService.asmx
If you copy this code to a file TimeService.asmx in a virtual directory of your local machine you can open it with Internet Explorer and get a test page that allows you to invoke the methods GetTime and GetTime2.
Alternatively, you can test your web service also with Webservice Studio.