ServiceMix Components
  1. ServiceMix Components
  2. SMXCOMP-153

SoapWriter use default suboptimal Content-Transfer-Encoding

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2013.02
    • Component/s: servicemix-soap
    • Labels:
      None

      Description

      Currently SoapWriter class does not enforce in any way Content-Transfer-Encoding for attachments.
      This causes to choose base64 for binary content.

      Suggestion for change:

      part.setDataHandler(dh);
      part.setContentID("<" + id + ">");
      // optimization - attachments will use binary encoding
      part.setHeader("Content-Transfer-Encoding", "binary");

        Activity

        Tomasz Wysocki created issue -
        Gert Vanthienen made changes -
        Field Original Value New Value
        Component/s servicemix-soap [ 11523 ]
        Affects Version/s 3.1.1 [ 11811 ]
        Component/s servicemix-soap [ 11810 ]
        Key SM-1057 SMXCOMP-153
        Project ServiceMix [ 10950 ] ServiceMix Components [ 11080 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 01:42:42 EST 2010 [ 1290840162973 ]
        Gert Vanthienen made changes -
        Fix Version/s 2013.01 [ 12323744 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Tomasz Wysocki
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development