In the early days of .NET Web services, using a Web service to accept binary
data required converting the data to something that could be represented in
XML. Surely you remember those days - back before December 2002. With the
release of Web Service Enhancements (WSE) 1.0, followed shortly by WSE 1.0
SP1 in March 2003, and now with WSE 2.0 on the horizon, we can at last
quickly and easily send binary attachments via Web services by utilizing
WSAttachments.
The support of the proposed WSAttachments standard in WSE is of particular
interest to any programmer who has ever used a Web service in a production
environment. You quickly realize how much you rely on data that doesn't lend
itself to some sort of XML serialization. You may want your Web service to
accept a word processing document, an image, or any of a number of binary
data types. In the past, you might have ... (more)