Thursday, February 25, 2021

Re: deserialize GWT response

Fwiw, the GWT-RPC protocol is documented here: https://docs.google.com/document/d/1eG0YocsYYbNAtivkLtcaiEE5IOF5u4LUol8-LL0TIKU/view

On Thursday, February 25, 2021 at 1:35:23 PM UTC+1 et wrote:
I'm working on a project where I need to convert the gwt response to an xml format. Is there a simple way to do this? I've looked into ClientSerializationStreamReader and such but unable to decipher the correlation of the indices to the values in string table. 

sample response:
//OK[14,16499,13,12,0,9,9,0,0,0,0,9,9,11,10,0,0,0,0,9,9,8,6,7,6,1,5,4,3,2,2,0,1,[\"com.edgenius.wiki.gwt.client.model.RenderMarkupModel/3648883652\",\"java.util.ArrayList/4159755760\",\"com.edgenius.wiki.gwt.client.model.MacroModel/453643445\",\"portal\",\"java.util.HashMap/1797211028\",\"java.lang.String/2004016611\",\"showlogo\",\"true\",\"\",\"com.edgenius.wiki.gwt.client.model.TextModel/1981019746\",\"<br />\",\"demo gwt\",\"java.lang.Integer/3438268394\",\"demogwt\"],0,7]

Any help or suggestions is appreciated!

Thanks
et

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f6ef5346-0c56-46a0-893a-9cf2343cae19n%40googlegroups.com.

No comments:

Post a Comment