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] [Resolved] (CXF-4285) WADLGenerator ignores header or query parameters when FormParam parameters are available
Date Thu, 03 May 2012 15:40:50 GMT

     [ https://issues.apache.org/jira/browse/CXF-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-4285.
-----------------------------------

    Resolution: Fixed
    
> WADLGenerator ignores header or query parameters when FormParam parameters are available
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-4285
>                 URL: https://issues.apache.org/jira/browse/CXF-4285
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.6.1, 2.5.4, 2.4.8
>
>
> Having a signature like this
> {code:java}
> @POST
> @Consumes(@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
> void form3(@HeaderParam("headerId") String headerId,
>            @QueryParam("queryId") String queryId,
>            @PathParam("id") String id, 
>            @FormParam("field1") String f1);
> {code}
> will lead to WADLGenerator losing header and query parameters in the generated WADL.
Having a query parameter alonside form parameters does not make much sense but is technically
possible for POSTs. The loss of the header parameter is more serious

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message