Cerami - Web Services Essentials (O'Reilly, 2002).pdf
(
1758 KB
)
Pobierz
Web Servies Essentials
Web Services Essentials
Distributed Applications with XML-RPC, SOAP, UDDI & WSDL
Ethan Cerami
Publisher: O'Reilly
First Edition February 2002
ISBN: 0-596-00224-6, 304 pages
This concise book gives programmers both a concrete introduction and handy reference to
XML web services. It explains the foundations of this new breed of distributed services,
demonstrates quick ways to create services with open-source Java tools, and explores four
key emerging technologies: XML-RPC, SOAP, UDDI, and WSDL. If you want to break
through the Web Services hype and find useful information on these evolving
technologies, look no further.
Team[oR]
Table of Contents
Preface ..............................................................................................................................1
Audience ........................................................................................................................1
Organization...................................................................................................................2
Conventions Used in This Book .....................................................................................3
Comments and Questions ...............................................................................................3
Acknowledgments ..........................................................................................................4
Part I: Introduction to Web Services...............................................................................5
Chapter 1. Introduction ..................................................................................................6
1.1 Introduction to Web Services ....................................................................................6
1.2 Web Service Architecture ....................................................................................... 10
1.3 XML Messaging ..................................................................................................... 15
1.4 Service Description: WSDL.................................................................................... 17
1.5 Service Discovery: UDDI ....................................................................................... 18
1.6 Service Transport.................................................................................................... 19
1.7 Security Considerations .......................................................................................... 21
1.8 All Together Now................................................................................................... 22
1.9 Standards and Coherence ........................................................................................ 24
Part II: XML-RPC ......................................................................................................... 25
Chapter 2. XML-RPC Essentials .................................................................................. 26
2.1 XML-RPC Overview .............................................................................................. 26
2.2 Why XML-RPC?.................................................................................................... 26
2.3 XML-RPC Technical Overview.............................................................................. 28
2.4 Developing with XML-RPC ................................................................................... 35
2.5 Beyond Simple Calls .............................................................................................. 40
Part III: SOAP ............................................................................................................... 42
Chapter 3. SOAP Essentials.......................................................................................... 43
3.1 SOAP 101............................................................................................................... 43
3.2 The SOAP Message ................................................................................................ 45
3.3 SOAP Encoding...................................................................................................... 48
3.4 SOAP via HTTP ..................................................................................................... 52
3.5 SOAP and the W3C ................................................................................................ 54
3.6 SOAP Implementations .......................................................................................... 55
Chapter 4. Apache SOAP Quick Start ......................................................................... 57
4.1 Installing Apache SOAP ......................................................................................... 57
4.2 Hello, SOAP! ......................................................................................................... 59
4.3 Deploying SOAP Services ...................................................................................... 68
4.4 The TcpTunnelGui Tool ......................................................................................... 72
4.5 Web Resources ....................................................................................................... 74
Chapter 5. Programming Apache SOAP...................................................................... 75
5.1 Working with Arrays .............................................................................................. 75
5.2 Working with JavaBeans ........................................................................................ 79
5.3 Working with Literal XML Documents .................................................................. 88
5.4 Handling SOAP Faults............................................................................................ 93
5.5 Maintaining Session State....................................................................................... 98
Part IV: WSDL............................................................................................................. 102
Chapter 6. WSDL Essentials....................................................................................... 103
6.1 The WSDL Specification ...................................................................................... 103
6.2 Basic WSDL Example: HelloService.wsdl............................................................ 105
6.3 WSDL Invocation Tools, Part I............................................................................. 111
6.4 Basic WSDL Example: XMethods eBay Price Watcher Service............................ 113
6.5 WSDL Invocation Tools, Part II ........................................................................... 115
6.6 Automatically Generating WSDL Files................................................................. 118
6.7 XML Schema Data Typing ................................................................................... 121
Part V: UDDI................................................................................................................ 134
Chapter 7. UDDI Essentials ........................................................................................ 135
7.1 Introduction to UDDI............................................................................................ 135
7.2 Why UDDI? ......................................................................................................... 136
7.3 UDDI Technical Overview ................................................................................... 138
7.4 UDDI Data Model ................................................................................................ 139
7.5 Searching UDDI ................................................................................................... 144
7.6 Publishing to UDDI .............................................................................................. 157
7.7 UDDI Implementations......................................................................................... 169
7.8 Web Resources ..................................................................................................... 170
Chapter 8. UDDI Inquiry API: Quick Reference....................................................... 171
8.1 The UDDI Inquiry API ......................................................................................... 172
8.2 Find Qualifiers...................................................................................................... 196
Chapter 9. UDDI 4J..................................................................................................... 197
9.1 Getting Started...................................................................................................... 197
9.2 Finding and Retrieving UDDI Data....................................................................... 198
9.3 Publishing UDDI Data.......................................................................................... 203
9.4 UDDI4J Quick Reference API .............................................................................. 206
Glossary ........................................................................................................................ 270
Colophon....................................................................................................................... 282
Web Services Essentials
Preface
Web services offer a new and evolving paradigm for building distributed web
applications. This book focuses on the
essentials
of web services and covers four main
technologies: XML-RPC, SOAP, WSDL, and UDDI. The book offers a high-level
overview of each technology. It also describes the relevant API and discusses
implementation options for each technology. The book includes a broad range of working
examples so that you can immediately see web services in action.
Audience
This book is written for developers who are new to web services. It aims to to provide you
with a "big-picture" perspective to enable you to understand the scope and extent of web
services, while also providing you with enough nuts and bolts and sample code to start
writing your own services.
When choosing between a proprietary system and an open source implementation, we tend
to favor open source implementations. When choosing among programming languages,
we tend to favor Java. To make the most of the book, you should therefore have solid Java
programming experience. If you need to brush up on Java, consider these books:
•
Learning Java
, by Patrick Niemeyer and Jonathan Knudsen (O'Reilly &
Associates, Inc.)
•
Java in a Nutshell
, Fourth Edition, by David Flanagan (O'Reilly)
A basic understanding of eXtensible Markup Language (XML) is also important. For a
solid grounding in XML, consider these books:
•
Learning XML
, by Erik T. Ray (O'Reilly)
•
XML in a Nutshell: A Desktop Quick Reference
, by Elliotte Rusty Harold and W.
Scott Means (O'Reilly)
1
Plik z chomika:
walbo48
Inne pliki z tego folderu:
Cole - Planetary Science - Science of Planets Around Stars (IOP, 2002).pdf
(8299 KB)
Einstein's Space-Time - An Intro to Special and General Relativity - R. Ferraro (Springer, 2007) WW.pdf
(8617 KB)
Frolov - Black Hole Physics - Basic Concepts and New Developments (Kluwer, 1997).pdf
(26556 KB)
Falcke - The Galactic Black Hole (IOP, 2003).pdf
(19940 KB)
Elements of Space Technology - R. Meyer (AP, 1999) WW.djvu
(2924 KB)
Inne foldery tego chomika:
ksiazki
Schematy spawarek
Amaterske Radio_2009.rar
))) Przyśpiewki weselne
@Excel
Zgłoś jeśli
naruszono regulamin