How To Consume SOAP Web Service In SENCHA TOUCH?
Solution 1:
You will not be able to consume your SOAP webservice in this way, since performing a GET request on the asmx url will just return you the HTML content for the page listing your webservice methods.
Consuming SOAP webservices relies on POST requests and need that you send a correct XML SOAP request. I may suggest you to use something like http://archive.plugins.jquery.com/project/jqSOAPClient to execute your SOAP calls and retrieve your data and then pass them back to your Ext code.
Hope this helps
Nacef
Solution 2:
Your code is absolutely fine. I think you are sending HTML data from the server side. Do check the response in Chrome/Safari Developer Tools. Also, use console.log() function instead of alert() function for a better view.
Also, open this url: "http://192.168.1.15:80/himanshu/helloworldwebservice.asmx" in browser and "View source" of the page - you will see what exactly you are sending.
Solution 3:
You can make use of : SOAP Data Proxy http://www.sencha.com/blog/taking-a-look-at-the-new-sencha-soap-data-proxy
Post a Comment for "How To Consume SOAP Web Service In SENCHA TOUCH?"