Using the same thrift templates to create Ruby and Java class files. I have a Vehicle object that has an array of Trip objects as an attribute. If I create the ruby Vehicle object, push some Trip objects into it's trips array, serialize it, send it across the wire (as simple binary data in a post request, not using thrift for that) the java deserialized object will give me a zero count for the Vehicles' trips list, the previously added Trip is not there. I've confirmed on the ruby side prior to serialization that it is there. Any pointers? I should point out that I'm able to make this happen from cocoa to java no problem, using the same templates for generation. Thanks.

William Hatch



Reply via email to