Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-1640

Implementation of setContent in AttachmentPart is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2RC1
    • None
    • SAAJ
    • None

    Description

      setContent does not set the contentType header in the MIME headers.
      When setContent is called with an InputStream or a StreamSource,
      the contentObject should not be set to the input parameter as the
      the input parameter (the InputStream or StreamSource) has been consumed
      by the ManagedMemoryDataSource object's constructor.

      Attachments

        1. attachment.txt
          2 kB
          Chelliah Thirunavukkarasu

        Activity

          People

            Unassigned Unassigned
            chelliah Chelliah Thirunavukkarasu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: