Web Service calling – Microsoft AJAX Library and ASP.NET 2.0 AJAX Extensions

The calling parameters for calling a web service have changes somewhat in the new build.  Assuming that a web service has the calling signature of:

MethodName(int p1, string p2, bool p3) in C# with a Class of ClassName, the javascript calling sequence would be

ClassName.MethodName(p1, p2, p3, OnComplete[, OnFailure[, UserContext]]);

Originally pulled from: http://morewally.com/cs/blogs/wallym/archive/2006/10/20/429.aspx

No Comments