From: Daniel Berger Date: 2002-10-22T06:55:34+09:00 Subject: Re: XMLRPC and complex data structures Just to see what would happen with regular Ruby structs (i.e. no extensions), I tried adding this method to the xmlrpc server: # Return an array of structs def get_aos TestStruct = Struct.new("TestStruct",:name,:age) dan = TestStruct.new("Dan",32) joe = TestStruct.new("Joe",29) a = [] a.push(dan,joe) return a end This caused a "dynamic constant assignment" error, and I could only get it to work if I declared the struct type outside the class. Could dynamic struct generation be the source of the problem? If so, why? Regards, Dan