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
[email protected]
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