[jira] [Resolved] (CXF-4570) Attachment Header Content-ID conversion

2012-10-17 Thread Daniel Kulp (JIRA)

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

Daniel Kulp resolved CXF-4570.
--

   Resolution: Fixed
Fix Version/s: 2.7.1
   2.6.4
 Assignee: Daniel Kulp


Cleaned up the SAAJIn/Out stuff a little to only call the setContentID if a 
getContentID call returns null after setting all the headers.   Thus, this 
should fix the double header issue.

> Attachment Header Content-ID conversion
> ---
>
> Key: CXF-4570
> URL: https://issues.apache.org/jira/browse/CXF-4570
> Project: CXF
>  Issue Type: Bug
>  Components: JAX-WS Runtime
>Reporter: Jinhua Wang
>Assignee: Daniel Kulp
> Fix For: 2.6.4, 2.7.1
>
> Attachments: 04.png, AttachmentUtil.java.patch
>
>
> I have a migrating problem for headers in attachment. 
> For example, the message sent out contains Content-ID:,
> Content-ID header value is "" instead of "foo" at server side.
> When creating attachment of the following code:
> org.apache.cxf.attachment.AttachmentUtil.createAttachment(InputStream, 
> InternetHeaders)
> There's a id conversion at first. But in the following header processing, 
> there's no id conversion for Content-ID.
> Since Content-ID conversion is needed for id("new AttachmentImpl(id)"), I 
> think it is also useful for headers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CXF-4570) Attachment Header Content-ID conversion

2012-10-16 Thread Freeman Fang (JIRA)

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

Freeman Fang resolved CXF-4570.
---

Resolution: Won't Fix

> Attachment Header Content-ID conversion
> ---
>
> Key: CXF-4570
> URL: https://issues.apache.org/jira/browse/CXF-4570
> Project: CXF
>  Issue Type: Bug
>  Components: JAX-WS Runtime
>Reporter: Jinhua Wang
> Attachments: AttachmentUtil.java.patch
>
>
> I have a migrating problem for headers in attachment. 
> For example, the message sent out contains Content-ID:,
> Content-ID header value is "" instead of "foo" at server side.
> When creating attachment of the following code:
> org.apache.cxf.attachment.AttachmentUtil.createAttachment(InputStream, 
> InternetHeaders)
> There's a id conversion at first. But in the following header processing, 
> there's no id conversion for Content-ID.
> Since Content-ID conversion is needed for id("new AttachmentImpl(id)"), I 
> think it is also useful for headers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira