You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2012/07/12 03:59:33 UTC

[jira] [Created] (CXF-4420) CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource

Freeman Fang created CXF-4420:
---------------------------------

             Summary: CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource
                 Key: CXF-4420
                 URL: https://issues.apache.org/jira/browse/CXF-4420
             Project: CXF
          Issue Type: Improvement
            Reporter: Freeman Fang




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

        

[jira] [Resolved] (CXF-4420) CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved CXF-4420.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0
                   2.6.2
                   2.5.5
                   2.4.9

commit fix
http://svn.apache.org/viewvc?rev=1360644&view=rev for trunk
http://svn.apache.org/viewvc?rev=1360678&view=rev for 2.6.x branch
http://svn.apache.org/viewvc?rev=1360869&view=rev for 2.5.x branch
http://svn.apache.org/viewvc?rev=1361011&view=rev for 2.4.x branch
                
> CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4420
>                 URL: https://issues.apache.org/jira/browse/CXF-4420
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.4.9, 2.5.5, 2.6.2, 2.7.0
>
>


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

        

[jira] [Assigned] (CXF-4420) CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned CXF-4420:
---------------------------------

    Assignee: Freeman Fang
    
> CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4420
>                 URL: https://issues.apache.org/jira/browse/CXF-4420
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>


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

        

[jira] [Commented] (CXF-4420) CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412453#comment-13412453 ] 

Freeman Fang commented on CXF-4420:
-----------------------------------

currently org.apache.cxf.attachment.AttachmentDataSource.getName() always return null.
For some MTOM usecase, there's a Content-Disposition attachment header like 
Content-Disposition: attachment; name="input.jpg"
cxf AttachmentDeserializer should be able to read and setName accordingly for AttachmentDataSource if MTOM payload have Content-Disposition name, that's very convenient for users to get an attachment file name  on server side if it's available in the message.
                
> CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4420
>                 URL: https://issues.apache.org/jira/browse/CXF-4420
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>


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