On May 17, 2009, at 2:32 PM, Felipe Gaúcho wrote:
> for now I am using the WebServiceException as my runtime default
> exception:
>
> @PUT
> @Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
> @Consumes( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
> @Path("slot/add")
> public FpTimeSlot addSlot(FpTimeSlot slot) {
> throw new WebServiceException("not yet implemented");
> }
>
>
> any other alternative, from the JAX-RS side ?
>
This seems to be more of an implementation detail. In this respect a
500 response is unsuitable. I think a 404 response is more suitable.
Paul.