Click here to Skip to main content
15,907,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
C#
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 );
Posted
Updated 22-Sep-12 11:47am
v2
Comments
Sandeep Mewara 22-Sep-12 2:05am    
It depends on what you have done server side. How you responded to the request.
Zoltán Zörgő 22-Sep-12 2:40am    
Post relevant parts of the server side component here. Is it Java, PHP or some C# implementation? How is the published service configured, what transport bindings are enabled?
ravi1989h 22-Sep-12 5:47am    
java..
ravi1989h 22-Sep-12 5:59am    
http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/why-it-goes-to-if-condiation/m-p/1911581#M29196

Here i am calling same web service in different way but i am getting response.

1 solution

Getting the responce on this URI - "" also please share ur server side code snippent.
 
Share this answer
 
Comments
ravi1989h 24-Sep-12 1:53am    
http://railapps.firstgroup.com/FirstGroupRailApps/services/RailAppsCAWS?wsdl
ravi1989h 24-Sep-12 1:54am    
this is my url ......
ravi1989h 24-Sep-12 1:56am    
Use this URL :http://railapps.firstgroup.com/FirstGroupRailApps/services/RailAppsCAWS?wsdl


Instend of : http://184.106.159.143:8080/FirstGroupRailApps/services/RailAppsCAWS
ravi1989h 24-Sep-12 2:01am    
You also see this post i am getting response here .
http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/why-it-goes-to-if-condiation/m-p/1910367#M29139

I want to call same web service using jquery or ajax

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900