O'Reilly logo

Sams Teach Yourself Web Services in 24 Hours by Mike Kopack, Stephen Potts

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Sending Attachments with Web Services

Sending Attachments with Web Services

One of the earliest criticisms of XML and therefore Web services is in the area of transmitting noncharacter data. The idea of converting everything into characters is not considered practical for certain types of data such as photographs and executable code.

Because an XML document is transmitted as a set of characters, other types of binary data—such as images, audio files, or compiled programs (like Java class files)—are problematic.

The solution to this problem is to send these files as attachments to a SOAP message. This hour explains the different ways in which this can be done.

In this hour, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required