I'm aware that Sencha complete package includes Enterprise Data Connectors, in particular SOAP Data Connector.
However the SOAP Data Connector only seems to be available in EXTJS and not in Sencha Touch. Am I correct?
This is important to me because I'm evaluating about purchasing the package, but only if the SOAP Connector is available for Sencha Touch.
Thank you!
You can include external javascript libraries, just add them into your app.json file described here. What is the proper way to load an external javascript in Sencha Touch 2. You can then access the library. The soap libary I've had the best luck with is http://javascriptsoapclient.codeplex.com/
Related
I want to reach the data saved in a mysql server for an Android phone. I thought about to connect directly the phone to the mysql but it is a bad practice because someone can get the user/pass of the DB.
However the REST architecture maybe it's a solution for my problem. I found the toolkit GWT but I don't know if it's the best way to solve my problem and what I need to use the GWT.
And I got 2 questions basically:
The GWT is good for my purpose?
Need a Tomcat server for example to set the GWT code?
One annotation, the data is for an app Android, there is no HTML interface .
Nowadays I'm working at localhost. Thanks for the answers.
As far as I understand, you want to implement a RESTful service (Web API). GWT targets the Web UI to be able to build it using Java and compile it into JavaScript. I think that it's not what you expect.
Here is a link that provides you hints about concepts of REST: https://templth.wordpress.com/2014/12/15/designing-a-web-api/. It will describe you what is a RESTful service and how to design it.
There are several technologies to build RESTful services (server-side frameworks). I can list two of them:
Restlet (see this link http://restlet.com/technical-resources/restlet-framework/tutorials/2.3 and http://restlet.com/products/restlet-framework/)
JAX-RS and its implementations (Restlet, Jersey, EasyRest). See this link for example: https://templth.wordpress.com/2015/03/06/getting-started-with-resteasy/.
Hope it helps you,
Thierry
The API docs give a tantalizing hint of GWT bindings for the realtime service, but I can't find other mention of them.
Parameters:
gapi.drive.realtime.GwtDocumentBridge bridge — The driver for the GWT collaborative libraries.
I'm in the process of writing a GWT app with the realtime API and there's a bunch of complex plumbing that would be great to avoid! Is this GWT collaborative libraries reference to something that is already out there?
Sorry, but that is just an implementation detail. There is not a GWT API available at this time, just the javascript one.
I have to consume a SOAP web service using sencha touch.
Can anybody help me
Can I use JSONP proxy to consume soap web service How ??
Please give some sample code or references.
Thanks in Advance
I believe the best approach to accomplish your project is to develop some kind of middleware between your Sencha Touch app and your WS SOAP Service.
This middleware will handle WS petitions, transforming the results in JSON format and finally delivering to Sencha Touch app.
I've implemented this little architecture in one project some months ago and it worked like a charm. For the middleware, In my case, I worked with Java Apache Axis2 open source library
Hope you helps
i know it's too late...
I have a workaround for this problem. Maybe this is only suitable for development-Environment and not
productive-Environment. (Since it requieres Serverside configuration)
I configured our Server to allow CORS. therefore see: http://enable-cors.org/
start chrome with params: chrome.exe --disable-web-security
Make Ajax.request(...) Method:POST. Use the correct SOAP Envelope. helpfull:
http://www.soapclient.com/SoapMsg.html
I have a requirement of developing a Plug-in based UI architecture. Currently, my app uses GWT (Google-Tool-kit) as a client side technology. Now, I am looking for making the app more modular and plugin-aware.
For example, I should have my UI framework ready and any other developers can develop their UI and install/run it as part of my framework. My Framework should never have the GWT code from other developers and compile them as part of the framework.
But the problem I get is, GWT expects all the codes to be compiled together and output the javascript/html which doesn't solve my purpose.
Is there anybody who is also thinking on the same line/ developing something like this? It would be a great help to get me started with some data point/sample code/app.
Thanks in advance.
-Tapas
Do the plugin developers have to develop in GWT? If you want to expose a Javascript API to developers, then you can look at GWT-Js interop API project: http://code.google.com/p/gwt-api-interop/
im searching for a GWT-RPC lib for the client side to communicate with a zend framework php server
thus rpc like json, xml or rest would be interesting
all i find are projects which have been stuck in years 2007/08 which dont seem to work anymore
so is there anyone who can suggest a working library?
thx
As far as I know nobody has built a GWT-RPC to communicate with a non-Java server, to allow you to have the automatic object sharing between client (written in Java) and server (written in non-Java) that GWT-RPC provides.
Luckily, GWT provides a mechanism for communicating with a server in regular JSON, using RequestBuilder. See this link for more information about making regular HTTP requests in GWT.