WSDL file not generated when publishing to WebSphere Application Server

Technote (troubleshooting)


Problem(Abstract)

Attempts to publish a JAX-WS EJB WebService to IBM WebSphere Application Server v8.0.0.2 from IBM Rational Application Developer v8.0.4 fail with error "WSWS7054E during generation of the WSDL file".

Symptom

The error that is reported while publishing the project is the following:


 WASWSDLGenera E   WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the <ClassName> Web service implementation class because of the following error: java.lang.Exception: A WSDL Definition could not be generated for the implementation class: <ClassName>

Cause

The project uses the same folder as source and output folder.

Diagnosing the problem

In the Markers view, warnings like the following can be seen:


Description Resource Path Location Type
Source folder '.apt_generated' in project 'projectName1' cannot output to distinct source folder ''
Source folder '.apt_generated' in project 'projectName2' cannot output to
distinct source folder 'ejbModule'


Resolving the problem

SOLUTION

Modify the Java Build Path so that it uses a distinct output folder (such as bin) for each source folder:

  1. Right click on the project name in the Project Explorer

  2. Select Properties

  3. Select Java Build Path

  4. Select the Source tab

  5. Select each source folder individually

  6. Verify that the default output folder differs from the source folder. If its is the same, then browse to a different folder (You might have to create a new folder first, if no other folder exists in the project.)

Cross reference information
Segment Product Component Platform Version Edition
Software Development Rational Software Architect for WebSphere Software Web Services Development Linux, Windows 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Application Developer for WebSphere Software
Web Services Development

Software version:

8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4

Operating system(s):

Linux, Windows

Reference #:

1590404

Modified date:

2013-03-21

Translate my page

Machine Translation

Content navigation