O'Reilly logo

SOA Security by Prasad A Chodavarapu, Ramarao Kanneganti

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

Appendix C. Attaching and securing binary data in SOAP

In chapters 6 and 7, you saw how to encrypt and sign a message or parts of a message. The techniques you learned there allow you to encrypt and sign any data that is part of the SOAP message. As you recall from chapter 2, XML does not allow binary data. What if you want to send binary data with SOAP? And how do you encrypt and sign such data? We will answer these questions in this appendix.

XML does not allow arbitrary bytes (more precisely, octets, as the size of a byte isn’t guaranteed to be 8 bits on some rarely encountered platforms) to be included in element content. Only characters defined by the Unicode character set (excluding a few) are allowed using a character encoding scheme ...

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