Results 1 to 3 of 3

Thread: Not able to call soap based web service in sencha

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
      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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •