users@wadl.java.net

How to specify the response status

From: Martin Grotzke <martin.grotzke_at_javakaffee.de>
Date: Fri, 15 Feb 2008 14:34:44 +0100

Hello,

I have a POST operation that returns HTTP 201 with an appropriate
Loction header and the representation that would be returned when the
value of the Location header would be requested via GET.

Is there another way of specifying the HTTP status for a response, than
setting the status attribute of the representation?
What would I do, if I would not return anything (but 201 and the
Location)? How would it be possible to specify that 201 is returned?

Thanx && cheers,
Martin