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
Preface | p. ix |
Acknowledgments | p. xvii |
Chapter 1 Introduction to XML Web Services | p. 1 |
What Is This Internet Thing? | p. 2 |
Understanding the Beauty of XML | p. 3 |
Microsoft's XML Web services | p. 3 |
Composition of XML Web services | p. 5 |
Introducing XML | p. 6 |
Advantages of using XML for data representation | p. 7 |
Communicating Data from an XML Web Service | p. 7 |
XML Web services via HTTP-GET and HTTP-POST | p. 8 |
Using HTTP-GET with XML Web Services | p. 12 |
Using HTTP-POST with Web services | p. 14 |
Using SOAP (Simple Object Access Protocol) with Web services | p. 15 |
Describing an XML Web service | p. 19 |
Pointing users to your XML Web service | p. 23 |
Discovering an XML Webservice provider | p. 23 |
Building a Simple XML Web Service | p. 25 |
Building the service | p. 26 |
Looking at a Simple XML Web Service | p. 29 |
XML Web services' Web interface: Testing your Web service | p. 30 |
Understanding the XML Web service interface | p. 31 |
Summary | p. 34 |
Chapter 2 Web Services Enhancements for Microsoft .NET | p. 35 |
Expanding on the XML Foundation | p. 36 |
Web Services Framework: The Paper | p. 37 |
Understanding the Global XML Web Services Architecture | p. 39 |
WS-Security | p. 40 |
WS-Routing | p. 41 |
WS-Referral | p. 41 |
WS-Attachments | p. 42 |
WS-Coordination | p. 42 |
WS-Transactions | p. 42 |
WS-Inspection | p. 43 |
WS-Trust | p. 43 |
WS-SecureConversation | p. 44 |
WS-SecurityPolicy | p. 44 |
WS-Policy | p. 44 |
WS-Policy Assertions | p. 44 |
WS-Policy Attachment | p. 44 |
Extending XML Web Services | p. 44 |
Working with the SOAP header | p. 45 |
SOAP Extensions | p. 46 |
Introducing the WSE (Web Services Enhancements) | p. 47 |
The WSE's contents | p. 48 |
Functionality provided by the WSE | p. 48 |
How the WSE works | p. 49 |
Installing the WSE | p. 50 |
The future of the WSE | p. 54 |
Summary | p. 56 |
Chapter 3 Adding Security Credentials to a SOAP Message | p. 57 |
Making XML Web Services Secure | p. 57 |
Authentication | p. 58 |
Authorization | p. 59 |
Securing Web Services Before WS-Security | p. 60 |
Requiring credentials in a SOAP header | p. 60 |
Consuming a Web service that requires credentials | p. 63 |
Problems with using SOAP headers | p. 67 |
Using the WSE's WS-Security Implementation | p. 68 |
Building an XML Web service that works with usernames and passwords | p. 68 |
Building a consumer that uses usernames and passwords according to the WSE | p. 79 |
Password options | p. 90 |
Sending in more than one set of credentials | p. 95 |
Putting a timestamp on SOAP requests | p. 98 |
Putting a timestamp on SOAP responses | p. 101 |
Building an XML Web service that works with X.509 certificates | p. 102 |
Summary | p. 108 |
Chapter 4 Digitally Signing SOAP Messages | p. 109 |
Why Digitally Sign SOAP Messages? | p. 109 |
Applying a Digital Signature to a Simple SOAP Message | p. 110 |
Creating the XML Web service consumer | p. 110 |
Looking at the SOAP message from the consumer | p. 116 |
Examining the SOAP Header | p. 117 |
Verifying a Signature in a Simple SOAP Message | p. 119 |
Creating the XML Web service provider | p. 120 |
Looking at the SOAP message from the provider | p. 124 |
Validating the digital signature | p. 125 |
Applying a Signature to a SOAP Message Using a Certificate | p. 127 |
Verifying a Signature in a SOAP Message that Uses a Certificate | p. 133 |
Digitally Signing Custom SOAP Header Elements | p. 136 |
The XML Web service provider | p. 137 |
The XML Web service consumer | p. 143 |
Looking for digitally signed elements | p. 150 |
Summary | p. 151 |
Chapter 5 Working with Encrypted SOAP Messages | p. 153 |
Encrypting SOAP Messages | p. 153 |
Triple DES encryption | p. 154 |
Building an XML Web service consumer that encrypts the SOAP body of the SOAP message | p. 155 |
Building an XML Web service provider that accepts an encrypted SOAP message | p. 165 |
XML Web Services that Decrypt and Encrypt SOAP Messages | p. 172 |
XML Web service consumer changes | p. 173 |
XML Web service provider changes | p. 173 |
Other Ways of Storing Shared Secrets | p. 178 |
Storing shared secrets inline | p. 178 |
Storing shared secrets in SQL Server | p. 181 |
Encrypting SOAP Messages Using an X.509 Certificate | p. 185 |
Encrypting and Decrypting Custom SOAP Header Elements | p. 190 |
The XML Web service provider | p. 190 |
The XML Web service consumer | p. 193 |
Looking at the SOAP request | p. 196 |
Using Two Encryption Keys | p. 199 |
The XML Web service consumer | p. 199 |
The XML Web service provider | p. 203 |
Examining the SOAP request | p. 206 |
Summary | p. 209 |
Chapter 6 Using the Three Aspects of WS-Security Together | p. 211 |
Setting Up SQL Server | p. 212 |
Building the XML Web Service | p. 213 |
Building the password provider class | p. 213 |
Adding to the web.config file | p. 213 |
Working with Service1.asmx | p. 215 |
Building the Consumer Application | p. 223 |
Adding to the web.config file | p. 224 |
Building the my Add.aspx page | p. 225 |
Creating the proxy class | p. 226 |
Building the code-behind page | p. 228 |
Compiling and Running the Application | p. 234 |
Summary | p. 238 |
Chapter 7 Routing SOAP Messages | p. 239 |
Advantages of Routing SOAP Messages | p. 239 |
Building the Web Service Endpoint | p. 241 |
Building the SOAP Router - The web.config File | p. 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] elements | p. 246 |
Additional changes to the web.config file | p. 247 |
Building the SOAP Router - The referralCache1.config File | p. 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 initiated | p. 250 |
Routing beyond exact locations | p. 251 |
Routing to multiple destinations | p. 252 |
Building the Consumer | p. 253 |
Summary | p. 261 |
Chapter 8 Understanding WS-Attachments and DIME | p. 263 |
Sending Attachments Before the Advent of WS-Attachments and DIME | p. 263 |
Understanding WS-Attachments and DIME | p. 267 |
Looking at DIME | p. 267 |
Chunked data | p. 271 |
Exposing a Single Image Using DIME | p. 271 |
Creating the XML Web service provider | p. 272 |
Creating the client application | p. 275 |
DIME Processing | p. 279 |
Modifying the Construction of DIME Records | p. 282 |
Attaching multiple attachments | p. 282 |
Controlling the ID value of the attachment | p. 285 |
Working with the Attachments You Receive | p. 287 |
Checking if any attachments exist | p. 287 |
Iterating through multiple attachments | p. 288 |
Working with the attachment's metadata in your client application | p. 289 |
Comparing Serialization to DIME Encapsulation | p. 292 |
Creating the XML Web service | p. 292 |
Creating the consumer | p. 296 |
Summary | p. 300 |
Chapter 9 Using WSE Filters | p. 303 |
Understanding the WSE Message Flow | p. 303 |
Outbound SOAP messages | p. 303 |
Inbound SOAP messages | p. 305 |
Controlling Filters | p. 306 |
Building a class to work with the pipeline filters | p. 308 |
Using the web.config file | p. 310 |
The result | p. 311 |
Summary | p. 312 |
Appendix A Tracing | p. 313 |
Appendix B The Web Services Enhancements Settings Tool | p. 321 |
Appendix C WSE Configuration Files | p. 327 |
Appendix D MediaType Values | p. 331 |
Appendix E Web Services Resources | p. 337 |
Index | p. 339 |