this morning I ran into an issue with returning back a text string as result from a Web Service call. the Error I was getting is below
************** Exception Text **************
System.ServiceModel.CommunicationException: Error in deserializing body of reply message for operation 'GetFilingTreeXML'. ---> System.InvalidOperationExcepti...
I recently converted some Silverlight 3 WCF services to use the new binary http bindings. Long strings are often sent over to the server for deserialization in these services and I previously used to ensure the data could be read properly. However, with the new binding I can't find the correct place to add the element:
<custom...
I’m having a WCF REST service hosted in IIS using .NET 4 RC. The POST calls to the service are serialized using JSON. Everything works fine until the size of one of the DataMember (string) is longer than 8K. In this case I receive the error described below indicating the MaxStringContentLength has been exceeded. The maxStringContentLengt...
Please can you tell me the units measured by InputFile.PostedFile.ContentLength . I need to make sure the file is less than 500k.
Thanks.
...