📌  相关文章
📜  javascript 错误:无效的 Web 服务调用,缺少参数值:'documentId'. - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:21.339000             🧑  作者: Mango

代码示例1
/*
Your Javascript must pass parameters named Exactly as in the web service.
Remember that these parameters in client- and server-side are case-sensitive. 
*/

// Web service:
 public static List GetMyObjects(int ObjectId)
    { ...
    
// Javascript:
CallMethodAsync(null, "GetMyObjects", { ObjectId: theCurrentObjId }, function (data) {
                    self.SavedObjects = data.Result;
                    ...
                });