|
Web Services Essentials
As a developer new to Web Services, how do you make sense of
this emerging framework so you can start writing your own
services today? This concise book gives programmers both a
concrete introduction and a handy reference to XML web
services, first by explaining the foundations of this new
breed of distributed services, and
then by demonstrating
quick ways to create services with open-source Java tools.
Web Services make it possible for diverse applications to
discover each other and exchange data seamlessly via the
Internet. For instance, programs written in Java and
running on Solaris can find and call code written in C# that
run on Windows XP, or programs written in Perl that run on
Linux, without any concern about the details of how that
service is implemented. A common set of Web Services is at
the core of Microsoft's new .NET strategy, Sun
Microsystems's Sun One Platform, and the W3C's XML Protocol
Activity Group.
In this book, author Ethan Cerami explores four key emerging
technologies:
XML Remote Procedure Calls (XML-RPC)
SOAP - The foundation for most commercial Web Services
development
Universal Discovery, Description and Integration (UDDI)
Web Services Description Language (WSDL)
For each of these topics, Web Services Essentials provides a
quick overview, Java tutorials with sample code, samples of
the XML documents underlying the service, and explanations
of freely-available Java APIs. Cerami also includes a guide
to the current state of Web Services, pointers to
open-source tools and a comprehensive glossary of terms.
If you want to break through the Web Services hype and find
useful information on these evolving technologies, look no
further than Web Services Essentials.
In this book, author Ethan Cerami explores four key emerging technologies:
* XML Remote Procedure Calls (XML-RPC)
* SOAP - The foundation for most commercial Web Services development
* Universal Discovery, Description and Integration (UDDI)
* Web Services Description Language (WSDL)
For each of these topics, Web Services Essentials provides a quick overview, Java tutorials with sample code, samples of the XML documents underlying the service, and explanations of freely-available Java APIs. Cerami also includes a guide to the current state of Web Services, pointers to open-source tools and a comprehensive glossary of terms.
Preface
Part I. Introduction to Web Services
1. Introduction
Introduction to Web Services
Web Service Architecture
XML Messaging
Service Description: WSDL
Service Discovery: UDDI
Service Transport
Security Considerations
All Together Now
Standards and Coherence
Part II. XML-RPC
2. XML-RPC Essentials
XML-RPC Overview
Why XML-RPC?
XML-RPC Technical Overview
Developing with XML-RPC
Beyond Simple Calls
Part III. SOAP
3. SOAP Essentials
SOAP 101
The SOAP Message
SOAP Encoding
SOAP via HTTP
SOAP and the W3C
SOAP Implementations
4. Apache SOAP Quick Start
Installing Apache SOAP
Hello, SOAP!
Deploying SOAP Services
The TcpTunnelGui Tool
Web Resources
5. Programming Apache SOAP
Working with Arrays
Working with JavaBeans
Working with Literal XML Documents
Handling SOAP Faults
Maintaining Session State
Part IV. WSDL
6. WSDL Essentials
The WSDL Specification
Basic WSDL Example: HelloService.wsdl
WSDL Invocation Tools, Part I
Basic WSDL Example: XMethods eBay Price Watcher Service
WSDL Invocation Tools, Part II
Automatically Generating WSDL Files
XML Schema Data Typing
Part V. UDDI
7. UDDI Essentials
Introduction to UDDI
Why UDDI?
UDDI Technical Overview
UDDI Data Model
Searching UDDI
Publishing to UDDI
UDDI Implementations
Web Resources
8. UDDI Inquiry API: Quick Reference
The UDDI Inquiry API
9. UDDI 4J
Getting Started
Finding and Retrieving UDDI Data
Publishing UDDI Data
UDDI4J Quick Reference API
Glossary
Index
|