Section 7.3 Web Services in ASP.NET with VB
Learning Objectives
After you have completed this section, you should be able to
- explain what a web service is.
- create and publish WCF web services using XML, JSON, SOAP, and REST.
- create a client that can consume WCF web service.
- use WCF web services with Windows and web applications.
- use session tracking in WCF web services.
- pass user-defined types to a WCF web service.
Activities
- Carefully read the learning objectives.
- Find some examples of web services in Visual Basic and write a summary of the function and implementation of each website.
- Watch the presentation for the section;
- Read online Chapter 25, Web Services in Visual Basic.
- Find answers to the study questions below.
- Do exercises 25.3 and 25.6 of Chapter 25.
Study Questions
- What is a web service?
- What does WCF stand for?
- What are WCF web services?
- What are the three key components of a WCF service?
- What does SOAP stand for? What does the SOAP protocol do?
- What is REST?
- What are RESTful web services?
- What is JSON? What can it be used for?
- What are SOAP messages?
- What is the structure of a SOAP message?
- What does a SOAP request message do?
- What does a SOAP response message do?
- How do you develop and publish a WCF web service?
- How do you consume a WCF web service?
- How do you use XML, JSON, SOAP, and REST in creating WCF web services?
- How do you create, publish, and consume a REST-based XML web service?
- How do you create, publish, and consume a SOAP-based WCF web service?
- How do you create, publish, and consume a REST-based JSON web service?
- How do you use session tracking in SOAP-based WCF web services?
- What is WSDL? What can WSDL be used for?
- How do you pass user-defined types to a WCF web service? What are user-defined types in this context?
Review
Do the self-review exercises at the end of Chapter 25.
Summary
Read the online Chapter 25 summary.