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="str" type="s:string"/> 13 </s:complexType> 14 <s:element type="s0:Test" name="Test"/> 15 <s:element type="s:string" name="Ret"/> 16 </s:schema> 17 </types> 18 19 <message name="TestSoapIn"> 20 <part name="parameters" element="s0:Test"/> 21 </message> 22 <message name="TestSoapOut"> 23 <part name="parameters" element="s0:Ret"/> 24 </message> 25 <portType name="TestSoap"> 26 <operation name="Test"> 27 <input message="s0:TestSoapIn"/> 28 <output message="s0:TestSoapOut"/> 29 </operation> 30 </portType> 31 <binding name="TestSoap" type="s0:TestSoap"> 32 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> 33 <operation name="Test"> 34 <soap:operation soapAction="http:/Test/Test" style="document"/> 35 <input> 36 <soap:body use="literal"/> 37 </input> 38 <output> 39 <soap:body use="literal"/> 40 </output> 41 </operation> 42 </binding> 43 <service name="Test"> 44 <port name="TestSoapPort" binding="s0:TestSoap"> 45 <soap:address location="http://localhost/server.php"/> 46 </port> 47 </service> 48</definitions> 49