Do not use WebLogic web services deployment descriptor

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

Quick Fix
In the source scanner this rule produces an Ant script with specific IBM(R) Ant tasks. Those tasks generate JAX-RPC web services that are based on WebLogic J2EE web service deployment descriptors. The quick fix scans the web services deployment descriptors and produces an Ant script if an IBM Ant generated file does not exist in the root folder of the project. The script contains IBM Ant tasks to generate the JAX-RPC web services.

Rule properties
You must provide correct values for the rule properties. To change the values of the properties for this rule, select the rule in the in the Software Analyzer Configurations window. Then use the fields present in the Properties tab. The properties of 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 the quick fix produces 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.