Hi Christian,

It looks like a bug in the validation.

Please open a bugzilla against the WebTools > WTP Webservices > jst.ws.jaxws 
(component) and I'll have a look at it.

You can disable validation on the project by right-clicking on it and selecting 
Properties > Java Compiler > Annotation Processing > Factory Path > Enable 
project specific settings and uncheck the org.eclipse.jst.ws.annotations.core 
entry

Thanks,
Shane

From: christian.dietri...@arbeitsagentur.de
To: wtp-dev@eclipse.org
Date: Fri, 12 Jun 2015 12:44:44 +0000
Subject: Re: [wtp-dev]  Annotation      Validation:     
OPERATION_NAMES_MUST_BE_UNIQUE_ERROR







The Example Actually is

 


package sample;



import javax.jws.WebMethod;

import javax.jws.WebService;



@WebService(targetNamespace =
"htp://ww.example.com/test")

public
class Sample {



static
class Person {


}


@WebMethod

public Person getPerson(String
id) {

return someHelper(id);

}



private Person
someHelper(String id) {

return
new Person();

}


private Person
someHelper(int
id) {

return
new Person();

}

}
 

 

Annotation Processon on the Editor is enabled


 




_______________________________________________
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev                                
          
_______________________________________________
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to