iWeb方法

如下方法在/iwebap/js/ref/refer.js文件中。

    Refer.prototype.loadTreeData = function (refreshCache) {
        var that = this;
		
		if (that.promise_ && that.promise_.state() === 'pending') {
            that.promise_.abort();
        }

		that.showLoading();
        that.promise_ = that.ajax({
            type: "post",
			url: that.getListUrl(),
            data: that.getRefParam(refreshCache),
            traditional: true,
            async: true,//检索出现重复数据,必须先加载
            dataType: "json",
            success: function (ret) {
                that.successLoadTreeData(ret,refreshCache);
				that.markRefresh(false);
            },
			complete: function () {
                that.hideLoading();
            }
        });
    };

本次请求的response body

{"data":[{"id":"0001AH10000000003ELQ","pk_corp":"0001AH10000000003ELQ","refcode":"T30","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"null","refname":"天海电子股份有限公司","refpk":"0001AH10000000003ELQ"},{"id":"0001AH10000000003EQI","pk_corp":"0001AH10000000003EQI","isLeaf":"true","refcode":"T3001","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"东莞天海光电有限公司","refpk":"0001AH10000000003EQI"},{"id":"0001AH10000000003EQL","pk_corp":"0001AH10000000003EQL","refcode":"T3002","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"无锡天海光电有限公司","refpk":"0001AH10000000003EQL"},{"id":"0001S210000000006ZDZ","pk_corp":"0001S210000000006ZDZ","refcode":"T300201","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003EQL","refname":"无锡风电集团","refpk":"0001S210000000006ZDZ"},{"id":"0001S2100000000071MF","pk_corp":"0001S2100000000071MF","isLeaf":"true","refcode":"T30020101","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001S210000000006ZDZ","refname":"无锡风电集团本部","refpk":"0001S2100000000071MF"},{"id":"0001S210000000006ZHS","pk_corp":"0001S210000000006ZHS","isLeaf":"true","refcode":"T30020102","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001S210000000006ZDZ","refname":"无锡风电设备制造厂","refpk":"0001S210000000006ZHS"},{"id":"0001S2100000000071N4","pk_corp":"0001S2100000000071N4","isLeaf":"true","refcode":"T3002016","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001S210000000006ZDZ","refname":"无锡风电集团共享服务中心","refpk":"0001S2100000000071N4"},{"id":"0001AH10000000003ESD","pk_corp":"0001AH10000000003ESD","isLeaf":"true","refcode":"T3003","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"成都天海光电有限公司","refpk":"0001AH10000000003ESD"},{"id":"0001AH10000000003EU5","pk_corp":"0001AH10000000003EU5","isLeaf":"true","refcode":"T3004","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海奥森宝科技有限公司","refpk":"0001AH10000000003EU5"},{"id":"0001AH10000000003EVX","pk_corp":"0001AH10000000003EVX","isLeaf":"true","refcode":"T3005","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子销售有限公司","refpk":"0001AH10000000003EVX"},{"id":"0001AH10000000003EXP","pk_corp":"0001AH10000000003EXP","isLeaf":"true","refcode":"T300501","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海饮品华北区域公司","refpk":"0001AH10000000003EXP"},{"id":"0001AH10000000003EZH","pk_corp":"0001AH10000000003EZH","refcode":"T300502","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子华东区域公司","refpk":"0001AH10000000003EZH"},{"id":"0001AH10000000003F19","pk_corp":"0001AH10000000003F19","isLeaf":"true","refcode":"T30050201","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子上海分公司","refpk":"0001AH10000000003F19"},{"id":"0001AH10000000003F31","pk_corp":"0001AH10000000003F31","isLeaf":"true","refcode":"T30050202","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子南京分公司","refpk":"0001AH10000000003F31"},{"id":"0001AH10000000003F4T","pk_corp":"0001AH10000000003F4T","isLeaf":"true","refcode":"T3005020201","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"浦口办事处","refpk":"0001AH10000000003F4T"},{"id":"0001AH10000000003F6N","pk_corp":"0001AH10000000003F6N","isLeaf":"true","refcode":"T3005020202","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"江宁办事处","refpk":"0001AH10000000003F6N"},{"id":"0001S210000000006YYD","pk_corp":"0001S210000000006YYD","isLeaf":"true","refcode":"T30050203","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003EZH","refname":"天海电子浙江分公司","refpk":"0001S210000000006YYD"},{"id":"0001AH10000000003F8F","pk_corp":"0001AH10000000003F8F","isLeaf":"true","refcode":"T300503","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子南方区域公司","refpk":"0001AH10000000003F8F"},{"id":"0001AH10000000003FA7","pk_corp":"0001AH10000000003FA7","isLeaf":"true","refcode":"T30050301","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子东莞分公司","refpk":"0001AH10000000003FA7"},{"id":"0001AH10000000003FBZ","pk_corp":"0001AH10000000003FBZ","isLeaf":"true","refcode":"T30050302","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子深圳分公司","refpk":"0001AH10000000003FBZ"},{"id":"0001AH10000000003FDR","pk_corp":"0001AH10000000003FDR","isLeaf":"true","refcode":"T300504","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子西部区域公司","refpk":"0001AH10000000003FDR"},{"id":"0001AH10000000003FFJ","pk_corp":"0001AH10000000003FFJ","isLeaf":"true","refcode":"T30050401","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子重庆分公司","refpk":"0001AH10000000003FFJ"},{"id":"0001AH10000000003FHB","pk_corp":"0001AH10000000003FHB","isLeaf":"true","refcode":"T30050402","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子昆明分公司","refpk":"0001AH10000000003FHB"},{"id":"0001AH10000000003FJ5","pk_corp":"0001AH10000000003FJ5","isLeaf":"true","refcode":"T300505","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子东北区域公司","refpk":"0001AH10000000003FJ5"},{"id":"0001AH10000000003FKX","pk_corp":"0001AH10000000003FKX","isLeaf":"true","refcode":"T3006","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海金源物资有限公司","refpk":"0001AH10000000003FKX"},{"id":"0001AH10000000003FMP","pk_corp":"0001AH10000000003FMP","isLeaf":"true","refcode":"T3007","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海金星贸易有限公司","refpk":"0001AH10000000003FMP"},{"id":"0001AH10000000003FOH","pk_corp":"0001AH10000000003FOH","isLeaf":"true","refcode":"T3010","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"香港天海电子股份有限公司","refpk":"0001AH10000000003FOH"},{"id":"0001AH10000000003FQ9","pk_corp":"0001AH10000000003FQ9","isLeaf":"true","refcode":"T3011","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"香港天海光电有限公司","refpk":"0001AH10000000003FQ9"},{"id":"0001AH10000000003FS1","pk_corp":"0001AH10000000003FS1","isLeaf":"true","refcode":"T3012","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"ABC","refpk":"0001AH10000000003FS1"},{"id":"0001AH10000000003FTT","pk_corp":"0001AH10000000003FTT","isLeaf":"true","refcode":"T3019","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"香港天海电子销售股份有限公司","refpk":"0001AH10000000003FTT"},{"id":"0001AH10000000003FVL","pk_corp":"0001AH10000000003FVL","isLeaf":"true","refcode":"T3020","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子差额单位","refpk":"0001AH10000000003FVL"},{"id":"0001AH10000000003FXD","pk_corp":"0001AH10000000003FXD","isLeaf":"true","refcode":"T3030","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子差额组织","refpk":"0001AH10000000003FXD"},{"id":"0001AH10000000003FZ5","pk_corp":"0001AH10000000003FZ5","isLeaf":"true","refcode":"T3099","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子计划中心","refpk":"0001AH10000000003FZ5"},{"id":"0001AH10000000003G0X","pk_corp":"0001AH10000000003G0X","isLeaf":"true","refcode":"T30JS","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"天海电子集团结算中心","refpk":"0001AH10000000003G0X"},{"id":"0001S210000000007QTJ","pk_corp":"0001S210000000007QTJ","isLeaf":"true","refcode":"cs","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"cs测试组织","refpk":"0001S210000000007QTJ"},{"id":"0001S210000000007QTA","pk_corp":"0001S210000000007QTA","isLeaf":"true","refcode":"gd","pk_group":"0001AH10000000000KSZ","enablestate":"2","pid":"0001AH10000000003ELQ","refname":"测试组织","refpk":"0001S210000000007QTA"}],"page":{"pageSize":-1,"currPageIndex":0,"pageCount":2},"allpks":"0001AH10000000003ELQ,0001AH10000000003EQI,0001AH10000000003EQL,0001S210000000006ZDZ,0001S2100000000071MF,0001S210000000006ZHS,0001S2100000000071N4,0001AH10000000003ESD,0001AH10000000003EU5,0001AH10000000003EVX,0001AH10000000003EXP,0001AH10000000003EZH,0001AH10000000003F19,0001AH10000000003F31,0001AH10000000003F4T,0001AH10000000003F6N,0001S210000000006YYD,0001AH10000000003F8F,0001AH10000000003FA7,0001AH10000000003FBZ,0001AH10000000003FDR,0001AH10000000003FFJ,0001AH10000000003FHB,0001AH10000000003FJ5,0001AH10000000003FKX,0001AH10000000003FMP,0001AH10000000003FOH,0001AH10000000003FQ9,0001AH10000000003FS1,0001AH10000000003FTT,0001AH10000000003FVL,0001AH10000000003FXD,0001AH10000000003FZ5,0001AH10000000003G0X,0001S210000000007QTJ,0001S210000000007QTA"}

手动重现方案1

function wrapAjax(params) {
    var orignSuccess = params.success;
    params.success = function (data, state, xhr) {
        if (window.processXHRError) {
            if (window.processXHRError(data, state, xhr)) {
                orignSuccess.call(null, data);
            }
        } else {
            orignSuccess.call(null, data);
        }
    };
    if (window.context) {
        var parm = {};
        try{
            parm.nodepath = window.nodepath;
            parm.cntparm = JSON.stringify(window.context.parameters);
            parm.environment = JSON.stringify(window.context.environment);
        }catch (e){}
        $.extend(params.data, parm);
    }

    return $.ajax(params);
}
var _promise = wrapAjax({
    type: "post",
    url: "/iwebap/iref_ctr/commonRefsearch/", //that.getListUrl(),
    data: {"filterPks":["0001AH10000000003FMP,0001AH10000000003EVX,0001S210000000006ZHS,0001AH10000000003F6N,0001S210000000007QTA,0001AH10000000003FVL,0001S210000000007QTJ,0001AH10000000003EXP,0001AH10000000003FA7,0001AH10000000003F8F,0001AH10000000003F19,0001AH10000000003FKX,0001AH10000000003FTT,0001AH10000000003F31,0001AH10000000003EQI,0001AH10000000003EZH,0001AH10000000003EQL,0001AH10000000003FQ9,0001S210000000006YYD,0001AH10000000003FZ5,0001AH10000000003FBZ,0001AH10000000003FS1,0001AH10000000003FJ5,0001S210000000006ZDZ,0001AH10000000003FFJ,0001AH10000000003F4T,0001S2100000000071N4,0001AH10000000003ESD,0001AH10000000003FXD,0001AH10000000003FOH,0001S2100000000071MF,0001AH10000000003EU5,0001AH10000000003G0X,0001AH10000000003FHB,0001AH10000000003FDR,0001AH10000000003ELQ"],"pk_org":"","refName":"%25E8%25B4%25A2%25E5%258A%25A1%25E7%25BB%2584%25E7%25BB%2587","refModelClassName":"","refModelHandlerClass":"","cfgParam":"{\"isMultiSelectedEnabled\":false}","clientParam":"{\"filterPk\":[\"0001AH10000000003FMP\",\"0001AH10000000003EVX\",\"0001S210000000006ZHS\",\"0001AH10000000003F6N\",\"0001S210000000007QTA\",\"0001AH10000000003FVL\",\"0001S210000000007QTJ\",\"0001AH10000000003EXP\",\"0001AH10000000003FA7\",\"0001AH10000000003F8F\",\"0001AH10000000003F19\",\"0001AH10000000003FKX\",\"0001AH10000000003FTT\",\"0001AH10000000003F31\",\"0001AH10000000003EQI\",\"0001AH10000000003EZH\",\"0001AH10000000003EQL\",\"0001AH10000000003FQ9\",\"0001S210000000006YYD\",\"0001AH10000000003FZ5\",\"0001AH10000000003FBZ\",\"0001AH10000000003FS1\",\"0001AH10000000003FJ5\",\"0001S210000000006ZDZ\",\"0001AH10000000003FFJ\",\"0001AH10000000003F4T\",\"0001S2100000000071N4\",\"0001AH10000000003ESD\",\"0001AH10000000003FXD\",\"0001AH10000000003FOH\",\"0001S2100000000071MF\",\"0001AH10000000003EU5\",\"0001AH10000000003G0X\",\"0001AH10000000003FHB\",\"0001AH10000000003FDR\",\"0001AH10000000003ELQ\"]}","refClientPageInfo.pageSize":"-1","refClientPageInfo.currPageIndex":-1}, //that.getRefParam(refreshCache),
    traditional: true,
    async: true,//检索出现重复数据,必须先加载
    dataType: "json",
    success: function (ret) {
        console.log(ret);
        //that.successLoadTreeData(ret,refreshCache);
        //that.markRefresh(false);
    },
    complete: function () {
        //that.hideLoading();
    }
});

手动重现方案2

var data = "filterPks=0001AH10000000003FMP%252C0001AH10000000003EVX%252C0001S210000000006ZHS%252C0001AH10000000003F6N%252C0001S210000000007QTA%252C0001AH10000000003FVL%252C0001S210000000007QTJ%252C0001AH10000000003EXP%252C0001AH10000000003FA7%252C0001AH10000000003F8F%252C0001AH10000000003F19%252C0001AH10000000003FKX%252C0001AH10000000003FTT%252C0001AH10000000003F31%252C0001AH10000000003EQI%252C0001AH10000000003EZH%252C0001AH10000000003EQL%252C0001AH10000000003FQ9%252C0001S210000000006YYD%252C0001AH10000000003FZ5%252C0001AH10000000003FBZ%252C0001AH10000000003FS1%252C0001AH10000000003FJ5%252C0001S210000000006ZDZ%252C0001AH10000000003FFJ%252C0001AH10000000003F4T%252C0001S2100000000071N4%252C0001AH10000000003ESD%252C0001AH10000000003FXD%252C0001AH10000000003FOH%252C0001S2100000000071MF%252C0001AH10000000003EU5%252C0001AH10000000003G0X%252C0001AH10000000003FHB%252C0001AH10000000003FDR%252C0001AH10000000003ELQ&pk_org=&refName=%252525E8%252525B4%252525A2%252525E5%2525258A%252525A1%252525E7%252525BB%25252584%252525E7%252525BB%25252587&refModelClassName=&refModelHandlerClass=&cfgParam=%257B%2522isMultiSelectedEnabled%2522%253Afalse%257D&clientParam=%257B%2522filterPk%2522%253A%255B%25220001AH10000000003FMP%2522%252C%25220001AH10000000003EVX%2522%252C%25220001S210000000006ZHS%2522%252C%25220001AH10000000003F6N%2522%252C%25220001S210000000007QTA%2522%252C%25220001AH10000000003FVL%2522%252C%25220001S210000000007QTJ%2522%252C%25220001AH10000000003EXP%2522%252C%25220001AH10000000003FA7%2522%252C%25220001AH10000000003F8F%2522%252C%25220001AH10000000003F19%2522%252C%25220001AH10000000003FKX%2522%252C%25220001AH10000000003FTT%2522%252C%25220001AH10000000003F31%2522%252C%25220001AH10000000003EQI%2522%252C%25220001AH10000000003EZH%2522%252C%25220001AH10000000003EQL%2522%252C%25220001AH10000000003FQ9%2522%252C%25220001S210000000006YYD%2522%252C%25220001AH10000000003FZ5%2522%252C%25220001AH10000000003FBZ%2522%252C%25220001AH10000000003FS1%2522%252C%25220001AH10000000003FJ5%2522%252C%25220001S210000000006ZDZ%2522%252C%25220001AH10000000003FFJ%2522%252C%25220001AH10000000003F4T%2522%252C%25220001S2100000000071N4%2522%252C%25220001AH10000000003ESD%2522%252C%25220001AH10000000003FXD%2522%252C%25220001AH10000000003FOH%2522%252C%25220001S2100000000071MF%2522%252C%25220001AH10000000003EU5%2522%252C%25220001AH10000000003G0X%2522%252C%25220001AH10000000003FHB%2522%252C%25220001AH10000000003FDR%2522%252C%25220001AH10000000003ELQ%2522%255D%257D&refClientPageInfo.pageSize=-1&refClientPageInfo.currPageIndex=-1";

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "http://123.103.9.189:8255/iwebap/iref_ctr/commonRefsearch/");
//xhr.setRequestHeader("cookie", "i18next=en; token=00000158b7cb5971797730315c39119b575d5685bfb8e4958b3382babca9d16fa6cd00123599752c00000158b7cb5bb3; user_org=0001AH10000000000KSZ; pk_unit=0001AH10000000000KSZ; datasource=NC65ssc; userid=1002AH10000000001KXX; usercode=yw01; TH_K1=webclassic; LA_K1=simpchn; JSESSIONID=5D969C4168991AC70398725E3F1A4446.server");
//xhr.setRequestHeader("origin", "http://123.103.9.189:8255");
//xhr.setRequestHeader("accept-encoding", "gzip, deflate");
xhr.setRequestHeader("accept-language", "en,zh-CN;q=0.8,zh;q=0.6,ja;q=0.4,tr;q=0.2,es;q=0.2,zh-TW;q=0.2,fr;q=0.2,ko;q=0.2,da;q=0.2,ru;q=0.2,sr;q=0.2,gl;q=0.2,it;q=0.2,nb;q=0.2,de;q=0.2,th;q=0.2,lv;q=0.2");
//xhr.setRequestHeader("user-agent", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36");
xhr.setRequestHeader("content-type", "application/x-www-form-urlencoded; charset=UTF-8");
xhr.setRequestHeader("accept", "application/json, text/javascript, */*; q=0.01");
//xhr.setRequestHeader("referer", "http://123.103.9.189:8255/iwebap/pages/20080PBR/D1/0/1002S21000000000B1EO/0001AH10000000000KSZ/0001Z010000000079UJJ/0/simpchn/arapcard.html?tradetype=D1&nodecode=20080PBR&pk_org=0001AH10000000000KSZ&templateName=%25E5%25BA%2594%25E4%25BB%2598%25E5%258D%2595");
xhr.setRequestHeader("x-requested-with", "XMLHttpRequest");
//xhr.setRequestHeader("connection", "keep-alive");
xhr.setRequestHeader("cache-control", "no-cache");
//xhr.setRequestHeader("postman-token", "ba71a68a-3363-b8e9-ec28-9bf00571383e");

xhr.send(data);

LFW方法

第一次请求

如下方法位于/portal/frame/device_pc/script/compressed/2222932029.js,需要通过http://jsbeautifier.org/先格式化代码一下。

ReferenceTextComp.prototype.getExtendsParam = function() {
  var proxy = new ServerProxy(null, null, false);
  if (this.nodeInfo && this.nodeInfo.dataListener && this.nodeInfo.dataListener != null) proxy.addParam("clc", this.nodeInfo.dataListener);
  else proxy.addParam("clc", "nc.uap.lfw.reference.app.AppReferenceController");
  proxy.addParam("m_n", "getExtendsParam");
  proxy.addParam("widgetId", this.widget.id);
  proxy.addParam("widget_id", this.widget.id);
  proxy.addParam("datasetId", this.datasetId);
  proxy.addParam('el', '2');
  proxy.addParam("refNodeId", this.nodeInfo.id);
  proxy.addParam("referenceTextId", this.id);
  proxy.addParam('refFormId', this.refFormId);
  proxy.addParam("refFormeleID", this.refFormeleID);
  proxy.addParam('refGridId', this.refGridId);
  proxy.addParam("refGridHeaderId", this.refGridHeaderId);
  proxy.addParam("datasetId", this.datasetId);
  proxy.execute();
};

本次请求的response body

<?xml version="1.0" encoding='UTF-8'?>
<xml>
    <exp-text>
    </exp-text>
    <show-message>
    </show-message>
    <exp-stack>        <![CDATA[]]>
    </exp-stack>
    <success>true</success>
    <contents>
        <content>            <![CDATA[<?xml version="1.0" encoding='UTF-8'?>
<e>
    <isPlug>false</isPlug>
    <pagemeta>
        <widget id="pubview_exetask">
        </widget>
        <widget id="cjk">
        </widget>
        <widget id="bx_menu">
        </widget>
        <widget id="exp_billTitle">
        </widget>
        <widget id="workflow_task">
        </widget>
        <widget id="main">
        </widget>
        <cc>            <CD>{"widgets":[{"id":"cjk","comps":[{"id":"cjk_jkbusitem_grid"},{"id":"cjk_jkzb_grid"}]},{"id":"main","comps":[{"id":"contrast_grid"},{"id":"busitem_grid"},{"id":"bx_cshare_detail_grid"}]}]}</CD>
        </cc>
    </pagemeta>
</e>
]]>
        </content>
    </contents>
</xml>

第二次请求

如下方法位于/portal/frame/device_pc/script/compressed/1226805521.js,需要通过http://jsbeautifier.org/先格式化代码一下。

ServerProxy.execServerProxyList = function() {
  if (getProxyListExecuting() == true) {
    setTimeout("ServerProxy.execServerProxyList()", 100);
    return;
  }
  setProxyListExecuting(true);
  try {
    ServerProxy.aggregateProxyRequest();
  } finally {
    setProxyListExecuting(false);
  }
};

本次请求的response body

<?xml version="1.0" encoding='UTF-8'?>
<xml>
    <exp-text>
    </exp-text>
    <show-message>
    </show-message>
    <exp-stack>        <![CDATA[]]>
    </exp-stack>
    <success>true</success>
    <contents>
        <content>            <![CDATA[<?xml version="1.0" encoding='UTF-8'?>
<e>
    <isPlug>false</isPlug>
    <pagemeta>
        <widget id="main">
            <dataset id="masterDs">
                <data>                    <CD><dataset id="masterDs" focusIndex="-1" currentkey="MASTER_KEY" editable="false" isCleared="false" randomRowIndex="2">
    <dsps>
    </dsps>
    <rowsets>
    <rowset pagecount="1" pagesize="-1" recordcount="2" pageindex="0" keyvalue="MASTER_KEY">
    <rs pageindex="0" changed="true">
<r id="0masterDs$1" ><add>T30,%E5%A4%A9%E6%B5%B7%E7%94%B5%E5%AD%90%E8%82%A1%E4%BB%BD%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8,0001AH10000000003ELQ,0001AH10000000003ELP,。</add></r>
<r id="0masterDs$2" ><add>T3001,%E4%B8%9C%E8%8E%9E%E5%A4%A9%E6%B5%B7%E5%85%89%E7%94%B5%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8,0001AH10000000003EQI,0001AH10000000003EQH,0001AH10000000003ELQ</add></r>
</rs>
    </rowset>
    </rowsets>
</dataset>
</CD>
                </data>
            </dataset>
        </widget>
    </pagemeta>
    <pe>
        <e>
            <pagemeta>
                <widget id="pubview_exetask">
                </widget>
                <widget id="cjk">
                </widget>
                <widget id="bx_menu">
                </widget>
                <widget id="exp_billTitle">
                </widget>
                <widget id="workflow_task">
                </widget>
                <widget id="main">
                </widget>
                <cc>                    <CD>{"widgets":[{"id":"cjk","comps":[{"id":"cjk_jkbusitem_grid"},{"id":"cjk_jkzb_grid"}]},{"id":"main","comps":[{"id":"contrast_grid"},{"id":"busitem_grid"},{"id":"bx_cshare_detail_grid"}]}]}</CD>
                </cc>
            </pagemeta>
        </e>
    </pe>
</e>
]]>
        </content>
    </contents>
</xml>