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

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

 


Back to the top