Troubleshooting Web Services issues
WSDL generation problems during deployment
When deploying JAX-WS Web Services without associated WSDL, the application server will automatically generate the WSDL for the service. With Axis2 as the JAX-WS provider, the application server uses Sun's wsgen
tool to generate the WSDL. Sometimes wsgen
can fail to generate the WSDL (for example, because of invalid annotations). In most of such cases, the output of the wsgen
tool will be logged to the geronimo.log
file. However, in some cases the output might not get logged and it might be necessary to enable extra logging to see the full output of the wsgen
tool. To enable full logging of the wsgen
tool add the following line to server-log4j.properties file:
log4j.logger.org.apache.geronimo.jaxws.builder=DEBUG
The output of wsgen will appear in the geronimo.log
file.