The code used in the notes and in the talk

Section 3: Providing a Web Service

The code for Section 3 of the document is in the WebServerConvert directory. In particular, the file MyService.asmx.cs is here.

During the talk I developed a Web Service providing two methods called HelloWorld and Add. The code for this Web Service is in the WebService9 directory. In particular, the file Service1.asmx.cs is here.

Section 4: Accessing a Web Service

The code for Section 4 of the document is in the WebClientConvert directory. In particular, the code of the proxy class is in the WebClientConvert/Web References/WebServerConvertProxy directory in a file called MyService.cs. The code of a Web Form application that uses this proxy class is in the file MyWebForm.aspx.cs. Its supporting WWW page (an ASP.NET page) is in the file MyWebForm.aspx.

During the talk I developed a client of the Web Service that provided the Add (and HelloWorld) methods. The code of the proxy class is in the WebApplication9/Web References/Proxy directory in a file called Service1.cs. The code of the Web Form application that uses this proxy class is in the file WebForm1.aspx.cs. Its supporting WWW page (an ASP.NET page) is in the file WebForm1.aspx.

Other examples: compsoc

At the end of the talk, I developed another example of a Web Form application whose code queried some Web Services. It used two of the Web Services advertised at www.xmethods.com.

The code of the proxy class for the ZipCode to City proxy is in the compsoc/Web References/CityProxy directory in a file called ZipService.cs.

The code of the proxy class for the ZipCode to Weather proxy is in the compsoc/Web References/WeatherProxy directory in a file called weatherretriever.cs.

The code of the Web Form application that uses these proxy classes is in the file WebForm1.aspx.cs. Its supporting WWW page (an ASP.NET page) is in the file WebForm1.aspx.

Other examples: ZipCode

Although I developed the compsoc example during the talk, I also showed a version of it that I had prepared earlier. This is the ZipCode example. It used three Web Services.

The code of the proxy class for the ZipCode to City proxy is in the ZipCode/Web References/ZipToCityProxy directory in a file called ZipService.cs.

The code of the proxy class for the ZipCode to Weather proxy is in the ZipCode/Web References/ZipToWeatherProxy directory in a file called weatherretriever.cs.

The code of the proxy class for the ZipCode to Music Teachers proxy is in the ZipCode/Web References/ZipToMusicTeachersProxy directory in a file called MusicTeachers.cs.

The code of the Web Form application that uses these proxy classes is in the file WebForm1.aspx.cs. Its supporting WWW page (an ASP.NET page) is in the file WebForm1.aspx.