/Tag: Web Service

Handling Binary Data in SOAP with MTOM

SOAP Services With MTOM SOAP is an XML based protocol which means that all data inside the SOAP envelope must be text based. If you want to include binary data in a SOAP message, it too must be text based. To achieve this you can convert binary data to a base64 encoded string and simply embed the string inside the SOAP message. The diagram below shows a sample SOAP message with binary data embedded as a base64 string. Sending Binary Data with SOAP Without MTOM While this is a simple approach for dealing with binary data with SOAP, there are a few things [...]

By |2019-09-05T07:24:05+00:00June 19th, 2017|Web Services|0 Comments