Retour | Home | Contact |
---|
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 :
<definitions xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema>
<xsd:element name="Action">
<xsd:sequence>
<xsd:element
name="nomEntreprise" type="xsd:string"
/>
<xsd:element
name="cours" type="xsd:float"
/>
</xsd:sequence>
</xsd:element>
</xsd:schema>
</types>
<message name="getCoursInput">
<part name="nomEntreprise"
type="xsd:string"
/>
</message>
<message name="getCoursOutput">
<part name="coursAction"
type="xsd:float"
/>
</message>
<portType name="BoursePortType">
<operation name="getCours">
<input message="getCoursInput"
/>
<output message="getCoursOutput"
/>
</operation>
</portType>
<binding name="BourseSoapBinding"
type="BoursePortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"
/>
<operation name="getCours">
<soap:operation soapAction="urn:Bourse"
/>
<input>
<soap:body
use="encoded" encodingStyle="http://..."
/>
</input>
<output>
<soap:body
use="encoded" encodingStyle="http://..."
/>
</output>
</operation>
</soap:binding>
</binding>
<service name="Bourse">
<port name="BoursePortType"
binding="BourseSoapBinding">
<soap:address location="http://www.javarome.org/Bourse"
/>
</port>
</service>
</definitions>
Retour | Home | Contact |
---|