This topic explains how to configure the webservices.xml deployment
descriptor with an assembly tool.
Before you begin
Note: The webservices.xml deployment
descriptor is for JAX-RPC based Web services application. It is not required
for JAX-WS enabled application.
To configure
the client deployment descriptor see "Client Deployment Descriptor editor"
in the Application Server Toolkit documentation for more information.
Before
you can configure the
ibm-webservices-bnd.xml deployment descriptor,
you must develop the deployment descriptor templates and complete the implementation.
About this task
This task is one of the steps in developing a Web service. You
need to configure the deployment descriptors so that WebSphere Application
Server can process the incoming Web services requests.
Depending on
if you are developing a Web service from a Java bean or an enterprise bean:
Then, complete the EJB
implementation or complete
the JavaBeans implementation. When the EJB implementation is complete,
the enterprise bean Java archive (JAR) file is assembled. When the JavaBeans
implementation is complete, the Web module Web archive (WAR) file is assembled.
These archive files contain the webservices.xml deployment descriptor.
The archive files must be assembled before you can configure the webservices.xml deployment
descriptor.
Configure the webservices.xml deployment descriptor
by following the steps provided in this task section.
Procedure
- The
Eclipse assembly tools, Application Server Toolkit and assembly tools, provide a graphical interface for developing
code artifacts, assembling the code artifacts into various archives (modules)
and configuring related Java 2 Platform, Enterprise Edition (J2EE) Version
1.2, 1.3 or 1.4 compliant deployment descriptors.
- Start an assembly tool. See "Starting
WebSphere Application Server Toolkit" in the Application Server Toolkit documentation
for more information.
- If you have not done so already, configure the
assembly tool to work on J2EE modules. Make sure that the J2EE and Web categories
are enabled. See "Configuring WebSphere Application Server Toolkit" in the
Application Server Toolkit documentation for more information.
- Migrate the Web archive (WAR) files that are created
with the Assembly Toolkit, Application Assembly Tool (AAT) or a different
tool to an Application Server Toolkit or other assembly tools. To migrate files, import
your WAR files to the assembly tool. See "Importing Web archive (WAR) files"
in the Application Server Toolkit documentation for more information.
- Configure the deployment descriptor. See
"Editing Web services" in the Application Server Toolkit documentation for
more information.
Results
You have a webservices.xml deployment descriptor that is
configured.