[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 22 00:39:06 EST 2010


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

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

Yes, to find a class by a String ' @WebService' is not good enough, but I don't know if there is api for annotation for this. I will look into this problem to find it. 
But for note 1,
the wsconsume runtime command will generate ZwsImpl for interface Zws if you use default package. On UI side, as if we can't resist it.

> 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