6 Sep 2010 5:22 AM #1
Touch & Web Service
Can anyone give me an simple example of Touch combined with Web Service?
Can you use XMLReader and XMLWriter with Web Services? The only examples of XMLReaders I have come across, use as URL an XML file. Is it possible to use a Var as URL, with in the Var the xml you get from Web Service?
12 Sep 2010 10:27 PM #2
Touch & Web Service continues (to bug me)
Is is possible to use the XMLReader and XMLWriter not on files, but on variables? I am working with web services which (hopefully) will be on the same domain as my app (so no cross domain issues). And I would like to use XMLWriter to compose XML formatted messages to the web services, and receive simulair messages.
Is this possible? And if the answer is yes, does anyone have an example of this?
12 Sep 2010 10:28 PM #3
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
You can already parse XML natively in the browser. All the XmlWriter does is construct an XML block out of a bunch of records, so if you need it in a specific format you can do that.Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!
16 Sep 2010 12:04 AM #4
But can you use the XMLReader to read a string (like the one below) and fill a store with it?
<?xml version="1.0" encoding="UTF-8"?>
By swissmade in forum Sencha Touch 1.x: DiscussionReplies: 2Last Post: 14 Jul 2010, 3:49 AM
By raj_plays in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 16 Mar 2010, 10:26 PM
By andycramb in forum Community DiscussionReplies: 49Last Post: 3 Mar 2010, 2:17 AM
By Carel in forum Ext 1.x: Help & DiscussionReplies: 8Last Post: 27 Aug 2007, 6:59 AM
By SmyersM in forum Ext 1.x: Help & DiscussionReplies: 5Last Post: 10 Apr 2007, 3:40 AM