send/download file

  • Thread starter Thread starter amy
  • Start date Start date
A

amy

what is the method to send a binary file to a client from
a webservice ?
what is the method to receive/download this binary file
and save it
to the local machine in a client application ?
THANKS!
 
Amy,

If you set a parameter as a byte array, then you should be able to pass
that to your web service (the web service should encode the byte array for
you). The same thing for returning values. You can return a byte array as
well.

However, this can be inefficient. What you probably want to do is look
into the DIME specification and then the extensions for web methods that are
provided for .NET.

Hope this helps.
 
Back
Top