Developing JAX-RPC web services with WSDL files (top-down)

You can develop a web service with an existing Web Services Description Language (WSDL) file using the Java™ API for XML-based RPC (JAX-RPC) programming model.

Procedure

  1. Set up a development environment for web services. You do not have to set up a development environment if you are using Rational® Application Developer.
  2. Develop the Java artifacts from a WSDL file.
    You need to create the deployment descriptor templates and bindings that are configured to map the service implementation to the JavaBeans or enterprise beans implementation.
  3. Complete the implementation of your web service application.
  4. Configure the webservices.xml deployment descriptor.
    For JAX-RPC web services, configure the webservices.xml deployment descriptor so that the application server can process the incoming web services requests.
  5. Configure the ibm-webservices-bnd.xmi deployment descriptor.
    Configure the ibm-webservices-bnd.xml deployment descriptor so that the application server can process the incoming web services requests.
  6. Assemble the artifacts for your web service.

    Use assembly tools provided with the application server to assemble your Java-based web services modules. If you have assembled an Enterprise Archive (EAR) file that contains enterprise beans modules that contain Web services, use the endptEnabler command-line tool or an assembly tool before deployment to produce a web services endpoint WAR file. This tool is also used to specify whether the web services are exposed using SOAP over Java Message Service (JMS) or SOAP over HTTP.

  7. Deploy the EAR file that has been configured and enabled for JAX-RPC web services onto the application server.