WSDL file not generated when publishing to WebSphere Application Server
Attempts to publish a JAX-WS EJB WebService to IBM WebSphere Application Server v220.127.116.11 from IBM Rational Application Developer v8.0.4 fail with error "WSWS7054E during generation of the WSDL file".
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>
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
Modify the Java Build Path so that it uses a distinct output folder (such as
bin) for each source folder:
- Right click on the project name in the Project Explorer
- Select Properties
- Select Java Build Path
- Select the Source tab
- Select each source folder individually
- 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.)
|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|
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