响应为空 [英] Response coming null

查看:68
本文介绍了响应为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我正在呼叫基于肥皂的Web服务,
通过使用从SOAP WebService加载数据
我得到了成功(真),但是我得到了xml NULL,你能告诉我哪里我错了吗??

我应该在storeID中写些什么?

Hi i 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 );

推荐答案

获取对此URI的响应-"
Getting the responce on this URI - "" also please share ur server side code snippent.


这篇关于响应为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆