Idea ID: 2755738

Enable Service Manager to appropriately handle small attachments when using a .NET web service

Status : Waiting for Votes
Waiting for Votes
See status update history
over 1 year ago

Attachments smaller than 768 bytes, when submitted from a .NET web service to Service Manager, are base64 encoded and inserted into the SOAP message.  MTOM handles larger attachments using MIME parts.

When Service Manager receives the smaller attachments, they are attached with no content because SM doesn't look for the content in the SOAP message.  

We ask that Service Manager be updated to also be able to read the SOAP message for attachment content.  

The following links to articles provide more background to the issue:

https://visualstudiomagazine.com/Articles/2006/05/01/Implement-a-File-Transfer-Web-Service.aspx
....."At this time, binary data smaller than 768 bytes is base64 encoded and inserted into the SOAP message ...  Otherwise, MTOM uses MIME parts to send the data...."

https://www.google.com/search?safe=off&sxsrf=ACYBGNT3CEh0w5fb8z2fktIH3fjdbI0aAw:1578425791562&q=WCF+MTOM+attachment+mime+%22768%22&sa=X&ved=2ahUKEwil0PCknvLmAhWmq1kKHRGcCxQQ5t4CMAZ6BAgIEAk&biw=1920&bih=937

Tags: