xref: /php-src/ext/soap/tests/bugs/bug79357.wsdl (revision a70fd538)
1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3  <wsdl:types>
4    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
5      <s:element name="Add">
6        <s:complexType>
7          <s:sequence>
8            <s:element minOccurs="1" maxOccurs="1" name="intA" type="s:int" />
9            <s:element minOccurs="1" maxOccurs="1" name="intB" type="s:int" />
10          </s:sequence>
11        </s:complexType>
12      </s:element>
13      <s:element name="AddResponse">
14        <s:complexType>
15          <s:sequence>
16            <s:element minOccurs="1" maxOccurs="1" name="AddResult" type="s:int" />
17          </s:sequence>
18        </s:complexType>
19      </s:element>
20    </s:schema>
21  </wsdl:types>
22  <wsdl:message name="AddSoapIn">
23    <wsdl:part name="parameters" element="tns:Add" />
24  </wsdl:message>
25  <wsdl:message name="AddSoapOut">
26    <wsdl:part name="parameters" element="tns:AddResponse" />
27  </wsdl:message>
28  <wsdl:portType name="CalculatorSoap">
29    <wsdl:operation name="Add">
30      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Adds two integers. This is a test WebService. ©DNE Online</wsdl:documentation>
31      <wsdl:input message="tns:AddSoapIn" />
32      <wsdl:output message="tns:AddSoapOut" />
33    </wsdl:operation>
34  </wsdl:portType>
35  <wsdl:binding name="CalculatorSoap" type="tns:CalculatorSoap">
36    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
37    <wsdl:operation name="Add">
38      <soap:operation soapAction="http://tempuri.org/Add" style="document" />
39      <wsdl:input>
40        <soap:body use="literal" />
41      </wsdl:input>
42      <wsdl:output>
43        <soap:body use="literal" />
44      </wsdl:output>
45    </wsdl:operation>
46  </wsdl:binding>
47  <wsdl:service name="Calculator">
48    <wsdl:port name="CalculatorSoap" binding="tns:CalculatorSoap">
49      <soap:address location="http://www.dneonline.com/calculator.asmx" />
50    </wsdl:port>
51  </wsdl:service>
52</wsdl:definitions>
53