PDA

View Full Version : import webservice



nofx
8 Aug 2011, 2:33 AM
Hi, i have setup a webservice and i want to use Sencha Touch to make calls to that webservice with JSONP. So far so good. I can make calls to the webservice, but there's still a little problem.

What if the webservice gets really big? Right now i'm mannually creating all the JSONP functions in my Sencha Touch app. It would be a nightmare to manually add all the methods if the webservice has alot of functions.

So my questions is, is there a way to generate all the webservice methods in my Sencha app? Or do i really have to do that manually...?