(400) Bad Request. In Silverlight

Feb 2, 2012 at 9:23 AM

Hi, 

 

I am working on business application using Silverlight-4 & WCF as web services in MVVM architecture. I am facing a problem with a WCF services. Whenever web-service is called its throwing exception "The remote server returned an unexpected response: (400) Bad Request. In Silverlight, a 404 response code may be reported even when the service sends a different error code." sometimes.


I tried maxBufferSize, maxReceivedMessageSize, maxStringContentLength etc to max limit but all in vain.
Can anyone suggest me any other pointers how to track actual problem or solution to mentioned issue.

 

Thanks in advance,

Parvinder Singh