Passing binary files in webservices

Discussions

XML & Web services: Passing binary files in webservices

  1. Passing binary files in webservices (2 messages)

    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?
    Thankss


    ___________________
    http://www.hhdirecto.net
    http://www.dechiste.com
  2. Passing binary files in webservices[ Go to top ]

    Please use base64 encoding which will remain same across the platform.

    You can get huge information on base64 encoding on net



    Regards,
    Hanuman
  3. MTOM to the rescue[ Go to top ]

    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).

    Best,

    Gerald