O'Reilly logo

Java Web Services in a Nutshell by Kim Topley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Web Service Tools and Configuration Files

The Java Web Services Developer Pack and the J2EE platform include a number of command-line tools that can be used to create, configure, and administer web services. This chapter provides reference information for these tools and the configuration files that they use. In some cases, it is useful to refer to examples in order to illustrate how these tools are intended to be used. When this is the case, references are made to examples shown in earlier chapters of this book.

wscompile — JAX-RPC Stub and Tie Generation Utility

Availability

J2EE 1.4 reference implementation and Java Web Services Developer’s Pack.

Synopsis

wscompile [options] config-file

Description

The wscompile utility is a tool supplied by the JAX-RPC reference implementation. It is driven by a configuration file (the format of which is shown in Examples Example 8-1 through Example 8-5) and a set of command-line options.

The basic function of wscompile is to generate and compile artifacts that are required to link a JAX-RPC client application or web service implementation to a particular JAX-RPC runtime. Like wscompile itself, these artifacts are implementation-dependent. Providing a tool that creates them removes the need for developers to concern themselves with the way in which these artifacts are constructed, and allows much of the complexity of the JAX-RPC infrastructure to be hidden.

Depending on the content of the configuration file and the command-line options supplied, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required