XML & Web services: Passing binary files in webservices
I need send binary files in my webservice. And I need it can be used by non java clients. Can I do it? Do you have any example?
- Posted by: alain c
- Posted on: April 10 2006 04:14 EDT
Please use base64 encoding which will remain same across the platform.
You can get huge information on base64 encoding on net
You should consider MTOM, which was created for precisely this purpose (binary attachements). MTOM is available through the JWSDP and WCF (aka Indigo). Sun is also committed to keeping these two stacks fully interoperable (see here).