I'm using ASP.Net AJAX and I created a web service in my application. The service has one method (AddWatchedFolder) and it takes a Name.Space.WatchedFolder as the only parameter. The problem is, ASP.Net AJAX isn't generating a javascript type for Name.Space.WatchedFolder even though I've added the service to a ScriptManager.
I am able to change the parameter type to a string and it works just fine, but I can't use that business object as a parameter because I can't create it from javascript.
The class (Name.Space.WatchedFolder) exists in a separate class library project if that makes any difference.
Any ideas how to get this to work?