facebook

How to make changes to JAX-WS server class?

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

    Heikki Pakkala
    Participant

    I’m a newbie with JAX-WS and I’m following the example in tutorial at http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/. What would be the right way if I want to add a new method to the Calculator class? Do I need use the New Web Service toolbar button and re-create the web service again? As the change also affects the client, do I also need to regenerate the files on client side? Seems like a lot of work every time there’s a change in method signatures on server class.

    #292254 Reply

    Loyal Water
    Member

    I’m afraid thats the only way of going about things. You have to re-generate the web service and the client if a change is made in the Calculator Class.

    #293738 Reply

    mongonv
    Participant

    The regeneration does not seem to be reliable. I have been trying to get it to work consistently for many weeks now and it seems to work the first couple times a new project is regenerated, but then it stops regenerating properly. The current project I am doing right now, generates without errors, but the new methods added to the primary class are not getting created in the new generated web service. All the methods that were in the class from the last successful generation keep regenerating but none of the new methods added to the class.

    I have tried removing the delegate file, the jax-ws generated java and class files and the wsdl files before generating and nothing seems to make it pick up the new methods.

    I am using V7.0 any thoughts on what needs to be done to get it to generate?

    Any help would be greatly appreciated as this has been a consistent problem since prior to the full GA release of 7.0.
    Thanks,
    Ed

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to make changes to JAX-WS server class?

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