Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10827

Web Service tooling cant be properly used with Eclipse for Java Developers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.3.0.CR1
    • 3.3.0.M5
    • webservices
    • None

    Description

      I have found several problems during mavenization Web Services SWTBot tests.

      In the beginning I installed Eclipse for Java Developers Indigo SR1. After that I installed web services features (JBoss Web Services Tools, JBoss JAX-RS Tools) from JBoss Tools update site (http://download.jboss.org/jbosstools/updates/development/indigo/). Installation was successful, but many annoying errors I found after that.

      1. When I was creating Dynamic Web Project with JBoss Web Service Core facet installed, an error in error log was thrown:

      • Project facet wst.jsdt.web has not been defined. It is used in plugin org.eclipse.jst.server.core.
        • Installing three plugins (org.eclipse.wst.jsdt.web.core, org.eclipse.wst.jsdt.web.support.jsp, org.eclipse.wst.jsdt.web.ui) into eclipse/plugins folder fixed the problem

      2. There was option to choose Web Service wizard (New -> Other -> Web Services -> Web Service) but when I was trying to click it, wizard didn't show up and NPE was thrown

      • "1.error-NPE.txt" attachment
        • Installing the feature (org.eclipse.jst.enterprise_ui.feature) fixed the error.

      3. Then I created sample web service with wizard "Create a Sample Web Service". This wizard generated simple class which is annotated just like to be SOAP web service as expected.I was trying to create Bottom Up Web Service from generated class with appropriate wizard but it fails, some IWAB0506E error was thrown

      • IWAB0506E Error when copying Axis jar files to web project (2.error-AXIS.txt attachment)
        • I had to install WST Web Services UI feature (org.eclipse.wst.ws_ui.feature.feature.group) to fix this problem. This feature also fixed the problem of nonexisting "WSDL File" wizard which annoyed me.

      4. The last feature which I was missing when running bot tests with maven was Eclipse XML Editors and Tools (org.eclipse.wst.xml_ui.feature.feature.group). This feature is located in Eclipse for Java Developers by default, but it is missing in eclipse bundled with maven.

      To shorten this description, I think that Web Service plugin cant be properly used in Eclipse for Java Developers. There are missing dependencies. These dependencies are the minimum which I found:

      Features:

      • org.eclipse.jst.enterprise_ui.feature
      • org.eclipse.wst.ws_ui.feature.feature.group
      • org.eclipse.wst.xml_ui.feature.feature.group

      Plugins:

      • org.eclipse.wst.jsdt.web.core
      • org.eclipse.wst.jsdt.web.support.jsp
      • org.eclipse.wst.jsdt.web.ui

      In my opinion, further investigation would be needed.

      Attachments

        1. 1.error-NPE.txt
          4 kB
        2. 2.error-AXIS.txt
          6 kB
        3. jbide10827.png
          jbide10827.png
          107 kB

        Issue Links

          Activity

            People

              jjankovi Jaroslav Jankovič (Inactive)
              jjankovi Jaroslav Jankovič (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: