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

JAX-WS Dispatch sending JAXBSource with attachment

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.7
    • Component/s: JAX-WS Runtime
    • Labels:
      None
    • Estimated Complexity:
      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

            • Assignee:
              Unassigned
              Reporter:
              zsolt.szloboda Zsolt Szloboda

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment