Upload a file with a webservice method.
I am looking to be able to upload a file using a webservice.
My problem is as follows:
a) The webservice method must be accessible from a standard, static HTML page (not served by the .NET web server)
b) The HTML form needs to use the enctype="multipart/form-data" attribute on the FORM tag in order to send the file to the webservice.
c) The webservice method fails because of the enctype attribute.
Can anyone help? (I've seen examples of processing the file using an ASPX page and then calling the webservice from there, but this is not the solution I want - I need the webservice to be called directly).