Do not use WebLogic web services deployment descriptor

This rule detects the presence of JAX-RPC web services based on the following criteria:

Manual solution
To generate JAX-RPC web services based on WebLogic J2EE web service deployment descriptors, you must manually create an Ant script using specific IBM® Ant tasks. The script should be added to the root folder of the project if an IBM Ant-generated file does not already exist. These tasks will handle the generation of the JAX-RPC web services from the deployment descriptors.

Rule properties
You must provide the correct values for the rule properties to ensure accurate results during analysis. These properties should be reviewed and configured appropriately based on your application’s context. The properties for this rule are:

Ant class path
The ant class path is calculated from the Eclipse project. It is important to verify that all the elements that are required for compilation are on the Eclipse class path.

JAX-RPC services that are defined in the web-services.xml file
Based on the information and type of services defined in the web-services.xml, an Ant script, and possibly additional Java code that represents the web service endpoint interface is generated to reproduce the JAX-RPC service.

JAXRPC services defined in the webservices.xml file
Based on the information and type of services defined in the webservices.xml file, an Ant script is generated to reproduce the JAX-RPC service.

IBM WebSphere Application Server Ant Tasks
WebSphere(R) Application Server includes Ant tasks such as java2wsdl and wsdl2java to generate the necessary artifacts for JAX-RPC services. The generated Ant script uses these tasks to build the service.
Additional information on these tasks can be obtained from the WebSphere Application Server documentation.

Running the Ant script
Once you have produced the Ant script, view the script, and add additional customizations if necessary. Consult the Application Server documentation about additional customizations for the IBM Ant tasks. You must run the script using the Ant tools that are included with WebSphere Application Server.  The IBM Ant script can be run from:

Example: c:\IBM\AppServer\bin\ws_ant.bat -f c:\eclipse\MyProject\ibm-ws-gen.xml genService_TestService

Once the Ant targets are run, the produced artifacts reside in the generation folder.  The user can then inspect the generated code and deployment descriptors, and then add these artifacts to their modules.