newfeatFor Java API for
XML-Based Web Services (JAX-WS) Web service applications, you need the portable
artifacts that are generated by the
wsimport command-line tool when
starting from a WSDL file to complete this task. The
wsimport tool
processes a WSDL file as input and generates the following portable artifacts:
- Service Endpoint Interface (SEI)
- Service class
- Exception classes that are mapped from the wsdl:fault class
(if any)
- Java Architecture for XML Binding (JAXB) generated type values which are
Java classes mapped from XML schema types
You can package the generated artifacts in a Web archive (WAR) file with
the WSDL file and schema documents along with the endpoint implementation
that you plan to deploy.
For Java API
for XML-based RPC (JAX-RPC) Web service applications, 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.