From: David Jameson Date: 2009-03-05T03:23:38+09:00 Subject: wsdl2ruby generating broken ruby code The piece of schema below is producing a broken ruby class (further below) --- note that the fields messageResourceFactory and propertyMessageResourcesFactory (from the xs:choice elements above) are defined multiple times both as fields and in the parameter list for the initialize method. It looks like no changes have been made to soap4r since 2007 --- I'm wondering if anyone knows how to deal with this problem, it's a showstopper issue for us --- means we can't support ruby, which we really want to do. Thanks in advance, David Jameson ---------------------------------- ---------------------------------- class MessageResources attr_accessor :messageResourcesFactory attr_accessor :propertyMessageResourcesFactory attr_accessor :config attr_accessor :messageResourcesFactory attr_accessor :propertyMessageResourcesFactory attr_accessor :formats attr_accessor :returnNull attr_accessor :escape def initialize(messageResourcesFactory = nil, propertyMessageResourcesFactory = nil, config = nil, messageResourcesFactory = nil, propertyMessageResourcesFactory = nil, formats = nil, returnNull = nil, escape = nil) @messageResourcesFactory = messageResourcesFactory @propertyMessageResourcesFactory = propertyMessageResourcesFactory @config = config @messageResourcesFactory = messageResourcesFactory @propertyMessageResourcesFactory = propertyMessageResourcesFactory @formats = formats @returnNull = returnNull @escape = escape end end