I installed soap4r-1.5.7 and have had trouble with simple custom attribute types when trying to run wsdl2ruby.rb against a WSDL from THINK Subscription Services.
The attachment is 544KB, so I can't upload it, but I will email it to anyone interested. Drop me a line: cranigus at gmail.
Run: wsdl2ruby.rb --wsdl SLWebSvc.wsdl --type client --force
Errors I'm seeing:
unresolved attribute type {http://Think/XmlWebServices/}transfer_role_enum for {}transfer_role
unresolved attribute type {http://Think/XmlWebServices/}ZZBoolean for {}send_back_issues
ZZBoolean seems to generate the most errors; it's used in many places in the WSDL file.
It's defined as:
<xsd:simpleType name="ZZBoolean">
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="yes"/>
<xsd:enumeration value="no"/>
</xsd:restriction>
</xsd:simpleType>
It is typically used thus:
<xsd:attribute name="send_back_issues" type="s0:ZZBoolean" use="optional" default="yes"/>