[jbosstools-issues] [JBoss JIRA] (JBIDE-10827) Web Service tooling cant be properly used with Eclipse for Java Developers

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Wed Feb 8 05:01:48 EST 2012


Jaroslav Jankovič created JBIDE-10827:
-----------------------------------------

             Summary: Web Service tooling cant be properly used with Eclipse for Java Developers
                 Key: JBIDE-10827
                 URL: https://issues.jboss.org/browse/JBIDE-10827
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Webservices
    Affects Versions: 3.3.0.M5
            Reporter: Jaroslav Jankovič
            Assignee: Brian Fitzpatrick
            Priority: Critical
             Fix For: 3.3.0.Beta1
         Attachments: 1.error-NPE.txt, 2.error-AXIS.txt

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list