You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2017/03/24 15:35:42 UTC

[jira] [Updated] (CXF-5915) JAX-WS Dispatch sending JAXBSource with attachment

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

Daniel Kulp updated CXF-5915:
-----------------------------
    Component/s: JAX-WS Runtime

> JAX-WS Dispatch sending JAXBSource with attachment
> --------------------------------------------------
>
>                 Key: CXF-5915
>                 URL: https://issues.apache.org/jira/browse/CXF-5915
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.0.1
>            Reporter: Zsolt Szloboda
>            Priority: Minor
>             Fix For: 3.0.7
>
>
> I am trying to send a JAXBSource payload from a JAX-WS Dispatch; 
> the JAXBSource's Marshaller has a custom AttachmentMarshaller 
> that puts the attachments into the AttachmentCollection
> the problem is that the attachments are not included in the request multipart SOAP message
> however, if I transform the same JAXBSource request payload 
> into a DOMSource, and send this DOMSource with Dispatch#invoke() method, 
> then the attachments are included in the request multipart SOAP message!
> I think the problem is that 
> when I send the JAXBSource 
> the attachments are added "too late" 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)