1<?xml version="1.0" encoding="UTF-8"?> 2<definitions 3 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 4 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 5 xmlns:s="http://www.w3.org/2001/XMLSchema" 6 xmlns:s0="http://test.pl" 7 targetNamespace="http://test.pl" 8 xmlns="http://schemas.xmlsoap.org/wsdl/"> 9 <types> 10 <s:schema elementFormDefault="qualified" targetNamespace="http://test.pl"> 11 <s:complexType name="Test"> 12 <s:attribute use="required" name="boolA" type="s:boolean"/> 13 <s:attribute use="required" name="boolB" type="s:boolean"/> 14 </s:complexType> 15 <s:element type="s0:Test" name="Test"/> 16 <s:element type="s:int" name="Ret"/> 17 </s:schema> 18 </types> 19 20 <message name="TestSoapIn"> 21 <part name="parameters" element="s0:Test"/> 22 </message> 23 <message name="TestSoapOut"> 24 <part name="parameters" element="s0:Ret"/> 25 </message> 26 <portType name="TestSoap"> 27 <operation name="Test"> 28 <input message="s0:TestSoapIn"/> 29 <output message="s0:TestSoapOut"/> 30 </operation> 31 </portType> 32 <binding name="TestSoap" type="s0:TestSoap"> 33 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> 34 <operation name="Test"> 35 <soap:operation soapAction="http:/Test/Test" style="document"/> 36 <input> 37 <soap:body use="literal"/> 38 </input> 39 <output> 40 <soap:body use="literal"/> 41 </output> 42 </operation> 43 </binding> 44 <service name="Test"> 45 <port name="TestSoapPort" binding="s0:TestSoap"> 46 <soap:address location="http://localhost/server.php"/> 47 </port> 48 </service> 49</definitions> 50