If you are going to call your web services, you will need to add two new attributes to your web service classes. These are:
[ScriptService] // This attribute must be on your web services anyway.
[GenerateScriptType(typeof(ComplexDataType))] // needed if you are going to pass a complex data type
Where ComplexDataType is the type of data that you will transfer. Using the Atlas Example from their site, the example would be
[GenerateScriptType(typeof(Animal))]
If you don’t add the script service attribute, you might get an error like this:
