[
https://issues.jboss.org/browse/JBIDE-7913?page=com.atlassian.jira.plugin...
]
Lukas Jungmann commented on JBIDE-7913:
---------------------------------------
re myself: Bottom up case is not affected
note 1: as of now all existing implementation classes which were rewritten by ws wizard
contains wrong @WebService.serviceName and targetNamespace attributes (apart from cleaned
method implementations)
note 2: all java classes containing '@WebService(' string somewhere (can be even
in the comment, javadoc) in default java source root are being overwritten by the top-down
ws wizard if user let the wizard to use "default" package; the fix for
JBIDE-7681 eliminates some cases but real fix for this should happen in
JBossWSCreationUtils.findInPackageFragment where
'unit.getSource().contains(annotation)' (where
annotation="@WebService(") call should be replaced by something more
sophisticated - don't know if there's some API which would allow asking if a class
contains annotation of given type
Top-Down ws wizard is overwriting existing unrelated ws impl classes
--------------------------------------------------------------------
Key: JBIDE-7913
URL:
https://issues.jboss.org/browse/JBIDE-7913
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.Beta2
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
Priority: Blocker
this came up as a result of JBIDE-7681 (see comment from 12/15/10)
-create a new Dynamic web project
-create following interface there:
package x;
import javax.jws.WebService;
@WebService()
public interface Zws {
String test();
}
-create following class there:
package x;
import javax.jws.WebService;
@WebService()
public class ZwsImpl {
public String test() {
return "Hello Dolly!";
}
}
-create some Top-Down ws there using default settings package (use default package)
-open ZwsImpl.java in the editor
=>
Current: ZwsImpl class is rewritten
Expected: the class remains untouched
Note for myself: Check this also for Bottom up case
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira