The JavaTM Web Services Tutorial
Home
TOC
Index
PREV TOP NEXT
Divider

Java API for XML-based RPC

Dale Green

If you're new to the Java API for XML-based RPC (JAX-RPC), this chapter is the place to start. After briefly describing JAX-RPC, the chapter shows you how to build a simple Web service and client. The chapter continues to focus on examples by presenting code listings and step-by-step instructions for creating dynamic clients, authenticating over SSL, and deploying Web services on the J2EE SDK 1.3.1.

In This Chapter
What Is JAX-RPC?
A Simple Example: HelloWorld
HelloWorld at Runtime
HelloWorld Files
Setting Up
Building and Deploying the Service
Building and Running the Client
Iterative Development
Implementation-Specific Features
Types Supported By JAX-RPC
J2SE SDK Classes
Primitives
Arrays
Application Classes
JavaBeans Components
A Dynamic Proxy Client Example
Dynamic Proxy HelloClient Listing
Building and Running the Dynamic Proxy Example
A Dynamic Invocation Interface (DII) Client Example
DII HelloClient Listing
Building and Running the DII Example
Security for JAX-RPC
Basic Authentication Over SSL
Mutual Authentication Over SSL
JAX-RPC on the J2EE SDK 1.3.1
Prerequisites
Example Code
Packaging the JAX-RPC Client and Web Service
Setting Up the J2EE SDK 1.3.1
Deploying the GreetingEJB Session Bean
Deploying the JAX-RPC Service
Running the JAX-RPC Client
Undoing the Effects of jwsdponj2ee
Creating a JAX-RPC Service With deploytool
Compiling the Source Code
Building the Web Application
Deploying the Web Application
Checking the Status of the Web Service
Running the Client
Further Information
Divider
Home
TOC
Index
PREV TOP NEXT
Divider

This tutorial contains information on the 1.0 version of the Java Web Services Developer Pack.

All of the material in The Java Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.