Building Web Services
Sun ONE Studio 5 Programming Series
817-2324-10
Contents |
1. Web Services: A Conceptual Overview
Applications Within an Enterprise
Applications Shared Across Enterprises
Web Services Interoperability Organization
Publishing and Using a Web Service
Sun ONE Studio 5, Standard Edition Web Services
Creating a JAX-RPC Web Service From Java Methods
Developing XML Operations (Deprecated)
Adding Operations to a Web Service
Deleting Operations From a Web Service
Resolving References to Runtime Objects
Creating a JAX-RPC Web Service From WSDL Source
Assembling and Deploying a Web Service
Assembling the J2EE Application
Deploying the J2EE Application
Setting a Default Test Client for a Web Service
Creating a Stateful Web Service
Setting Up the Business Component
Setting Up the Web Service and Test Client
Testing a Stateful Web Service
Managing UDDI Registry Options
Setting Default Publish Categories and Identifiers
Editing Registries Information in the IDE
Gaining Access to an External UDDI Registry
Publishing Your Web Service to a UDDI Registry
Publication Tasks and Terminology
Using the Internal UDDI Registry
Starting and Stopping the Internal UDDI Registry Server
Using the Sample Registry Browser
3. Creating a Web Service Client
Creating a Client From a Local Web Service
Setting the Client Type: JAXRPC or kSoap
Using Your Own Front-End Client Components
Validation During Client Generation
Refreshing a Client From Its Web Service
Creating a Client From a WSDL File
Creating a Client From a UDDI Registry
Creating a Client--Planning and Work Flow
Stateful Web Services and Clients
SOAP Message Headers and Header Blocks
Request Handlers and Response Handlers
Getting Header Blocks at Handler Initialization
Adding a Header Block to a SOAP Message
Adding Handlers To a Web Service or Client
Adding a SOAP Header Block To a Handler
Setting a SOAP Actor Role For a Handler Chain
Enforcing the Processing of Header Blocks
5. Developing XML Operations (Deprecated)
Executing Methods and Returning Data
Trimming the Data Returned to the Client
Generating XML Operations From an Enterprise Bean
Adding a Method to an XML Operation
Adding an Input Document Element
Renaming an Input Document Element
Renaming an Output Document Element
Giving an Input Document Element a Default Value
Making an Input Document Element Permanent
Reordering a Method or Input Document Element
Deleting a Method or Input Document Element
Mapping a Method Parameter to a Source
Displaying and Selecting Inherited Methods
Excluding an Element From the XML Output
Including an Element in the XML Output
Organizing Static Utility Methods
Instantiating Objects and Resolving References
Specifying the Target of an Object Reference
Editing a Target Object Definition
HTTPS/SSL Authentication and Encryption
Using HTTP Basic Authentication
Mapping Roles to Users and Groups
Mapping Roles at the Level of the Web Service
Mapping Roles at the Level of the J2EE Application
Mapping Roles: Order of Priority
Mapping Roles In the Application Server
Testing Security: HTTP Basic Authentication
Basic Authentication and UDDI Publication
Using HTTPS/SSL Authentication and Encryption
Setting Properties for the Web Service and Test Client
Setting Up the Test Client Trust Store
Setting the IDE's Global Trust Store Option
Importing the Server's Certificate Into the Test Client Trust Store
Testing Security: HTTPS/SSL Authentication and Encryption
Fields Propagated to Deployment Descriptors
Fields Propagated to the EJB Module Deployment Descriptor
Viewing a Deployment Descriptor
Copyright © 2003, Sun Microsystems, Inc. All rights reserved.