1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    6
    Vote Rating
    0
    naveen1989 is on a distinguished road

      0  

    Default Not able to call soap based web service in sencha

    Not able to call soap based web service in sencha


    Hi
    can you please tell me how to call soap based web service , actually i am getting null response while using this code,


    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 );
    I implement the same web service but in different way i getting the response,
    http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/why-it-goes-to-if-condiation/m-p/1911581#M29196

    c
    an you please help me..

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,604
    Vote Rating
    818
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    When you post code, you should be using BBCode CODE tags so that we can read the code.

    Any errors when you try this? Like cross domain issues?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    6
    Vote Rating
    0
    naveen1989 is on a distinguished road

      0  

    Default


    Hi i am getting null response . But when i call same web service different way i got the response .But in need to call this web service using jquery or ajax. This is my code.

    Ext.Ajax.request({
    url: 'http://184.106.159.143:8080/FirstGroupRailApps/services/RailAppsCAWS/getVersion',
    params: {
    param1:"AAP"
    },
    success: function(response,options){
    var text = response.responseText;
    console.log("on success Command"+text);
    },
    failure:function(msg){
    console.log("Failur"+msg);
    }
    });


    }
    });


    I called same web service different way and getting response .
    http://supportforums.blackberry.com/...1911089#M29175

Thread Participants: 1

Tags for this Thread