You can assemble a Web archive (WAR) file from a Web Services Description
Language (WSDL) file that is enabled for Web services.
Before you begin
You can assemble Java-based Web services modules with assembly tools provided with WebSphere Application Server.
You need
the following artifacts that are generated by the
WSDL2Java command-line
tool to complete this task:
- An assembled WAR file that contains the Enterprise JavaBeans (EJB) implementation,
all the classes that generate from the WSDL2Java command-line tool
and the web.xml deployment descriptor file.
- A WSDL file
- The complete webservices.xml, ibm-webservices-bnd.xmi,
and ibm-webservices-ext.xmi deployment descriptors, and the Java
API for XML-based remote procedure call (JAX-RPC) mapping file.
About this task
Assemble a Web services-enabled WAR file from a WSDL file by following
the actions in the steps for this task section.
Procedure
- 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 so that it works on J2EE modules. You need to 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.
- Import the JavaBeans implementation and the artifacts
generated by the command-line tooling into the assembly tool.
- Migrate WAR files created with the Assembly Toolkit,
Application Assembly Tool (AAT) or a different tool to an Application Server
Toolkit or Rational Application Developer assembly tool. To migrate files,
import your WAR files to the assembly tool. See "Migrating code artifacts
to an assembly tool" in the Application Server Toolkit documentation.
Results
The artifacts required to enable the Web module for Web services is
added to the WAR file.