Tài liệu Developing .Net Web Services With Xml ppt

482 364 0
  • Loading ...
1/482 trang
Tải xuống

Thông tin tài liệu

Ngày đăng: 14/02/2014, 20:20

[...]... 206_XMLweb_01.qxd 6/25/02 12:37 PM Page 9 What Are Web Services? • Chapter 1 In ASP.NET ,Web Services and their methods are defined in pages with the asmx extension.When we create Web Services, the NET Framework generates a Web Services Description Language (WSDL) file on the server hosting the Service; this WSDL file describes the Web Service interface On the Web server that hosts our aspx pages,VS.NET... www.syngress.com 9 206_XMLweb_01.qxd 10 6/25/02 12:37 PM Page 10 Chapter 1 • What Are Web Services? Figure 1.7 Web References in VS.NET’s Solution Explorer Window NOTE A single application hosted on the Web server may access several Web Services residing on different servers Likewise, many Web servers may access one Web Service .asmx Files ASP.NET uses the asmx file extension for defining ASP.NET Web Services. The... Understanding Web Services ■ Using XML in Web Services ■ An Overview of the System .Web. Services Namespace ■ Type Marshalling ■ Using DataSets Summary Solutions Fast Track Frequently Asked Questions 1 206_XMLweb_01.qxd 2 6/25/02 12:37 PM Page 2 Chapter 1 • What Are Web Services? Introduction Web Services provide a new level of interaction to all kinds of applications.The ability to access and use a remote Web. .. an XML Document 72 Well-Formed XML Documents 75 Schema and Valid XML Documents 76 Structure of an XML Document 80 Processing XML Documents Using NET 81 Reading and Writing XML Documents 82 Storing and Processing XML Documents 83 Reading and Parsing Using the XmlTextReader Class 84 Parsing an XML Document 85 Navigating through an XML Document to Retrieve Data 87 Writing an XML Document Using the XmlTextWriter... this process Figure 1.1 Where Do Web Services Fit In? Host Web Services Data Internet and Database Servers Host Web Pages Host Web Pages Host Web Pages Internet Servers IIS Internet Servers IIS Internet Servers IIS Internet Users Workstations Workstations Workstations www.syngress.com Workstations Workstations 206_XMLweb_01.qxd 6/25/02 12:37 PM Page 3 What Are Web Services? • Chapter 1 In this chapter... using System .Web; using System .Web. Services; namespace Hello { public class Hello : System .Web. Services. WebService { public Hello() { InitializeComponent(); } private void InitializeComponent() { } protected override void Dispose( bool disposing ) { } [WebMethod] public string HelloWorld() { return "Hello World"; } www.syngress.com 206_XMLweb_01.qxd 6/25/02 12:37 PM Page 5 What Are Web Services? • Chapter... Services? • Chapter 1 } } You can quickly create this class in VS.NET by creating and opening a C# Web Application project or Web Service project and adding a new WebService page If you prefer, similar code could be written to create a VB.NET Service: Imports System .Web. Services Public Class Service1 Inherits System .Web. Services. WebService Public Function HelloWorld() As String HelloWorld... two books, VB.NET Developer’s Guide (ISBN: 1-928994-48-2) and the C# Web Developer’s Guide (ISBN: 1-928994-50-4) Both of these books offer the proper foundation to properly leverage the knowledge and information in Developing NET Web Services with XML —David Jorgensen, MCP www.syngress.com 206_XMLweb_fore.qxd 6/26/02 10:06 AM Page xix Foreword xix About the Web Site The Syngress Solutions Web site (www.syngress.com/solutions)... as Web Services, as shown in Chapter 7 “Building a SQLXML Web Service.”This is a growing segment of Web Services and XML Using the universal versatility of XML, an application can transport data across multiple platforms and achieve the same results Encapsulating this logic in Web Services adds functionality to both the application and the database This book assumes that you have prior experience with. .. utility www.syngress.com 11 206_XMLweb_01.qxd 12 6/25/02 12:37 PM Page 12 Chapter 1 • What Are Web Services? Figure 1.8 Adding a Web Form Control to an aspx Page Figure 1.9 Auto-generated Button Event Code www.syngress.com 206_XMLweb_01.qxd 6/25/02 12:37 PM Page 13 What Are Web Services? • Chapter 1 6 When the Add Web Reference dialog opens (see Figure 1.10) click the link Web References on local server . System .Web. Services Namespace 17The System .Web. Services. DescriptionNamespace 17The System .Web. Services. DiscoveryNamespace 17The System .Web. Services. ProtocolsNamespace. 209Introduction 210 Web Service Standards 211Describing Web Services WSDL 211Discovering Web Services DISCO 217Publishing Web Services UDDI 219Working with UDDI
- Xem thêm -

Xem thêm: Tài liệu Developing .Net Web Services With Xml ppt, Tài liệu Developing .Net Web Services With Xml ppt, Tài liệu Developing .Net Web Services With Xml ppt

Gợi ý tài liệu liên quan cho bạn

Nhận lời giải ngay chưa đến 10 phút Đăng bài tập ngay