cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6290) Unable to send Date as a param in a POST call
Date Fri, 13 Mar 2015 17:12:38 GMT

    [ https://issues.apache.org/jira/browse/CXF-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360676#comment-14360676
] 

Sergey Beryozkin commented on CXF-6290:
---------------------------------------

Is it the client that is not formatting it correctly ? is it the server that is not reading
it correctly ? Have you depended on a custom CXF ParameterHandler on the server side in 2.7.x
?

> 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)

Mime
View raw message