Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5915

JAX-WS Dispatch sending JAXBSource with attachment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.1
    • 3.0.7
    • JAX-WS Runtime
    • None
    • Unknown

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zsolt.szloboda Zsolt Szloboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: