WSDL Help --> Restrictions, pattern, minOccurs and maxOccurs

0 views
Skip to first unread message

James

unread,
Jun 27, 2008, 1:59:57 AM6/27/08
to soap4r
Thanks for the great gem that you guys made. You guys rock!!!


One of our client had created a WSDL in ASP and sent it over asking us
to implement the same structure
in ruby. We managed to work out a simple WSDL with the SOAP4r gem.
But we are stuck with this kind of xml structure that we see in the
WSDL created through ASP.

<restriction base="xsd:string">
<pattern value="[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
[0-9][0-9]"/>
</restriction>

<sequence>
<element name="enabled" type="xsd:boolean" minOccurs="1"
maxOccurs="1"/>
</sequence>

Is it possible to do the same in ruby, i.e; can we give restrictions,
pattern, minOccurs and maxOccurs variables via the SOAP4r ?
Also can we define additional Request And Response Structures in the
WSDLs?

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages