hi thanks for the response, the issue is we have an Composite object which has two types of objects in it first is a struct containing an int and a string second is an array of objects where each is a struct containing an int and a string when we try to implement this and return it from a method, the api throws error saying "dont know how to cast" any information on the same is welcome thanks -- Posted via http://www.ruby-forum.com/.