Apress.ExpertService-OrientedArchitectureinC#UsingtheWebServicesEnhancements2.0.pdf

(9530 KB) Pobierz
30362110 UNPDF
Expert
Service-Oriented
Architecture
in C#
Using the
Web Services
Enhancements 2.0
JEFFREY HASAN
30362110.003.png 30362110.004.png
Expert Service-Oriented Architecture in C#: Using the Web Services
Enhancements 2.0
Copyright © 2004 by Jeffrey Hasan
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 (pbk): 1-59059-390-1
Printed and bound in the United States of America 987654321
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: Ewan Buckingham
Technical Reviewers: Mauricio Duran, Fernando Gutierrez
Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis,
Jason Gilmore, Chris Mills, Steve Rycroft, Dominic Shakeshaft, Jim Sumser, Karen Watterson,
Gavin Wray, John Zukowski
Project Manager: Tracy Brown Collins
Copy Edit Manager: Nicole LeClerc
Copy Editor: Ami Knox
Production Manager: Kari Brooks
Compositor: Linda Weidemann, Wolf Creek Press
Proofreader: Sachi Guzman
Indexer: Rebecca Plunkett
Cover Designer: Kurt Krames
Manufacturing Manager: Tom Debolski
Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 175 Fifth
Avenue, New York, NY 10010 and outside the United States by Springer-Verlag GmbH & Co. KG,
Tiergartenstr. 17, 69112 Heidelberg, Germany.
In the United States: phone 1-800-SPRINGER, e-mail orders@springer-ny.com , or visit http://www
.springer-ny.com . Outside the United States: fax +49 6221 345229, e-mail orders@springer.de , or
visit http://www.springer.de .
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 Downloads
section.
30362110.005.png
Nothing is really work
unless you would rather be doing something else.
JAMES BARRIE
SCOTTISH DRAMATIST
(1860–1937)
30362110.006.png
30362110.001.png
Contents at a Glance
Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
About the Technical Reviewers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Chapter 1 Introducing Service-Oriented Architecture . . . . . . . . .1
Chapter 2 The Web Services Description Language . . . . . . . . . . . .19
Chapter 3 Design Patterns for Building
Message-Oriented Web Services . . . . . . . . . . . . . . . . . . . . .37
Chapter 4 Design Patterns for Building
Service-Oriented Web Services . . . . . . . . . . . . . . . . . . . . .67
Chapter 5 Web Services Enhancements 2.0 . . . . . . . . . . . . . . . . . . . . .95
Chapter 6 Secure Web Services with WS-Security . . . . . . . . . . . .123
Chapter 7 Use Policy Frameworks to Enforce
Web Service Requirements with WS-Policy . . . . . . . . .159
Chapter 8 Establish Trusted Communication with
WS-Secure Conversation . . . . . . . . . . . . . . . . . . . . . . . . . . . .187
Chapter 9 Design Patterns for SOAP Messaging with
WS-Addressing and Routing . . . . . . . . . . . . . . . . . . . . . . . . .215
Chapter 10 Beyond WSE 2.0: Looking Ahead to Indigo . . . . . . . .257
Appendix References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .279
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .293
v
30362110.002.png
Zgłoś jeśli naruszono regulamin