From: "NAKAMURA, Hiroshi" Date: 2007-08-28T22:18:35+09:00 Subject: Re: transfer (own)ruby object over SOAP -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, If there's no need for interoperability, you should use Marshal. Philipp wrote: > # on the rails app i did > config_dump = SOAP::Marshal.dump(cars) > > # i did the transfer as a sting over soap > > #on client side id did > cars_array = SOAP::Marshal.load(cars_marshal) > > but now i have a stange SOAP::Mapping::Object on the client side, is > there a way to get a normal ruby object in this case CAR-object that i > can do for example Above should work. Please make sure you define user defined classes (Car and Door) on the client side. Marshal requires it, too. Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iQEVAwUBRtQgbB9L2jg5EEGlAQJNKAf+MWnLc7q/WRndeXU2CYtwZ2iR4qqzLV3g p2uymZlxkRPFIfS5om04dr01LMkw3urrlZgkzBqwKXocjMo+Er2IIaAmRMkRZtuU CYMi2NHoQG01sVOWVJwpm5/McC1Eb9tcJTGmck04WAjklMAqLPG1egehfO7/LFYF /P+uGXIB9fuU4VC/unzykhsFA4upwUO/bYi0EWr8NfgCSQNDy9qzCGUTKCRGmoXc sYIlE9XI1uvO+xFle5rHcjKEgHZdB3YW5Ue9tfvCMyfSy/F96Nc4L211A5b7AqKp WwfNL6eWMKzogxXwLGTYQwStHUKB/MkdHReh2SIgkyTzFY9+wzhVxQ== =6iVw -----END PGP SIGNATURE-----