mirror of
https://github.com/AdaCore/aws.git
synced 2026-02-12 12:29:46 -08:00
For document style binding a part is defiend as: <part name="somename" element="elt"/> And "elt" must only match element in the schema and not complexType or simpleType. Update some invalid WSDL in regression test. TN eng/toolchain/aws#108
57 lines
1.7 KiB
XML
57 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<wsdl:definitions name="GetCasService"
|
|
targetNamespace="http://simple.doc.net/sd"
|
|
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
|
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
|
|
<types>
|
|
<schema>
|
|
<xsd:element name="ExampleType" type="ExampleType"/>
|
|
<xsd:simpleType name="ExampleType">
|
|
<xsd:restriction base="xs:string">
|
|
<xsd:enumeration value="A-Example"/>
|
|
<xsd:enumeration value="B-EXAMPLE"/>
|
|
<xsd:enumeration value="C-example"/>
|
|
<xsd:enumeration value="NEW"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</schema>
|
|
</types>
|
|
|
|
<message name="myMethodRequest">
|
|
<part name="ex" element="ExampleType"/>
|
|
</message>
|
|
|
|
<message name="empty"/>
|
|
|
|
<portType name="PT">
|
|
<operation name="call">
|
|
<input message="myMethodRequest"/>
|
|
<output message="empty"/>
|
|
</operation>
|
|
</portType>
|
|
|
|
<binding name="EnumValBinding" type="EnumVal">
|
|
<soap:binding style="document"
|
|
transport="http://schemas.xmlsoap.org/soap/http" />
|
|
|
|
<operation name="call">
|
|
<soap:operation soapAction="http://me.here.net/call" />
|
|
<wsdl:input>
|
|
<soap:body use="literal" />
|
|
</wsdl:input>
|
|
<wsdl:output>
|
|
<soap:body use="literal" />
|
|
</wsdl:output>
|
|
</operation>
|
|
</binding>
|
|
|
|
<wsdl:service name="EnumValService">
|
|
<port name="EnumValPort" binding="EnumValBinding">
|
|
<soap:address location="http://localhost:1234" />
|
|
</port>
|
|
</wsdl:service>
|
|
|
|
</wsdl:definitions>
|