Hi there,
I receive an internal error if I try to regenerate a web service, using the bottom-up wizard, after renaming the javabean or package where bean is located.
This error will not occur if javabean code is changed, it occurs only if class name or package has been changed.
The error appears after creating/updating the delegate class. So just WSDL won’t be generated anymore.
When class renaming will be reverted, the web service will be generated successfully.
The suggested service name and port from the wizard contains the changed class name. Using the suggested names will lead to the error but changing back these names to the original class name the error will not occur!
Here you can find the stack trace output:
java.lang.NullPointerException
at com.genuitec.eclipse.ws.jaxws.WSDLManager.parse(WSDLManager.java:54)
at com.genuitec.eclipse.ws.jaxws.WSDLManager.copyTo(WSDLManager.java:98)
at com.genuitec.eclipse.ws.jaxws.JaxWSBUJob.manageWSDL(JaxWSBUJob.java:186)
at com.genuitec.eclipse.ws.jaxws.JaxWSBUJob.run(JaxWSBUJob.java:131)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I am using MyEclipse Enterprise 8.5, Build id: 8.5-20100319, latest available updates installed.
Here is my workflow for the wizard:
1. JAX-WS Framework > bottom-up scenario
2. select class from current project > generate WSDL
all other options have their default
If someone needs advise how to reproduce this issue please let me know, i can provide a reproducable example.
Thanks in advance!
br
Bernard