30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 21 ASP .<strong>NET</strong> and Web Services 1091<br />

next chapter, we discuss the low-level details of how data is sent from one location <strong>to</strong><br />

another (networking). Topics discussed in the next chapter include the implementation of<br />

servers and clients and the sending of data via sockets.<br />

21.9 Internet and World Wide Web Resources<br />

msdn.microsoft.com/webservices<br />

This Microsoft site includes .<strong>NET</strong> Web service technology specifications and white papers with<br />

XML/SOAP articles, columns and links.<br />

www.webservices.org<br />

This site provides industry related news, articles, resources and links.<br />

www.w3.org/TR/wsdl<br />

This site provides extensive documentation on WSDL. It provides a thorough discussion of Web Service<br />

related technologies such as XML, SOAP, HTTP and MIME types in the context of WSDL.<br />

www-106.ibm.com/developerworks/library/w-wsdl.html<br />

This IBM site discusses WSDL. The page demonstrates the current WSDL XML Web Service specification<br />

with XML examples.<br />

www.devxpert.com/tu<strong>to</strong>rs/wsdl/wsdl.asp<br />

This site presents a high-level introduction <strong>to</strong> Web Services. The discussion includes several diagrams<br />

and examples.<br />

msdn.microsoft.com/soap<br />

This Microsoft site includes documentation, headlines and overviews SOAP. ASP .<strong>NET</strong> examples<br />

that use SOAP are available at this site.<br />

www.w3.org/TR/SOAP<br />

This site provides extensive SOAP documentation. The site describes SOAP messages, using<br />

SOAP with HTTP and SOAP security issues.<br />

www.uddi.com<br />

The Universal Description, Discovery and Integration site provides discussions, specifications, white<br />

pages and general information on UDDI.<br />

SUMMARY<br />

A Web service is a class that is s<strong>to</strong>red on a remote machine and accessed through a remote procedure<br />

call.<br />

Web-services method calls are implemented through Simple Object Access Pro<strong>to</strong>col (SOAP)—an<br />

XML-based pro<strong>to</strong>col describing how requests and responses are marked up so that they can be<br />

transferred via pro<strong>to</strong>cols such as HTTP.<br />

Methods are executed through a Remote Procedure Call (RPC). These methods are marked with<br />

the WebMethod attribute and are often referred <strong>to</strong> as Web-service methods.<br />

Method calls and responses sent <strong>to</strong> and from Web services use SOAP by default. As long as a client<br />

can create and understand SOAP messages, the client can use Web services, regardless of the<br />

programming languages in which the Web services are written.<br />

A Web service in .<strong>NET</strong> has two parts: An ASMX file, and a code-behind file.<br />

The ASMX file can be viewed in any Web browser and displays information about the Web service.<br />

The code-behind file contains the definition for the methods in the Web service.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!