bradygaster.com — I've seen quite a few examples on communicating with web services from JavaScript code placed in ASPX pages. This morning I came back to work and decided to rework an existing example of my company's web service API so that it uses this feature set. In the process it occurred to me that our API has certain methods that require the passing of non-primitive data types (for example, a search critera object a-la CSLA, which is a whole other conversation). I did a little Googling and came up with very little, placing me once again into "try it and see" mode. The good news, there's very little work to be done on your part, as most of this stuff gets automagically serialized by the framework. So do the snoopy dance while you're reading this tutorial, because this is one of those magical times when the framework works wonders for us.
original link