[ https://issues.apache.org/jira/browse/CXF-4570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477752#comment-13477752 ]
Aki Yoshida commented on CXF-4570: ---------------------------------- org.apache.cxf.attachment.AttachmentDeserializerTest's testDeserializerSwA uses this create attachment method and this is not getting any issue (only the bracketed id is placed in the headers and when this message is reserialized, you see only the bracketed content id). So, I don't know why you are getting the unbracketed one. So, I am not sure if AttachmentUtil itself really has some 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 > Attachments: AttachmentUtil.java.patch > > > I have a migrating problem for headers in attachment. > For example, the message sent out contains Content-ID:<foo>, > Content-ID header value is "<foo>" 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