Need some help - how to send asynchronously a binary to the client?

Hi,

I'm relatively new in Web Services Technology. Can anybody suggest me how can I implement a Web Service Method that sends asynchronously a binary (e.g. a .zip file) to the client. I implemented a method (C#) that encodes the binary in UTF8, but I got an XML error message within the client. Apparently, some characters within the XML message were not accepted.Sad

 < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I would appreciate any help from you!

 

Thanks in advance,

Paul


Answer this question

Need some help - how to send asynchronously a binary to the client?

  • Dan Burnip

    Consider also using WSE with DIME attachments:
       http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwse/html/wsedime.asp

    Daniel Roth

  • teomanx

    We send numerous files though web services with the web service method accepting a parameter as a Byte[]. Have had no problems to date. Have had a few weird problems with Enums not serializing properly but have not had any problems with transporting binary data through a web service.

  • Need some help - how to send asynchronously a binary to the client?