Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Annotation Validation: OPERATION_NAMES_MUST_BE_UNIQUE_ERROR

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.Dietrich2@xxxxxxxxxxxxxxxxx
To: wtp-dev@xxxxxxxxxxx
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@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/wtp-dev

Back to the top