Expert Service-Oriented Architecture in - Hasan_ Jeffrey.pdf

(3649 KB) Pobierz
780146 UNPDF
THE EXPERT’S VOICE ® IN .NET
Expert
Service-Oriented
Architecture in C# 2005
Defining Web services development with ASP.NET and WSE 3.0
SECOND EDITION
Jeffrey Hasan
with Mauricio Duran
780146.040.png 780146.050.png 780146.060.png 780146.063.png 780146.001.png 780146.002.png 780146.003.png 780146.004.png 780146.005.png 780146.006.png 780146.007.png 780146.008.png 780146.009.png 780146.010.png 780146.011.png 780146.012.png 780146.013.png 780146.014.png 780146.015.png 780146.016.png 780146.017.png 780146.018.png 780146.019.png 780146.020.png 780146.021.png 780146.022.png 780146.023.png 780146.024.png 780146.025.png
 
780146.026.png
 
780146.027.png
 
780146.028.png
 
780146.029.png
 
780146.030.png 780146.031.png 780146.032.png 780146.033.png 780146.034.png 780146.035.png 780146.036.png 780146.037.png 780146.038.png 780146.039.png 780146.041.png
 
780146.042.png 780146.043.png 780146.044.png 780146.045.png 780146.046.png 780146.047.png 780146.048.png 780146.049.png 780146.051.png 780146.052.png 780146.053.png 780146.054.png 780146.055.png
 
Expert Service-Oriented
Architecture in C# 2005
Second Edition
Jeffrey Hasan with Mauricio Duran
780146.056.png 780146.057.png 780146.058.png
Expert Service-Oriented Architecture in C# 2005, Second Edition
Copyright © 2006 by Jeffrey Hasan, Mauricio Duran
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-59059-701-9
ISBN-10 (pbk): 1-59059-701-X
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Jonathan Hassell
Technical Reviewers: Mathew Upchurch, Omar Del Rio
Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Jason Gilmore,
Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Dominic Shakeshaft,
Jim Sumser, Matt Wade
Project Manager: Richard Dal Porto
Copy Edit Manager: Nicole LeClerc
Copy Editors: Jennifer Whipple, Ami Knox
Assistant Production Director: Kari Brooks-Copony
Production Editor: Ellie Fountain
Compositor: Dina Quan
Proofreader: Liz Welch
Indexer: Michael Brinkman
Artist: Kinetic Publishing Services, LLC
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com , or
visit http://www.springeronline.com .
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley,
CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com , or visit http://www.apress.com .
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution
has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability
to any person or entity with respect to any loss or damage caused or alleged to be caused directly or
indirectly by the information contained in this work.
The source code for this book is available to readers at http://www.apress.com in the Source Code section.
780146.059.png
Contents at a Glance
About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
About the Technical Reviewers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
CHAPTER 1
Introducing Service-Oriented Architecture . . . . . . . . . . . . . . . . . . . . . . 1
CHAPTER 2 The Web Services Description Language . . . . . . . . . . . . . . . . . . . . . . . 15
CHAPTER 3 Design Patterns for Building Message-Oriented
Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
CHAPTER 4
Design Patterns for Building Service-Oriented
Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
CHAPTER 5
Web Services Enhancements 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
CHAPTER 6 Secure Web Services with WS-Security . . . . . . . . . . . . . . . . . . . . . . . 107
CHAPTER 7 Extended Web Services Security with WS-Security
and WS-Secure Conversation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
CHAPTER 8
SOAP Messages: Addressing, Messaging, and Routing . . . . . . . . . 169
CHAPTER 9 Beyond WSE 3.0: Looking Ahead to Windows Communication
Foundation (WCF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
APPENDIX
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
iii
780146.061.png
780146.062.png
Zgłoś jeśli naruszono regulamin