Home > Articles > Web Services

  • Print
  • + Share This
This chapter is from the book


The workshop is designed to help you review what you've learned in this hour and to prepare you for the material that will be covered in future hours. The answers to the quiz are in Appendix A.


  1. Where is WSDL.exe found?

    1. At the DOS prompt of any machine with the .NET framework installed.

  2. How do you add a Web reference to a project in Visual Studio .NET?

    1. By using the dialog displayed by Add Web Reference under the Project menu.

  3. How do you create a new object, called oService, based on the Accounting class of a XML Web service DLL called AccountSoft

    1. In Visual Basic:

      	Dim oService as new AccountSoft.Accounting

       In C#:

      	AccountSoft.Accounting oService = new_ AccountSoft.Accounting
  4. What does the /language setting of WSDL.exe do?

    1. It controls the language in which the resulting proxy class is created.

  5. What is the name of the DLL that is commonly added to XML Web service clients to obtain functionality specific to XML Web service clients?

    1. System.Web.Services.dll.


Create code for any new method that you added to the four-function calculator in the last hour. Also, if you have created any new XML Web services, try creating clients for them as well.

Here is the code for the squaring function that was added at the end of Hour 7.

   Public Sub Button5_Click(ByVal sender As Object, _
             ByVal e As System.EventArgs)

     TextBox3.Text = oCalc.Squared(CInt(TextBox1.Text)).ToString

    End Sub
  • + Share This
  • 🔖 Save To Your Account