Unable to upload file more than 35 kb using WCF Web service
-
Hi, In my client application (WPF) I am trying to upload a document to a sharepoint site by using WCF web service. I am able to upload documents to site upto 35 Kb. If I try to upload a file more than 35 kb in size then it throws following error message while uploading the file. The remote server returned an unexpected response:(400) Bad Request I have added following <binding> tag in web.config file of my WCF service <bindings> <wsHttpBinding> <binding name="wshttpconfig"> <readerQuotas maxDepth="64" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/> </binding> after this I did set bindingConfiguration="wshttpconfig" in <endpoint tag> <endpoint bindingConfiguration="wshttpconfig"..... But I still encounter the same problem. Do I need to make any other settings in the app.config file of WCF Service application?
Regards, Vipul Mehta