Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Echo Response Truncated

Sorry, no updates yet. Working on it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Echo Response Truncated

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

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Echo Response Truncated

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Echo Response Truncated

Sure.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Echo Response Truncated

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

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Echo Response Truncated

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Echo Response Truncated

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).

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Echo Response Truncated

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Echo Response Truncated

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.

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Echo Response Truncated

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!

Return to “Issues”