Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A11E9CE0 for ; Fri, 24 Feb 2012 12:28:29 +0000 (UTC) Received: (qmail 77568 invoked by uid 500); 24 Feb 2012 12:28:28 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 77520 invoked by uid 500); 24 Feb 2012 12:28:28 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Delivered-To: moderator for users@cxf.apache.org Received: (qmail 2098 invoked by uid 99); 24 Feb 2012 09:15:22 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of dario.h@gmail.com) Date: Fri, 24 Feb 2012 01:14:57 -0800 (PST) From: yebz To: users@cxf.apache.org Message-ID: <1330074897070-5512130.post@n5.nabble.com> Subject: Response.created() is not returning response body MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Am trying to return a 201 http code with a Response.created() method, but the response body is always empty. ... URI uri = new URI(uriInfo.getPath() + "/" + appID); return Response.created(uri).entity(anyEntity).build(); any help?, thanks. -- View this message in context: http://cxf.547215.n5.nabble.com/Response-created-is-not-returning-response-body-tp5512130p5512130.html Sent from the cxf-user mailing list archive at Nabble.com.