Training
Certifications
Books
Special Offers
Community




 
Microsoft® .NET XML Web Services Step by Step
Author Adam Freeman, Allen Jones
Pages 432
Disk N/A
Level Beg/Int
Published 10/30/2002
ISBN 9780735617209
Price $39.99
To see this book's discounted price, select a reseller below.
 

More Information

About the Book
Table of Contents
Sample Chapter
Index
Companion Content
Related Series
About the Author

Support: Book & CD

Rate this book
Barnes Noble Amazon Quantum Books

 

Table of Contents


Introductionxi
    Why We Wrote This Book xii
    Who Should Read This Book xiii
    Organization of This Book xiii
        Part 1—Understanding XML Web Services xiv
        Part 2—XML Web Services and Clients xiv
        Part 3—Advanced XML Web Services xiv
        Part 4—Appendixes xiv
    Installing and Using the Practice Files xv
        Downloading and Installing the Libraries and Sample Code xv
        System Requirements xvi
    Conventions and Features in This Book xvii
    Support xvii
PART 1   UNDERSTANDING XML WEB SERVICES1
CHAPTER 1   Introduction to XML Web Services3
    What Are XML Web Services?3
    XML Web Service Examples4
        Information Services4
        Centralization Services5
        Data Integration, Aggregation, and Analysis5
        Extending and Integrating Applications6
        Peer-Based and Push-Based Systems6
    The Benefits of XML Web Services7
        Standards Based7
        Vendor Neutral7
        Simplicity8
        Language and Platform Independence8
        Functional Abstraction8
        Discoverable8
        Reduced Development Time8
    Challenges Facing XML Web Services10
        Immature Technology10
        Consumer Adoption10
        Unproven Business Model11
        Managing Complexity11
        Maintaining Consistency12
        Operational Issues and Support Infrastructure12
    XML Web Services Standards and Protocols13
        Directory and Discovery13
        Description15
        Messaging15
        The Extensible Markup Language16
        Transport16
    XML Web Service Architecture16
        Directory, Discovery, and Description17
        Proxy Objects17
    Creating XML Web Services with ASP.NET18
CHAPTER 2   Developing XML Web Services Using Visual Studio .NET 21
    Preparing the Development Environment 22
        IIS Server Requirements 22
        Installing Internet Information Services 23
        Configuring IIS Server for XML Web Service Development 24
        Installing Visual Studio.NET 26
    ASP.NET Fundamentals for XML Web Services 27
        ASMX Files 28
        The @ WebService Directive 29
        Code-Behind Files 29
    Creating XML Web Service Projects in Visual Studio .NET 30
        Creating the HelloWorld XML Web Service 30
        Testing the HelloWorld XML Web Service 34
        The XML Web Services Project Files 36
        Uploading Files to IIS Server from Visual Studio .NET 38
CHAPTER 3   Building the Credit Card Validation Service 41
    The Credit Card Validation Service 41
        The Credit Card Validation Process 42
        CreditCardValidator Library Functionality 42
    The VISAValidator Service 43
        Creating the VISAValidator Service 44
        Testing the VISAValidator XML Web Service 50
    Understanding the VISAValidator Code 53
        The System.Web.Services Namespace 54
        The WebService Base Class 55
        The WebService Attribute 56
        The WebMethod Attribute 57
PART 2   XML WEB SERVICES AND CLIENTS61
CHAPTER 4   Building a SOAP Client 63
    Proxy Classes and Web References 64
        Creating a Web Reference 65
        Renaming the Web Reference 67
        Viewing the Web Reference Files and Properties 68
        Using a Proxy Class 70
    XML Web Service Clients 72
        Creating the Windows Forms Client 73
        Creating the Web Forms Client 79
        Creating the Console Client 83
CHAPTER 5   Building an HTTP Client 89
    HTTP-GET and HTTP-POST Protocols 89
        Comparing HTTP-GET and HTTP-POST 90
        Comparing HTTP and SOAP 91
    Consuming XML Web Services Using HTTP 94
        HTTP Proxy Classes 95
        Creating a Web Forms Client 95
CHAPTER 6   Data Types in XML Web Services 101
    Representing Data Using SOAP 101
    Representing Data Using HTTP 102
    Simple Types 102
    Complex Types 103
        Creating an XML Web Service That Uses a Complex Type 104
        Consuming an XML Web Service That Uses a Complex Type 110
    Reference Arguments 115
        Creating an XML Web Service That Uses Reference Arguments 116
        Consuming an XML Web Service That Uses Reference Arguments 120
CHAPTER 7   Exception Handling 125
    How ASP.NET Handles Exceptions 125
    Using Custom Fault Codes 127
        Throwing Exceptions in XML Web Services 127
        Handling Exceptions in XML Web Service Clients 132
        Testing the WindowsFormsClient Application 140
CHAPTER 8   Debugging XML Web Services with Visual Studio .NET 143
    Breakpoints and Exceptions 144
    Using Breakpoints 144
        Creating the XML Web Service Debugging Project 144
        Creating the XML Web Service Client 146
        Setting a Breakpoint 149
        Stepping with the Debugger 151
    Configuring Breakpoints 153
        Using the Hit Count 153
        Breaking on Conditions 157
        Disabling and Removing Breakpoints 160
    Breaking on Exceptions 160
CHAPTER 9   Publishing and Discovering XML Web Services165
    Publishing and Discovering XML Web Services Using UDDI165
        Publishing XML Web Services Using UDDI166
        Discovering XML Web Services Using UDDI183
    Publishing and Discovering XML Web Services Using DISCO files187
        DISCO Files187
        Automatic Discovery and .vsdisco Files189
    XML Web Service Deployment191
        Manual Deployment192
        Visual Studio .NET Copy Project194
        Visual Studio .NET Web Setup Project195
Advanced XML Web Services207
CHAPTER 10   State Management 209
    Client State 210
        Using Client Sessions 210
        Consuming an XML Web Service That Uses Client State 216
    Application State 224
        Using the Application Property 225
        Building the Request History Client 229
        Testing the Application State Support 231
CHAPTER 11   The DataSet and XML Web Services 233
    Overview of the DataSet 233
    Using a DataSet 235
        Creating the Windows Forms Validation Client 239
        Consuming an XML Web Service That Uses a DataSet 245
CHAPTER 12   Caching and Application Events 253
    Caching 253
        The CacheDuration Property 254
        The Cache Object 255
        Creating an XML Web Service That Uses Caching 256
        Creating the Windows Forms Validation Client 260
        Consuming an XML Web Service That Uses Caching 265
        Testing the XML Web Service 269
    The Global.asax file 271
        Creating an XML Web Service That Uses Application Events 273
CHAPTER 13   Securing XML Web Services 283
    Authentication 284
        Implementing Basic and Digest Authentication 286
        Implementing Integrated Windows Authentication 301
    Authorization 306
        URL Authorization 306
        File Authorization 309
CHAPTER 14   Custom SOAP Headers 311
    Using Custom SOAP Headers in XML Web Services 312
        Developing an XML Web Service That Uses Custom SOAP Headers 312
        Developing an XML Web Service Client That Uses Custom SOAP Headers 323
CHAPTER 15   Consuming XML Web Services Asynchronously 333
    Asynchronous XML Web Services 334
        Slowing Down the Test XML Web Service 335
    Asynchronous XML Web Service Clients 340
        Proxy Class Methods 340
        Using Callbacks to Signal Asynchronous Method Completion 343
        Waiting for Asynchronous Method Completion 353
        Blocking on Asynchronous Method Completion 361
        Polling to Determine Asynchronous Method Completion 361
CHAPTER 16   Manually Creating Proxies 363
    Using the Wsdl.exe Tool 363
        Creating a Proxy DLL 364
        Creating a Client Using a Proxy DLL 366
APPENDIX A   The Credit Card Validation Library 377
APPENDIX B   XML Web Service Resources 391
INDEX395



Last Updated: October 8, 2002
Top of Page