1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/soap/wsdlDriver/document.wsdl
(no author) 15b7d43988 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 13:20:28 +00:00

54 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<definitions name="submit_service"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="urn:example.com:document"
targetNamespace="urn:example.com:document"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema targetNamespace="urn:example.com:document">
<xsd:element name="ruby">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="myversion" type="tns:myversion"/>
<xsd:element minOccurs="0" maxOccurs="1" name="date" type="xsd:dateTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="myversion">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="1.6"/>
<xsd:enumeration value="1.8"/>
<xsd:enumeration value="1.9"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
</types>
<message name="submit_msg">
<part name="parameters" element="tns:ruby"/>
</message>
<portType name="submit_port_type">
<operation name="submit">
<input message="tns:submit_msg"/>
<output message="tns:submit_msg"/>
</operation>
</portType>
<binding name="submit_binding" type="tns:submit_port_type">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="submit">
<soap:operation soapAction="urn:example.com:document#submit" style="document"/>
<input><soap:body use="literal"/></input>
<output><soap:body use="literal"/></output>
</operation>
</binding>
<service name="submit_service">
<port name="submit_port" binding="tns:submit_binding">
<soap:address location="http://localhost:10080"/>
</port>
</service>
</definitions>