Skip to Main Content
Programming ASP.NET 3.5, 4th Edition
book

Programming ASP.NET 3.5, 4th Edition

by Dan Maharry, Dan Hurwitz, Jesse Liberty
October 2008
Intermediate to advanced content levelIntermediate to advanced
1166 pages
28h 31m
English
O'Reilly Media, Inc.
Content preview from Programming ASP.NET 3.5, 4th Edition

Using SOAP Web Services

SOAP allows two programs to exchange XML documents over HTTP. Using this simple mechanism, it is possible to create a Remote Procedure Call (RPC) model, which many web services do. In that style of SOAP, the documents describe operations to call and the parameters they take. The response document describes the return value of the RPC. SOAP services are usually accompanied by Web Services Description Language (WSDL) documents that describe the calls available in a service and descriptions of the types they use. In the web service world, WSDL documents play the same role that reflection does in .NET. It makes it possible for generic tools to operate with web services without knowing their details beforehand.

The SOAP web service infrastructure has several defining characteristics:

  • Both the web service server and the client application are connected to the Internet.

  • The data format with which the two ends of the connection communicate conforms to the same open standard. SOAP messages usually consist of self-describing, text-based XML documents.

  • The systems at the two ends of the connection are loosely coupled. In other words, web services do not care what operating system, object model, or programming language is used on either end of the connection as long as both the web service and the consuming application are able to send and receive messages that conform to the proper protocol standard.

The logic behind the web service process is shown schematically in Figure 16-2 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Microsoft® ASP.NET 3.5

Programming Microsoft® ASP.NET 3.5

Dino Esposito
Learning ASP.NET 3.5, 2nd Edition

Learning ASP.NET 3.5, 2nd Edition

Brian MacDonald, Dan Hurwitz, Jesse Liberty
Pro ASP.Net 4 in C# 2010

Pro ASP.Net 4 in C# 2010

Matthew MacDonald, Adam Freeman, Mario Szpuszta
Programming .NET 3.5

Programming .NET 3.5

Jesse Liberty, Alex Horovitz

Publisher Resources

ISBN: 9780596156657Supplemental ContentErrata Page