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
- 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.
-
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.
-
Complete the implementation of your web service application.
- For JavaBeans applications, complete the JavaBeans implementation.
- For enterprise beans applications, complete the enterprise beans implementation.
-
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.
-
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.
-
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.
- Deploy the EAR file that has been configured and enabled for JAX-RPC web services onto the application server.