You can view the Web services client and server deployment descriptors
for a deployed Web services application. You can view the bindings in the
deployment descriptors.
Before you begin
Before you can view the deployment descriptors, you need to complete
all tasks required to implement a JAX-RPC Web service, create the deployment
descriptor templates that were generated by the WSDL2Java command-line
tool, configure the deployment descriptors and bindings, and deploy the Web
service application into WebSphere® Application Server. Review the implementing
Web services application documentation for more information on developing
and implementing Web services.
About this task
Deployment descriptors contain the information that is needed
by a Web services client to communicate with the server for which the Web
services is installed. This information is added to the deployment descriptor
templates after a Web service is developed or an existing Web service is located.
The data that you can view in the deployment descriptor includes the following:
- The Web service description including the name, WSDL file, WSDL file location
and the mapping file.
- The port description, including the port component name, the WSDL port,
the service endpoint interface that indicate the service's bindings, and the
EJB that is used to implement the Web service.
After you have developed a Web service that contains all the necessary
artifacts, created the deployment descriptors from the deployment descriptor
templates, configured the deployment descriptors, and deployed the Web services
application into WebSphere Application Server; now you can view
the deployment descriptors and bindings in the administrative console.
Similar
to Java™ API
for XML-based RPC (JAX-RPC) Web services, you can use deployment descriptors
to describe JAX-WS Web services. For JAX-WS Web services, the use of the webservices.xml deployment
descriptor is optional because you can use annotations to specify
all of the information that is contained within the deployment descriptor
file. You can use the deployment descriptor file to augment or override
existing JAX-WS annotations. Any information that you define in the webservices.xml deployment
descriptor overrides any corresponding information that is specified
by annotations.
Procedure
- Open the administrative console.
- Click .
- Click Expand All to view the deployment descriptor contents.
- Verify deployment descriptor and bindings configurations.
What to do next
You have viewed and verified the deployment descriptors and bindings
for the Web services application.