0
我有我試圖用jQuery來調用Web服務。它應該返回一堆XML數據,但我似乎無法使其工作。調用HTTP web服務與jQuery和獲取XML回
這與PARAMS的WS:
這裏是我使用jQuery代碼。
var UrlName = "richsangillo";
var GUID = "5475D3AB-313D-47C0-842D-D916B43658D1";
var TID = "7006806";
var PageID = "53619";
var SID = "cd4p4y55q1i4vayzdw1fxsa0";
var arr= new Array();
var loopCounter = 0;
$.ajax({type: "GET",url:"http://campaign.vialunatechnology.com/service/CampaignService.asmx/GetTargetDetails?urlName=" + UrlName + "&campaignGuid=" + GUID,dataType: "xml",success: function(xml) {
$(xml).find('xmlNode').each(
function()
{
arr[loopCounter] = $(this).find('xmlNode').text();
loopCounter += 1;
});
}});
您提出此請求的域是什麼? –