[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7913) Top-Down ws wizard overwrites all java classes containing '@WebService(' string anywhere in the code

Feng Qian (JIRA) jira-events at lists.jboss.org
Wed Dec 29 03:28:18 EST 2010


    [ https://issues.jboss.org/browse/JBIDE-7913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572449#comment-12572449 ] 

Feng Qian commented on JBIDE-7913:
----------------------------------

Hi Lukas, 
I have committed some codes to partly fix the problem of finding classes by String.
And
Yes, you are right, the ws impl class is generated by tools. It is my carelessness. What I had wanted to say was like the comments in JBIDE-7681, I am thinking about how handle the package overwrited, the class oeverwrited, and the web.xml overwrited. The packages and classes are generated by runtime, for now I have no idea to handle them. 
Yes, at the scene of this issue, we can do as you said, make the default package as /definitions at targetNamespace. But if there is already the same name package in the project, and there are classes in the package, how should we do? 
And there are some other issues when I looked into this issue. I will go on for these issues.

> Top-Down ws wizard overwrites all java classes containing '@WebService(' string anywhere in the code
> ----------------------------------------------------------------------------------------------------
>
>                 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: Feng Qian
>            Priority: Blocker
>             Fix For: 3.2.0.CR1
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> 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

        


More information about the jbosstools-issues mailing list