本文介绍了响应为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨我正在呼叫基于肥皂的Web服务,
通过使用从SOAP WebService加载数据
我得到了成功(真),但是我得到了xml NULL,你能告诉我哪里我错了吗??
我应该在storeID中写些什么?
Hii am calling soap based web service,
by using Loading data from SOAP WebService
i get success(true) but i am getting xml NULL can you please tell me where i am wrong.?
what should i write in storeID?
var options = {
url: 'http://184.106.159.143:8080/FirstGroupRailApps/services/RailAppsCAWS/getDestinationStationDashboard',
method: "POST",
params: {
param1:"AAP",
},
callback: function(options, success, response){
if (success) {
alert("Hi");
console.log(response);
console.log(response.responseXML);
var store = new Ext.data.XmlStore({
storeId: 'getDestinationStationDashboardResponse',//what is storeID?
autoLoad: true,
autoDestroy: true,
data: response.responseXML,
//record: 'root',
//idPath: 'ID',//ID path
//fields: ...,
//sortInfo: {
// field: 'ID',
// direction: 'DESC'
//}
});
} else {
alert("Bye");
for (var prop in response) {
air.trace(prop + " = " + response[prop]);
}
}
}
};
Ext.Ajax.request( options );
推荐答案
这篇关于响应为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!