<xsd:element name="Classification">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="nbnq:Band" maxOccurs="3"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
wsdl2ruby.rb generates following mapping_registry from above schema definition.
LiteralRegistry.register(
...
:schema_element => [
["Band", [nil, XSD::QName.new("http://webservices.searchnbn.net/query", "Band")], [1, 3]]
]
)
which should be;
LiteralRegistry.register(
...
:schema_element => [
["Band", ["Band[]", XSD::QName.new("http://webservices.searchnbn.net/query", "Band")], [1, 3]]
]
)
LiteralRegistry? cannot detect "Band" as array so class "Classification" is not properly serialized.