Change soft-fail to use the config, rather than env
[rbx.git] / test / mri / wsdl / simpletype / simpletype.wsdl
blob623969c79452a462c6116cbcfa5b84aaefe25eae
1 <?xml version="1.0" encoding="utf-8"?>
2 <definitions name="ping_service"
3 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
4 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5 xmlns:tns="urn:example.com:simpletype"
6 targetNamespace="urn:example.com:simpletype"
7 xmlns="http://schemas.xmlsoap.org/wsdl/">
8 <types>
9 <xsd:schema targetNamespace="urn:example.com:simpletype">
10 <xsd:element name="ruby">
11 <xsd:complexType>
12 <xsd:sequence>
13 <xsd:element minOccurs="1" maxOccurs="1" name="myversion" type="tns:myversion"/>
14 <xsd:element minOccurs="0" maxOccurs="1" name="date" type="xsd:dateTime"/>
15 </xsd:sequence>
16 </xsd:complexType>
17 </xsd:element>
19 <xsd:simpleType name="myversion">
20 <xsd:restriction base="xsd:string">
21 <xsd:enumeration value="1.6"/>
22 <xsd:enumeration value="1.8"/>
23 <xsd:enumeration value="1.9"/>
24 </xsd:restriction>
25 </xsd:simpleType>
27 <xsd:element name="myid" type="tns:ID"/>
29 <xsd:simpleType name="ID">
30 <xsd:restriction base="xsd:string">
31 <xsd:length value="18"/>
32 <xsd:pattern value='[a-zA-Z0-9]{18}'/>
33 </xsd:restriction>
34 </xsd:simpleType>
35 </xsd:schema>
36 </types>
38 <message name="ping_in">
39 <part name="parameters" element="tns:ruby"/>
40 </message>
42 <message name="ping_out">
43 <part name="parameters" type="xsd:string"/>
44 </message>
46 <message name="ping_id_in">
47 <part name="parameters" element="tns:myid"/>
48 </message>
50 <message name="ping_id_out">
51 <part name="parameters" element="tns:myid"/>
52 </message>
54 <message name="versionmsg">
55 <part name="myversion" element="tns:myversion"/>
56 </message>
58 <portType name="ping_port_type">
59 <operation name="ping">
60 <input message="tns:ping_in"/>
61 <output message="tns:ping_out"/>
62 </operation>
64 <operation name="ping_id">
65 <input message="tns:ping_id_in"/>
66 <output message="tns:ping_id_out"/>
67 </operation>
69 <operation name="echo_version">
70 <input message="tns:versionmsg"/>
71 <output message="tns:versionmsg"/>
72 </operation>
73 </portType>
75 <binding name="ping_binding" type="tns:ping_port_type">
76 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
77 <operation name="ping">
78 <soap:operation soapAction="urn:example.com:simpletype:ping" style="document"/>
79 <input><soap:body use="literal"/></input>
80 <output><soap:body use="literal"/></output>
81 </operation>
83 <operation name="ping_id">
84 <soap:operation soapAction="urn:example.com:simpletype:ping_id" style="document"/>
85 <input><soap:body use="literal"/></input>
86 <output><soap:body use="literal"/></output>
87 </operation>
88 </binding>
90 <service name="ping_service">
91 <port name="ping_port" binding="tns:ping_binding">
92 <soap:address location="http://localhost:10080"/>
93 </port>
94 </service>
95 </definitions>