You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "sanmitra ijeri (JIRA)" <ji...@apache.org> on 2015/03/13 18:50:38 UTC
[jira] [Comment Edited] (CXF-6290) Unable to send Date as a param
in a POST call
[ https://issues.apache.org/jira/browse/CXF-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360747#comment-14360747 ]
sanmitra ijeri edited comment on CXF-6290 at 3/13/15 5:50 PM:
--------------------------------------------------------------
I think server is not formatting correctly. I used a param handler in cxf 2.6. ParamHandler is deprecated now right ?
was (Author: sanmitra):
Yes
> 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<Player> 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)