S SpaceCow Member Licensed User Longtime User Aug 6, 2012 #1 Hi, I'm using the HttpUtils2 for posts and gets in my application based on the JobDone as described in this tutorial: http://www.b4x.com/forum/basic4andr...web-services-now-even-simpler.html#post109068 Now i want to get an XML online and parse this with XMLSax so i make a GET to the server, retreive the XML and then i want to convert it to an inputstream so XMLSax accepts it. The only problem is that i don't know how to convert te string to a inputstream! I also tried with de parse2 but nothing seems to work. Is it possible to combine the JobDone output from HTTPUtils2 with XMLSax? Thanks!
Hi, I'm using the HttpUtils2 for posts and gets in my application based on the JobDone as described in this tutorial: http://www.b4x.com/forum/basic4andr...web-services-now-even-simpler.html#post109068 Now i want to get an XML online and parse this with XMLSax so i make a GET to the server, retreive the XML and then i want to convert it to an inputstream so XMLSax accepts it. The only problem is that i don't know how to convert te string to a inputstream! I also tried with de parse2 but nothing seems to work. Is it possible to combine the JobDone output from HTTPUtils2 with XMLSax? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2012 #2 Use Job.GetInputStream instead of job.GetString. Upvote 0