Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B9EC174DF for ; Thu, 12 Mar 2015 12:43:39 +0000 (UTC) Received: (qmail 26133 invoked by uid 500); 12 Mar 2015 12:43:39 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 26068 invoked by uid 500); 12 Mar 2015 12:43:39 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 25884 invoked by uid 99); 12 Mar 2015 12:43:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 12:43:39 +0000 Date: Thu, 12 Mar 2015 12:43:39 +0000 (UTC) From: "sanmitra ijeri (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-6290) Unable to send Date as a param in a POST call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] sanmitra ijeri updated CXF-6290: -------------------------------- Description: @POST @Path("/getPlayers") @Produces("application/json") public List getPlayers(@FormParam("birthDate") Date birthDate) throws Exception; If I make birthDate as string this works, but Date does not work. What am I missing ? This works in CXF 2.6.0 though but not in cxf 3.0.0. was: @POST @Path("/getPlayers") @Produces("application/json") @Description("Testing whether date is recieved correctly by server") public List getPlayers(@FormParam("birthDate") Date birthDate) throws Exception; If I make birthDate as string this works, but Date does not work. What am I missing ? This works in CXF 2.6.0 though but not in cxf 3.0.0. > Unable to send Date as a param in a POST call > --------------------------------------------- > > Key: CXF-6290 > URL: https://issues.apache.org/jira/browse/CXF-6290 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 3.0.0 > Reporter: sanmitra ijeri > Original Estimate: 96h > Remaining Estimate: 96h > > @POST > @Path("/getPlayers") > @Produces("application/json") > public List getPlayers(@FormParam("birthDate") Date birthDate) throws Exception; > If I make birthDate as string this works, but Date does not work. What am I missing ? This works in CXF 2.6.0 though but not in cxf 3.0.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)