cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Sahlbach (Created) (JIRA)" <>
Subject [jira] [Created] (CXF-3903) WADL contains wrong parameter names for multipart/form-data
Date Fri, 11 Nov 2011 17:13:51 GMT
WADL contains wrong parameter names for multipart/form-data

                 Key: CXF-3903
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.4.4
            Reporter: Andreas Sahlbach

I have the following annotated REST function:
    public UmsInfo getUmsInfoByProfileId(@PathParam("profileId") String profileId,
                                         @Multipart(value="includeCompany") Boolean includeCompany,
                                         @Multipart(value="passwordToCheck") String passwordToCheck,
                                         @Context UriInfo info)
and it produces the following relevant WADL entry:
            <resource path="/umsinfo/profileid/{profileId}">
                <param name="profileId" style="template" type="xs:string"/>
                <method name="POST">
                        <representation mediaType="multipart/form-data">
                            <param name="request" style="plain" type="xs:boolean"/>
                        <representation mediaType="multipart/form-data">
                            <param name="request" style="plain" type="xs:string"/>
                        <representation mediaType="application/octet-stream"/>

Please note that the param name is always "request". This is true for all multipart/form-data
functions inside this WADL.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message