test.wsdl in soaspec-0.1.5 vs test.wsdl in soaspec-0.1.6
- old
+ new
@@ -1,116 +1,116 @@
-<wsdl:definitions
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
- xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:tns="http://Example.org"
- xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
- xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
- xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
- xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
- xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
- xmlns:wsa10="http://www.w3.org/2005/08/addressing"
- xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" targetNamespace="http://Example.org"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- targetNamespace="https://www.w3schools.com"
- xmlns="https://www.w3schools.com"
- elementFormDefault="qualified">
-
- <xs:element name="note">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="to" type="xs:string"/>
- <xs:element name="from" type="xs:string"/>
- <xs:element name="heading" type="xs:string"/>
- <xs:element name="body" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- </xs:schema>
- <s:schema xmlns:s="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
- <s:element name="GetWeather">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="CityName" type="s:string"/>
- <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string"/>
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetWeatherResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetWeatherResult" type="s:string"/>
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetCitiesByCountry">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string"/>
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetCitiesByCountryResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetCitiesByCountryResult" type="s:string"/>
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="string" nillable="true" type="s:string"/>
- </s:schema>
-
- </wsdl:types>
- <wsdl:message name="ICalculator_Add_InputMessage">
- <wsdl:part name="parameters" element="tns:Add" />
- </wsdl:message>
- <wsdl:message name="ICalculator_Add_OutputMessage">
- <wsdl:part name="parameters" element="tns:AddResponse" />
- </wsdl:message>
- <wsdl:message name="ICalculator_Subtract_InputMessage">
- <wsdl:part name="parameters" element="tns:Subtract" />
- </wsdl:message>
- <wsdl:message name="ICalculator_Subtract_OutputMessage">
- <wsdl:part name="parameters" element="tns:SubtractResponse" />
- </wsdl:message>
- <wsdl:portType name="ICalculator">
- <wsdl:operation name="Add">
- <wsdl:input wsaw:Action="http://Example.org/ICalculator/Add" message="tns:ICalculator_Add_InputMessage" />
- <wsdl:output wsaw:Action="http://Example.org/ICalculator/AddResponse" message="tns:ICalculator_Add_OutputMessage" />
- </wsdl:operation>
- <wsdl:operation name="Subtract">
- <wsdl:input wsaw:Action="http://Example.org/ICalculator/Subtract" message="tns:ICalculator_Subtract_InputMessage" />
- <wsdl:output wsaw:Action="http://Example.org/ICalculator/SubtractResponse" message="tns:ICalculator_Subtract_OutputMessage" />
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="DefaultBinding_ICalculator" type="tns:ICalculator">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="Add">
- <soap:operation soapAction="http://Example.org/ICalculator/Add" style="document" />
- <wsdl:input>
- <soap:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="Subtract">
- <soap:operation soapAction="http://Example.org/ICalculator/Subtract" style="document" />
- <wsdl:input>
- <soap:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="CalculatorService">
- <wsdl:port name="ICalculator" binding="tns:DefaultBinding_ICalculator">
- <soap:address location="http://Example.org/ICalculator" />
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
+<wsdl:definitions
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:tns="http://Example.org"
+ xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+ xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+ xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
+ xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+ xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+ xmlns:wsa10="http://www.w3.org/2005/08/addressing"
+ xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" targetNamespace="http://Example.org"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="https://www.w3schools.com"
+ xmlns="https://www.w3schools.com"
+ elementFormDefault="qualified">
+
+ <xs:element name="note">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="to" type="xs:string"/>
+ <xs:element name="from" type="xs:string"/>
+ <xs:element name="heading" type="xs:string"/>
+ <xs:element name="body" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ </xs:schema>
+ <s:schema xmlns:s="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
+ <s:element name="GetWeather">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="CityName" type="s:string"/>
+ <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="GetWeatherResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="GetWeatherResult" type="s:string"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="GetCitiesByCountry">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="GetCitiesByCountryResponse">
+ <s:complexType>
+ <s:sequence>
+ <s:element minOccurs="0" maxOccurs="1" name="GetCitiesByCountryResult" type="s:string"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="string" nillable="true" type="s:string"/>
+ </s:schema>
+
+ </wsdl:types>
+ <wsdl:message name="ICalculator_Add_InputMessage">
+ <wsdl:part name="parameters" element="tns:Add" />
+ </wsdl:message>
+ <wsdl:message name="ICalculator_Add_OutputMessage">
+ <wsdl:part name="parameters" element="tns:AddResponse" />
+ </wsdl:message>
+ <wsdl:message name="ICalculator_Subtract_InputMessage">
+ <wsdl:part name="parameters" element="tns:Subtract" />
+ </wsdl:message>
+ <wsdl:message name="ICalculator_Subtract_OutputMessage">
+ <wsdl:part name="parameters" element="tns:SubtractResponse" />
+ </wsdl:message>
+ <wsdl:portType name="ICalculator">
+ <wsdl:operation name="Add">
+ <wsdl:input wsaw:Action="http://Example.org/ICalculator/Add" message="tns:ICalculator_Add_InputMessage" />
+ <wsdl:output wsaw:Action="http://Example.org/ICalculator/AddResponse" message="tns:ICalculator_Add_OutputMessage" />
+ </wsdl:operation>
+ <wsdl:operation name="Subtract">
+ <wsdl:input wsaw:Action="http://Example.org/ICalculator/Subtract" message="tns:ICalculator_Subtract_InputMessage" />
+ <wsdl:output wsaw:Action="http://Example.org/ICalculator/SubtractResponse" message="tns:ICalculator_Subtract_OutputMessage" />
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="DefaultBinding_ICalculator" type="tns:ICalculator">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Add">
+ <soap:operation soapAction="http://Example.org/ICalculator/Add" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Subtract">
+ <soap:operation soapAction="http://Example.org/ICalculator/Subtract" style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="CalculatorService">
+ <wsdl:port name="ICalculator" binding="tns:DefaultBinding_ICalculator">
+ <soap:address location="http://Example.org/ICalculator" />
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>