Zsolt Szloboda created CXF-5915:
-----------------------------------

             Summary: JAX-WS Dispatch sending JAXBSource with attachment
                 Key: CXF-5915
                 URL: https://issues.apache.org/jira/browse/CXF-5915
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.0.1
            Reporter: Zsolt Szloboda
            Priority: Minor


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.2#6252)

Reply via email to