[
https://jira.jboss.org/browse/JBIDE-6830?page=com.atlassian.jira.plugin.s...
]
Brian Fitzpatrick updated JBIDE-6830:
-------------------------------------
Fix Version/s: 3.2.x
(was: 3.2.0.Beta)
Workaround Description: The workaround is to remove the old code/web.xml entries and
close the project, then reopen it. At that point you can add the sample again.
Workaround: [Workaround Exists]
We can't do anything with this until WTP gets back to me. Am bouncing it to 3.2.x in
the hopes that they will provide a workaround I can implement in code or fix it in the
Helios maintenance release.
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.x
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