Skip to:Content
|
Bottom
Cover image for Web services enhancements : understanding the WSE for .NET enterprise applications
Title:
Web services enhancements : understanding the WSE for .NET enterprise applications
Personal Author:
Publication Information:
Indianapolis, Ind. : Wiley Pub., 2003
ISBN:
9780764537363

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010053573 TK5105.88813 E94 2003 Open Access Book Book
Searching...

On Order

Summary

Summary

Microsoft's Web Services Development Kit (WSDK) brings to the table infrastructure protocols with standards to solve Web services problems such as security and scalability This book will be the first available on this new development tool The author is a member of a select group that Microsoft has brought in to work directly with the development team for the WSDK Global XML Web Services Architecture is the new set of standards for XML Web services established by several companies including Microsoft and Sun Microsystems-WSDK makes working with these standards easier Companion Web site includes sample code and updates, including coverage of new tools as they are released




Author Notes

Bill Evjen is one of the most active proponents of the .NET technologies and community-based learning initiatives for .NET. He has been actively involved with .NET since the first bits were released in 2000 and has since become the president of the St. Louis .NET User Group (www.stlnet.org) as well as the founder and president of the International .NET Association (www.ineta.org), He is an acclaimed author and speaker on next-generation Web services


Table of Contents

Prefacep. ix
Acknowledgmentsp. xvii
Chapter 1 Introduction to XML Web Servicesp. 1
What Is This Internet Thing?p. 2
Understanding the Beauty of XMLp. 3
Microsoft's XML Web servicesp. 3
Composition of XML Web servicesp. 5
Introducing XMLp. 6
Advantages of using XML for data representationp. 7
Communicating Data from an XML Web Servicep. 7
XML Web services via HTTP-GET and HTTP-POSTp. 8
Using HTTP-GET with XML Web Servicesp. 12
Using HTTP-POST with Web servicesp. 14
Using SOAP (Simple Object Access Protocol) with Web servicesp. 15
Describing an XML Web servicep. 19
Pointing users to your XML Web servicep. 23
Discovering an XML Webservice providerp. 23
Building a Simple XML Web Servicep. 25
Building the servicep. 26
Looking at a Simple XML Web Servicep. 29
XML Web services' Web interface: Testing your Web servicep. 30
Understanding the XML Web service interfacep. 31
Summaryp. 34
Chapter 2 Web Services Enhancements for Microsoft .NETp. 35
Expanding on the XML Foundationp. 36
Web Services Framework: The Paperp. 37
Understanding the Global XML Web Services Architecturep. 39
WS-Securityp. 40
WS-Routingp. 41
WS-Referralp. 41
WS-Attachmentsp. 42
WS-Coordinationp. 42
WS-Transactionsp. 42
WS-Inspectionp. 43
WS-Trustp. 43
WS-SecureConversationp. 44
WS-SecurityPolicyp. 44
WS-Policyp. 44
WS-Policy Assertionsp. 44
WS-Policy Attachmentp. 44
Extending XML Web Servicesp. 44
Working with the SOAP headerp. 45
SOAP Extensionsp. 46
Introducing the WSE (Web Services Enhancements)p. 47
The WSE's contentsp. 48
Functionality provided by the WSEp. 48
How the WSE worksp. 49
Installing the WSEp. 50
The future of the WSEp. 54
Summaryp. 56
Chapter 3 Adding Security Credentials to a SOAP Messagep. 57
Making XML Web Services Securep. 57
Authenticationp. 58
Authorizationp. 59
Securing Web Services Before WS-Securityp. 60
Requiring credentials in a SOAP headerp. 60
Consuming a Web service that requires credentialsp. 63
Problems with using SOAP headersp. 67
Using the WSE's WS-Security Implementationp. 68
Building an XML Web service that works with usernames and passwordsp. 68
Building a consumer that uses usernames and passwords according to the WSEp. 79
Password optionsp. 90
Sending in more than one set of credentialsp. 95
Putting a timestamp on SOAP requestsp. 98
Putting a timestamp on SOAP responsesp. 101
Building an XML Web service that works with X.509 certificatesp. 102
Summaryp. 108
Chapter 4 Digitally Signing SOAP Messagesp. 109
Why Digitally Sign SOAP Messages?p. 109
Applying a Digital Signature to a Simple SOAP Messagep. 110
Creating the XML Web service consumerp. 110
Looking at the SOAP message from the consumerp. 116
Examining the SOAP Headerp. 117
Verifying a Signature in a Simple SOAP Messagep. 119
Creating the XML Web service providerp. 120
Looking at the SOAP message from the providerp. 124
Validating the digital signaturep. 125
Applying a Signature to a SOAP Message Using a Certificatep. 127
Verifying a Signature in a SOAP Message that Uses a Certificatep. 133
Digitally Signing Custom SOAP Header Elementsp. 136
The XML Web service providerp. 137
The XML Web service consumerp. 143
Looking for digitally signed elementsp. 150
Summaryp. 151
Chapter 5 Working with Encrypted SOAP Messagesp. 153
Encrypting SOAP Messagesp. 153
Triple DES encryptionp. 154
Building an XML Web service consumer that encrypts the SOAP body of the SOAP messagep. 155
Building an XML Web service provider that accepts an encrypted SOAP messagep. 165
XML Web Services that Decrypt and Encrypt SOAP Messagesp. 172
XML Web service consumer changesp. 173
XML Web service provider changesp. 173
Other Ways of Storing Shared Secretsp. 178
Storing shared secrets inlinep. 178
Storing shared secrets in SQL Serverp. 181
Encrypting SOAP Messages Using an X.509 Certificatep. 185
Encrypting and Decrypting Custom SOAP Header Elementsp. 190
The XML Web service providerp. 190
The XML Web service consumerp. 193
Looking at the SOAP requestp. 196
Using Two Encryption Keysp. 199
The XML Web service consumerp. 199
The XML Web service providerp. 203
Examining the SOAP requestp. 206
Summaryp. 209
Chapter 6 Using the Three Aspects of WS-Security Togetherp. 211
Setting Up SQL Serverp. 212
Building the XML Web Servicep. 213
Building the password provider classp. 213
Adding to the web.config filep. 213
Working with Service1.asmxp. 215
Building the Consumer Applicationp. 223
Adding to the web.config filep. 224
Building the my Add.aspx pagep. 225
Creating the proxy classp. 226
Building the code-behind pagep. 228
Compiling and Running the Applicationp. 234
Summaryp. 238
Chapter 7 Routing SOAP Messagesp. 239
Advantages of Routing SOAP Messagesp. 239
Building the Web Service Endpointp. 241
Building the SOAP Router - The web.config Filep. 243
Adding [left angle bracket]configSections[right angle bracket]p. 244
Adding [left angle bracket]httpHandlers[right angle bracket]p. 244
Using multiple [left angle bracket]httpHandlers[right angle bracket] elementsp. 246
Additional changes to the web.config filep. 247
Building the SOAP Router - The referralCache1.config Filep. 248
[left angle bracket]referrals[right angle bracket]p. 249
[left angle bracket]ref[right angle bracket]p. 249
[left angle bracket]for[right angle bracket]p. 249
[left angle tracket]exact[right angle bracket]p. 249
[left angle bracket]go[right angle bracket]p. 250
[left angle bracket]via[right angle bracket]p. 250
[left angle bracket]refld[right angle bracket]p. 250
What happens when the SOAP router is initiatedp. 250
Routing beyond exact locationsp. 251
Routing to multiple destinationsp. 252
Building the Consumerp. 253
Summaryp. 261
Chapter 8 Understanding WS-Attachments and DIMEp. 263
Sending Attachments Before the Advent of WS-Attachments and DIMEp. 263
Understanding WS-Attachments and DIMEp. 267
Looking at DIMEp. 267
Chunked datap. 271
Exposing a Single Image Using DIMEp. 271
Creating the XML Web service providerp. 272
Creating the client applicationp. 275
DIME Processingp. 279
Modifying the Construction of DIME Recordsp. 282
Attaching multiple attachmentsp. 282
Controlling the ID value of the attachmentp. 285
Working with the Attachments You Receivep. 287
Checking if any attachments existp. 287
Iterating through multiple attachmentsp. 288
Working with the attachment's metadata in your client applicationp. 289
Comparing Serialization to DIME Encapsulationp. 292
Creating the XML Web servicep. 292
Creating the consumerp. 296
Summaryp. 300
Chapter 9 Using WSE Filtersp. 303
Understanding the WSE Message Flowp. 303
Outbound SOAP messagesp. 303
Inbound SOAP messagesp. 305
Controlling Filtersp. 306
Building a class to work with the pipeline filtersp. 308
Using the web.config filep. 310
The resultp. 311
Summaryp. 312
Appendix A Tracingp. 313
Appendix B The Web Services Enhancements Settings Toolp. 321
Appendix C WSE Configuration Filesp. 327
Appendix D MediaType Valuesp. 331
Appendix E Web Services Resourcesp. 337
Indexp. 339
Go to:Top of Page