このマニュアルによると、Web サービスを追加するのは簡単なはずですが、アクセス可能にするのに苦労しています。コードは次のとおりです。
@Name("examineeController")
@Path("/examinee")
public class ExamineeController {
@GET
@Produces("text/plain")
@Path("/setteststatus")
private String updateProjectTestStatus(/) {
return "OK";
}
...そしてそのような404を受け取ります:
HTTP Status 404 - Could not find resource for relative : /examinee/setteststatus of full path: http://localhost:8080/am/seam/resource/rest/examinee/setteststatus