From: "NAKAMURA, Hiroshi" Date: 2004-07-01T23:18:35+09:00 Subject: Re: does soap have problems with structs? Hi, Sorry for not responding long long time. I'm busy these days... (after May last, the day www.ruby-lang.org cracked) I still cannot restore the CVS repository of soap4r. I was unaware of your mail. # all: please tell me if you haven't got any response from me. jm wrote: > yet if the Structs are replaced by Hashs this works. A local call works > in both cases. Is this a known problem with soap or is it something to > do with my code? > class Testsrv > @@test_struct = Struct.new(:one,:two) Here you're creating anonymous Struct. Did you do it intentionally? > def a_method > @@test_struct.new("string",1) > end > end But you'll see the same result with @@test_struct = Struct.new("Foo", :one,:two) It could be a bug of soap4r. I'll look into it. Regards, // NaHi