Binary Data In SOAP Web Service
Besides the text data type, web services is also able to handle the binary data type. With the ability to handle binary data, a web service is able to transfer image files to the client applications. What makes web service can transfer binary data is base64 encoding. Base64 can encode binary data into 64 characters (A to Z, a to z, 0 to 9, +, and /) so it can be included in SOAP document. What the client application need to do is just decode it back to binary data.