<?xml version="1.0"?>
<definitions name="CSP"
targetNamespace="urn:CSP"
xmlns:tns="urn:CSP"
xmlnssd="http://www.w3.org/2001/XMLSchema"
xmlns:typens="urn:CSP"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:CSP">
<xsd:complexType name="MyResults">
<xsd:all>
<xsd:element name="date" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<message name="getServerDate">
<part name="none" type="xsd:int"/>
</message>
<message name="getServerDateResponse">
<part name="value" type="typens:MyResults"/>
</message>
<portType name="CspPorts">
<operation name="getServerDate">
<input message="getServerDate"/>
<output message="getServerDateResponse"/>
</operation>
</portType>
<binding name="MyBinding" type="typens:CspPorts">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="getServerDate">
<soap:operation
soapAction="http://www.votresite.com/fichier.wsdl"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="MyWebService">
<documentation>Mon Service web</documentation>
<port name="CspPorts" binding="typens:MyBinding">
<soap:address location="http://votresite.com/server.php"/>
</port>
</service>
</definitions>
Partager