Rob Lievaart
unread,Jun 27, 2008, 8:46:26 AM6/27/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to soap4r
Hi,
I just ran wsdl2ruby on a wsdl, and I get the error mentioned in the
subject. It seems
to dislike some of the attributes used.
The attribute in question is:
<s:attribute name="TrackIDs">
<s:simpleType>
<s:list itemType="s:string" />
</s:simpleType>
</s:attribute>
When looking through the code to see where this occurs, I end up in
wsdl/soap/classDefCreatorSupport.rb, in function attribute_basetype
def attribute_basetype(attr)
if klass = basetype_class(attr.type)
klass
elsif attr.local_simpletype
basetype_class(attr.local_simpletype.base)
else
nil
end
end
but in this case, the attribute is a simple type that contains a list
of strings.
It seems the code does not handle this. Is this a problem in the code
or
am I doing something wrong?
I am new to soap4r (just installed it this morning).
Kind regards
Rob Lievaart