@WebService @HTTPBinding(authenticationType="BASIC", authenticationRealm="myRealm") public class Person { @WebMethod @HTTPMethod(location="{id}", method="GET") public GetPersonResponse getPerson(GetPerson request) throws UnkownPersonFault { } @WebMethod @HTTPMethod(location="{id}", method="POST", inputSerialization="application/x-www-form-urlencoded") public void updatePerson(UpdatePerson request) throws UnkownPersonFault { } @WebMethod @HTTPMethod(location="{id}", method="PUT", inputSerialization="application/x-www-form-urlencoded") public void addPerson(AddPerson request) throws PersonAlreadyExistFault { } @WebMethod @HTTPMethod(location="{id}", method="DELETE") public void deletePerson(DeletePerson request) throws UnkownPersonFault { } }