Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop web services
Develop JAX-WS web services with WSDL files (top down)
- Set up a development environment for web services
The application server provides command-line tools to develop web services clients and implementations that are based on the Web Services for Java EE specification. We must set up your development environment before you start developing web services.
- Generate Java artifacts for JAX-WS applications from a WSDL file
Use JAX-WS tools to generate the Java artifacts that are needed to develop JAX-WS web services when starting with a WSDL file.
- Enable MTOM for JAX-WS web services
With JAX-WS, you can send binary attachments such as images or files along with web services requests. JAX-WS adds support for optimized transmission of binary data as specified by the SOAP MTOM specification.
- Enforcing adherence to WSDL bindings in JAX-WS web services
JAX-WS v2.1 introduced the concept of features as a way to programmatically control specific functions and behaviors. The RespectBindingFeature is one of the supported standard features. We can use the RespectBindingFeature to control whether a JAX-WS implementation is required to respect the contents of a WSDL binding that is associated with an endpoint.
- Develop a webservices.xml deployment descriptor for JAX-WS applications
Deployment descriptors are standard text files, formatted using XML and packaged in a web services application. We can optionally use the webservices.xml deployment descriptor to augment or override application metadata specified in annotations within JAX-WS web services.
- Complete the JavaBeans implementation for JAX-WS applications
After we have developed the Java artifacts necessary to develop a JAX-WS web service, complete the JavaBeans implementation to assemble a WAR file. The resulting WAR file contains the JavaBeans implementation and the supported classes created from the tooling.
- Complete the EJB implementation for JAX-WS applications
After we have developed the Java artifacts necessary to develop a JAX-WS web service, complete the EJB implementation to assemble a JAR file. The resulting JAR file contains the EJB implementation and the supported classes created from the tooling.