Sun ONE Application Server 7 Developer's Guide to Web Services |
816-7152-10 |
Updated: January 31, 2003 |
ContentsWho Should Use This Guide
Using the Documentation
How This Guide Is Organized
Reference Information
Documentation Conventions
General Conventions
Conventions Referring to Directories
What are Web Services?
Messaging Models Used in Web Services
Synchronous Model
Standards and Interoperability in Web Services
Asynchronous Model
SOAP
A Simple Web Service Scenario
WSDL
UDDI
ebXML
Support for Web Services in Sun ONE Application Server
Java APIs for XML and Web Services
JAXP
Implementing Web Services Using Java APIs
JAX-RPC
JAXR
SAAJ
JAXM
The Coffee Break Example
Preparing for Developing Web Services and Clients
Using Ant Tasks
Setting Up the Client Environment
Services and Clients Using JAX-RPC
JAX-RPC Implementation
Developing JAX-RPC Web Services
Assembling and Deploying JAX-RPC Web Services
JAX-RPC Web Services Using a WSDL
Invoking JAX-RPC Web Services
Creating Clients Using Generating Stubs Method
JAX-RPC Client Invoking an EJB
Generating the Stubs
Creating Clients Using Dynamic Invocation Interface
Coding the Client
Compiling the Client Code
Assembling the Client Classes into a JAR file
Running the Client
Creating JAX-RPC Client Using a Dynamic Proxy
Assembling and Deploying a JAX-RPC Client
Creating a JAX-RPC Client Using the Call Interface
Sample Applications
Building Security into JAX-RPC Web Services
Basic Authentication Over SSL
JAX-RPC Tools
Adding Security Elements to web.xml
Setting Security Properties in the Client Code
Mutual Authentication Over SSL
Setting Up Client Certificate Authentication for Web Services
wscompile Tool
Java Language Types Supported By JAX-RPC
wscompile Command Options
wsdeploy Tool
Configuration File
wsdeploy Command Options
Namespace Mappings
SOAP Handlers
SOAP Clients and Services Using SAAJ and JAXM
SOAP Clients
SOAP Client Messaging Models
SOAP Service
Client Without a Messaging Provider
SOAP Messages
Client With a Messaging Provider
Parts of a SOAP Message
Developing a SOAP Client
Accessing Elements of a Message
How SOAP Messaging Occurs?
Assembling and Deploying a SOAP Client
Creating a SOAP Client
Creating a SOAP Service
Exception and Fault Handling
Fault Handling
Assembling and Deploying a SOAP Service
Defining SOAP Fault
Sample Clients and Services
Developing a JAXR Client
Getting Access to a Registry
Managing Registry Data
Accessing an ebXML Registry
Establishing a Connection
Querying a Registry
Finding Organizations by Name
Finding Organizations by Classification
Finding Organizations by WSDL Descriptions
Finding Services and Service Bindings
Getting Authorization from the Registry
Publishing a Web Service to a UDDI Registry
Creating an Organization
Adding Classifications
Using Taxonomies
Defining Taxonomies
Adding Services and Service Bindings to an Organization
Specifying Postal Address
Assembling and Deploying a JAXR Client
Sample JAXR Client
XML Schema for wscompile Configuration File
XML Schema for Deployment Descriptors
XML Schema for Exported wscompile Model Files
XML Schema for Runtime Descriptors