facebook

JAX-WS Annotator feedback, Bugs and workarounds, OS X

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #313846 Reply

    Glen Ihrig
    Member

    JAX-WS Annotator feedback.

    MyEclipse for Spring 8.6.1: JAX-WS Annotator
    OS X 10.5.8

    While doing the Tutorial – “JAX-WS Code Assistants Tutorial”, I encountered some frustration working though the step applying annotations to class implementations. No serious problems here, (if you how to work around the bugs) but there is room for improvement in the usability of the Annotator feature. Perhaps these are Mac only issues?

    1. Problem opening the JAX-WS Annotator.

    If a source file is open when the JAX-WS Annotator view is selected, the view window will sometime fail to populate, remaining completely empty. Selecting the source editor or the Annotator view window does not display the Annotator details.

    Solution: Make a small change to the source file e.g. add a character, then undo.

    2. The coordination between the annotator’s outline and the source editor often fails. Unlike the Spring Annotator, neither view is updated when the other is selected.

    Solution: Select the desired method in the Project Explorer view, select the desired method in the annotator’s outline.

    3. When the JAX-WS Annotator view is vertically too large to fit in the window, there is no scroll bar or other indication that more controls are available off screen.

    Solution: Resize the JAX-WS Annotations view

    4. At “5. Deploy and Run JAX-WS Web Service” in the tutorial, the Web Services Explorer returns an error.

    Steps to reproduce:
    1. Create a new Web Project (scaffold from Derby table, Spring MVC UI)
    2. Enable JAX-WS via the Annotator.
    3. Save the implementation class.
    4. Opening the Web Service Explorer, from the JAX-WS Annotator view, returns an error:

    IWAB0379E Unable to open http://localhost:8080/WSTest/jaxws/ShowServiceImpl?wsdl.
    IWAB0135E An unexpected error has occurred.
    WSDLException
    WSDLException: faultCode=OTHER_ERROR: http://localhost:8080/WSTest/jaxws/ShowServiceImpl?wsdl
    
    - Calling the WSDL in Firefox returns a "No Service was found" message from:
      http://localhost:8080/WSTest/jaxws/ShowServiceImpl?wsdl

    Creating the JAX-WS web service using the Spring DSL works as expected.

    The problem:

    Generating the JAX-WS web service works up to the point of saving the implementation source file. The source is corrupted on saving, it appears that the changes made by the JAX-WS Annotator are undone, resulting in the error above.

    Solution: Clean the project (Project > Clean) immediately after executing the JAX-WS Annotator, BEFORE SAVING the implementation file. Then save the implementation file.

    5. Web Service Explorer Issue – Every time I open the WSDL in the Web Services Explorer I get a new entry in the Navigator pane. Closing and reopening the Web Service Explorer does not clear the Navigator pane.

    Best regards,

    -Glen

    #313910 Reply

    neyde
    Member

    Thanks for the feedback. I have logged all of these to be investigated into further. I couldn’t reproduce many of your experiences on Windows, so perhaps we need to take a closer look at how the JAX-WS annotator runs on Mac.

    Regarding #4, I’m not sure why you’re getting that URL in the web service explorer. The URL should be:
    http://localhost:8080/WSTest/jaxws/ShowServiceImplEndPoint?wsdl

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JAX-WS Annotator feedback, Bugs and workarounds, OS X

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