Web Services Description Language : langage de description de services Web.
Décrire l'interface proposée par un service Web.
WSDL décrit pour chaque opération que le client peut appeler.
Un exemple de description WSDL est :
<<strong>definitions </strong>xmlns:xsd=<span class="codeString">"https://www.w3.org/2000/10/XMLSchema"</span>
xmlns:soap=<span class="codeString">"https://schemas.xmlsoap.org/wsdl/soap/"</span>><br> <br>
<<strong>types</strong>><br>
<xsd:schema><br>
<xsd:element name=<span class="codeString">"Action"</span>><br>
<xsd:sequence><br>
<xsd:element name=<span class="codeString">"nomEntreprise"</span> type=<span class="codeString">"xsd:string"</span> /><br>
<xsd:element name=<span class="codeString">"cours"</span> type=<span class="codeString">"xsd:float"</span>
/><br>
</xsd:sequence> <br>
</xsd:element> <br>
</xsd:schema> <br>
</<strong>types</strong>><br> <br>
<<strong>message name</strong>=<span class="codeString">"getCoursInput"</span>><br>
<<strong>part name</strong>=<span class="codeString">"nomEntreprise"</span> <strong>type</strong>=<span class="codeString">"xsd:string"</span> /><br>
</<strong>message</strong>><br> <br>
<<strong>message name</strong>=<span class="codeString">"getCoursOutput"</span>><br>
<<strong>part name</strong>=<span class="codeString">"coursAction"</span> <strong>type</strong>=<span class="codeString">"xsd:float"</span> /><br>
</<strong>message</strong>><br> <br>
<<strong>portType name</strong>=<span class="codeString">"BoursePortType"</span>><br>
<<strong>operation name</strong>=<span class="codeString">"getCours"</span>><br>
<<strong>input message</strong>=<span class="codeString">"getCoursInput"</span> /> <br>
<<strong>output message</strong>=<span class="codeString">"getCoursOutput"</span> /> <br>
</<strong>operation</strong>><br>
</<strong>portType</strong>> <br> <br>
<<strong>binding name</strong>=<span class="codeString">"BourseSoapBinding"</span> <strong>type</strong>=<span class="codeString">"BoursePortType"</span>><br>
<soap:<strong>binding style</strong>=<span class="codeString">"rpc"</span> <strong>transport</strong>=<span class="codeString">"https://schemas.xmlsoap.org/soap/http"
</span>/> <br>
<<strong>operation name</strong>=<span class="codeString">"getCours"</span>><br>
<soap:<strong>operation soapAction</strong>=<span class="codeString">"urn:Bourse"</span> /><br>
<<strong>input</strong>><br>
<soap:<strong>body use</strong>=<span class="codeString">"encoded"</span> <strong>encodingStyle</strong>=<span class="codeString">"https://..."</span> /><br>
</<strong>input</strong>>
<br>
<<strong>output</strong>><br>
<soap:<strong>body use</strong>=<span class="codeString">"encoded"</span> <strong>encodingStyle</strong>=<span class="codeString">"https://..."</span> /><br>
</<strong>output</strong>>
<br>
</<strong>operation</strong>><br>
</soap:<strong>binding</strong>> <br>
</<strong>binding</strong>><br> <br>
<<strong>service name</strong>=<span class="codeString">"Bourse"</span>><br>
<<strong>port name</strong>=<span class="codeString">"BoursePortType"</span> <strong>binding</strong>=<span class="codeString">"BourseSoapBinding"</span>><br>
<soap:<strong>address location</strong>=<span class="codeString">"https://www.javarome.org/Bourse"</span>
/><br>
</<strong>port</strong>><br>
</<strong>service</strong>><br> <br>
</<strong>definitions</strong>>