Uploading Audio File

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

Can any one explain me how to send audio file to web server by using Web
Services. I would like to have more security on top of it.
 
Your web service could expose a method that accepts a byte array. This
method will save the byte array as a file on the web server.

DIME is another option..

For securing the WS, using the IIS security options (Basic, Integrated, etc)
could be one option. But, not sure if you are looking for security at SOAP
message level itself.

"SivaprakashShanmugam" <[email protected]>
wrote in message Hello

Can any one explain me how to send audio file to web server by using Web
Services. I would like to have more security on top of it.
 
If your server supports it, one quick and easy method is to create a block of
data from your file and add it as an attachment to the RequestSoapContext
(http://msdn.microsoft.com/library/d...icrosoft_Web_Services2_RequestSoapContext.asp) of the SOAP request.

In order to do this, you will need to be able to support Web Services
Enhancements 2.0
(http://msdn.microsoft.com/webservices/webservices/building/wse/default.aspx)
on the server.

Take a look at
http://www.codeproject.com/cs/webservices/DimeBufferedUpload.asp for an
example of doing an upload via this method.

Brendan
 
Back
Top