cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sanmitra ijeri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6290) Unable to send Date as a param in a POST call
Date Thu, 12 Mar 2015 12:43:38 GMT
sanmitra ijeri created CXF-6290:
-----------------------------------

             Summary: 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


@POST
@Path("/getPlayers")
@Produces("application/json")
@Description("Testing whether date is recieved correctly by server")
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