facebook

Regenerating web srvc after renaming class or package fails

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #307430 Reply

    berspi
    Member

    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

    #307592 Reply

    Bernard,
    Sorry for the delayed reply. This is to let you know that the issue has been escalated to the dev team member. They will get back to you on this.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Regenerating web srvc after renaming class or package fails

You must be logged in to post in the forum log in