Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Services (Chapter 23 in [1]). 2 Outline Introduction Introduction.NET Web Services Basics.NET Web Services Basics Simple Object Access Protocol (SOAP)

Similar presentations


Presentation on theme: "Web Services (Chapter 23 in [1]). 2 Outline Introduction Introduction.NET Web Services Basics.NET Web Services Basics Simple Object Access Protocol (SOAP)"— Presentation transcript:

1 Web Services (Chapter 23 in [1])

2 2 Outline Introduction Introduction.NET Web Services Basics.NET Web Services Basics Simple Object Access Protocol (SOAP) Simple Object Access Protocol (SOAP) Publishing and Consuming Web Services Publishing and Consuming Web Services Session Tracking in Web Services Session Tracking in Web Services

3 3 Objectives In this chapter you will learn: What a Web service is. What a Web service is. How to create Web services. How to create Web services. The important part that XML and the XML-based Simple Object Access Protocol play in enabling Web services. The important part that XML and the XML-based Simple Object Access Protocol play in enabling Web services. The elements that comprise Web services, such as service descriptions and discovery files. The elements that comprise Web services, such as service descriptions and discovery files. How to create a client that uses a Web service. How to create a client that uses a Web service. How to use Web services with Windows applications and Web applications. How to use Web services with Windows applications and Web applications. How to use session tracking in Web services to maintain state information for the client. How to use session tracking in Web services to maintain state information for the client.

4 4 Fig. 22.1 | Web service components.

5 5 Fig. 22.2 | ASMX file rendered in a Web browser. Link to the service description Links to the Web service’s methods

6 6 Fig. 22.3 | Service description for our HugeInteger Web service.

7 7 Fig. 22.4 | Invoking a Web method from a Web browser.

8 8 Fig. 22.5 | Results of invoking a Web method from a Web browser.

9 9 Fig. 22.6 |.NET Web service client after a Web reference has been added.

10 10 Fig. 22.7 | Interaction between a Web service client and a Web service.

11 11 HugeInte ger.asmx HugeInte ger.asmx

12 12 HugeInte ger.cs HugeInte ger.cs (1 of 7) (1 of 7)

13 13 HugeInte ger.cs HugeInte ger.cs (2 of 7) (2 of 7)

14 14 HugeInte ger.cs HugeInte ger.cs (3 of 7) (3 of 7)

15 15 HugeInte ger.cs HugeInte ger.cs (4 of 7) (4 of 7)

16 16 HugeInte ger.cs HugeInte ger.cs (5 of 7) (5 of 7)

17 17 HugeInte ger.cs HugeInte ger.cs (6 of 7) (6 of 7)

18 18 HugeInte ger.cs HugeInte ger.cs (7 of 7) (7 of 7)

19 19 Fig. 22.10 | Creating an ASP.NET Web Service in Visual Web Developer.

20 20 Fig. 22.11 | Code view of a Web service.

21 21 Fig. 22.12 | Adding a Web service reference to a project.

22 22 Fig. 22.13 | Add Web Reference dialog.

23 23 Fig. 22.14 | Web services located on localhost.

24 24 Fig. 22.15 | Web reference selection and description.

25 25 Fig. 22.16 | Solution Explorer after adding a Web reference to a project.

26 26 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (1 of 8) (1 of 8)

27 27 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (2 of 8) (2 of 8)

28 28 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (3 of 8) (3 of 8)

29 29 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (4 of 8) (4 of 8)

30 30 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (5 of 8) (5 of 8)

31 31 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (6 of 8) (6 of 8)

32 32 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (7 of 8) (7 of 8)

33 33 UsingHug eInteger Service.cs UsingHug eInteger Service.cs (8 of 8) (8 of 8)


Download ppt "Web Services (Chapter 23 in [1]). 2 Outline Introduction Introduction.NET Web Services Basics.NET Web Services Basics Simple Object Access Protocol (SOAP)"

Similar presentations


Ads by Google