When starting to use newly created Atlas features in .Net it took me a while to figure out error messages resulting from the Atlas examples when I used them in a real-life application (vs. in an Visual Studio Atlas Web Site). The error message states that the web service reference has not been defined.
requestSimpleService = Quickstart.Samples.SimpleService.EchoString( "SomeText", //params OnComplete, //Complete event OnTimeout //Timeout event );
… would result in the error message "'Quickstart' not defined" even though correctly declared in the ScriptManager.
<section name="webServices" type="Microsoft.Web.Configuration.WebServicesSection"/>
and also on …
<webServices enableBrowserAccess="true" />
Didn't find too much information guiding me on this one but there must be a lot of people running into this one as the error messages are a bit confusing. To check if this might be the problem, visit the web service you are trying to consume and ad "/js" in the path trail (e.g "http://myserver.com/myService.asmx/js") and the response should list the Atlas generated script used to access the service when declared inside the <Atlas:ScriptManager/> tag.