[
https://jira.jboss.org/browse/JBIDE-6830?page=com.atlassian.jira.plugin.s...
]
Brian Fitzpatrick updated JBIDE-6830:
-------------------------------------
After doing some research, I discovered an issue with WTP 3.2 that I think is at the heart
of this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323185
A workaround is to close the project after deleting the web.xml and class bits, then
reopen it, and try again.
If I hear more from the WTP folks and they agree it's a problem and can fix it, maybe
it will go into the Helios SR2 release of WTP and can be fixed. But unless they know of a
workaround, I don't have a way to fix this on our side.
Cannot recreate a service created by the wizard
-----------------------------------------------
Key: JBIDE-6830
URL:
https://jira.jboss.org/browse/JBIDE-6830
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.M2
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
Fix For: 3.2.0.Beta
Attachments: screenshot.png
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
-have a dynamic web project
1) create a sample web service in the project using default values in the wizard
2) delete created file
3) delete entries added to web.xml by the wizard
4) save all changes
5) create a sample web service using default values in the wizard again
6) open web.xml file
=> contains:
<servlet>
<display-name>HelloWorld</display-name>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>org.jboss.samples.webservices.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/HelloWorld</url-pattern>
</servlet-mapping>
<servlet>
<display-name>HelloWorld1</display-name>
<servlet-name>HelloWorld1</servlet-name>
<servlet-class>org.jboss.samples.webservices.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld1</servlet-name>
<url-pattern>/HelloWorld1</url-pattern>
</servlet-mapping>
but since we did step 3 it should contain only:
<servlet>
<display-name>HelloWorld1</display-name>
<servlet-name>HelloWorld1</servlet-name>
<servlet-class>org.jboss.samples.webservices.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld1</servlet-name>
<url-pattern>/HelloWorld1</url-pattern>
</servlet-mapping>
7) delete all created files from the project, remove servlet related entries from the
web.xml and save all files
8) create a sample web service using "HelloWorld" as the web service name
=> see attached screenshot - web.xml is empty but wizard says that web.xml already
contains servlet "HelloWorld"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira