Ajax 调用WebServices

$.ajax({
        type: "GET",
        contentType: "application/json",
        url: "http://cnqamoss302:8000/sites/BSO/CPA/_vti_bin/MMMCustomService.svc/GenerateAgreementDocument(2017-27-003)",
        dataType: "json",
        success: function (result) {
		console.log(result);
        },
        error: function (XMLResponse) {
            console.log(XMLResponse.responseText)
        }
    });

  

posted @ 2019-02-21 15:32  梁云涛  阅读(96)  评论(0)    收藏  举报