can not return description in put

2011-06-14 Thread Bram van der Waaij
Hello list, Can you explain to me how to return a description with a client_error status in a PUT handler? Things are working in the GET handler, but for some reason i can not get it working in the put. In the client the error_code is available, but my description "Payload is not in JSON format

RE: Re: can not return description in put

2011-06-15 Thread Bram van der Waaij
Nop, unfortunately both options produce the same result. The clientresource.getStatus().getDescription() call on a Get returns my message from the setStatus at the server The clientresource.getStatus().getDescription() call on a Put returns the description of the status error code (400 -> Bad r

RE: Re: can not return description in put

2011-06-16 Thread Bram van der Waaij
Hi, The put method is being called, so overriding is working i assume. Overriding the put (representation, variant) is not working, then the put call is not handled. Which i can understand because i do not use negotiation and therefore this version of the put method should not be called. I tri