Page 2 of 6

Echo Response Truncated

Posted: Tue Jun 11, 2013 1:45 pm
by Kateryna Grynko

Sorry, no updates yet. Working on it.


Echo Response Truncated

Posted: Tue Jun 11, 2013 3:40 pm
by Maryna Brodina

Hello! Please check your mail box, I sent you xml file you may use to create response structure.


Echo Response Truncated

Posted: Tue Jun 11, 2013 4:06 pm
by leonardo

Hi Marina:
I checked my inbox, trash, and spam but somehow the file didn't come through. Could you please send it again. Thanks.


Echo Response Truncated

Posted: Tue Jun 11, 2013 4:08 pm
by Maryna Brodina

Sure.


Echo Response Truncated

Posted: Tue Jun 11, 2013 4:18 pm
by Maryna Brodina

Check again please - I sent you public link to download that file.


Echo Response Truncated

Posted: Tue Jun 11, 2013 6:09 pm
by leonardo

Hi Marina. Thanks for the small file sample. That works. I see that the spaces are removed and line breaks are placed at different points. This of course is a very small sample. Will it work with the large file if the xml is formatted as in your example?


Echo Response Truncated

Posted: Tue Jun 11, 2013 6:40 pm
by Maryna Brodina

No, it doesn't matter if you format large xml file as in example I've sent you - it won't work with large files. The main point is that you don't need to use entire file to create response structure. You can just create file with a few lessons and use it to create response structure, but you service will work with a large file (through echo or request it).


Echo Response Truncated

Posted: Tue Jun 11, 2013 7:21 pm
by leonardo

Wow! You made my day, Marina -- as always. So, I can use the small file as a kind of template to create the Response service structure. Then once the Response service is created, I can paste the large file in the Echo -- which accepts the large file now as it is -- is that right?

On the other hand, how can I request the large file, if I didn't use Echo?


Echo Response Truncated

Posted: Tue Jun 11, 2013 7:38 pm
by Maryna Brodina

I can paste the large file in the Echo -- which accepts the large file now as it is -- is that right? -- yes, you're right

how can I request the large file, if I didn't use Echo? -- you can save that file in some variable, but it's not easy to work with such a big files, also it slows down the app. There is a better way - you can split your file on a separate lessons and store it in DB. It would be easier and app will work faster.


Echo Response Truncated

Posted: Tue Jun 11, 2013 7:47 pm
by leonardo

I see. I haven't made the leap to work with the db, because I don't know if it is universal as xml.

  1. Which is faster, xml file in Echo or Db?

  2. So, if I stored the app in db, each lesson would be like a row of data?

  3. What is the best way to automate populating the db from xml?

  4. Links to reading up on the structure, syntax of the db

    Thanks!