I use SL4 and RIA Services to create a new solution based on the Silverlight business application template. Since I'm still developing, I just use localhost.
I am trying to test the SubmitChanges function by doing one change to the associated (compound) object and calling SubmitChanges. I have a breakpoint in my DomainService at the entry point in the Update method. The breakpoint is hit and everything looks good. At the moment, I actually do not have the Update method, it just returns. In the client side callback, I check the SubmitOperation object for errors. He reports:
Submit operation failed. The remote server returned an error: NotFound.
So far I have not found what was not found.
I tried using Fiddler (along with the WCF plugin), and as far as I can tell, the request looks good, but according to Fiddler:
ReadResponse() failed: The server did not return a response for this request.
Hmm ... Well, that couldn't be the case, because my callback breakpoint has been deleted. (How did I get the NotFound error message.)
I also tried editing the web.config file with the following:
<system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> <behaviors> <serviceBehaviors> <behavior name="RIAServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="True" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel>
This did not provide any new information. I'm running out of ideas on how to track the "real" problem. Any ideas?
source share