webservice/html/afnic/WsEntreprises2.2-dlw.wsdl
2011-06-21 08:35:28 +00:00

140 lines
6.3 KiB
XML

<?xml version='1.0' encoding="UTF-8"?>
<wsdl:definitions name="entreprises"
targetNamespace="urn:entreprises"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlns="urn:entreprises"
xmlns:typens="urn:entreprises"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>
<wsdl:types>
<xsd:schema
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:entreprises">
<xsd:complexType name="EntrepElement">
<xsd:sequence>
<xsd:element name="id" type="xsd:int" nillable="true" />
<xsd:element name="Siret" type="xsd:string" nillable="true" />
<xsd:element name="SiretSiege" type="xsd:string" nillable="true" />
<xsd:element name="Siege" type="xsd:int" nillable="true" />
<xsd:element name="Actif" type="xsd:int" nillable="true" />
<xsd:element name="AutreId" type="xsd:string" nillable="true" />
<xsd:element name="Nom" type="xsd:string" nillable="true" />
<xsd:element name="Nom2" type="xsd:string" nillable="true" />
<xsd:element name="Sigle" type="xsd:string" nillable="true" />
<xsd:element name="Enseigne" type="xsd:string" nillable="true" />
<xsd:element name="Adresse" type="xsd:string" nillable="true" />
<xsd:element name="Adresse2" type="xsd:string" nillable="true" />
<xsd:element name="AdresseNum" type="xsd:int" nillable="true" />
<xsd:element name="AdresseBtq" type="xsd:string" nillable="true" />
<xsd:element name="AdresseVoie" type="xsd:string" nillable="true" />
<xsd:element name="AdresseRue" type="xsd:string" nillable="true" />
<xsd:element name="CP" type="xsd:int" nillable="true" />
<xsd:element name="Ville" type="xsd:string" nillable="true" />
<xsd:element name="Pays" type="xsd:string" nillable="true" />
<xsd:element name="Civilite" type="xsd:string" nillable="true" />
<xsd:element name="NbEtab" type="xsd:int" nillable="true" />
<xsd:element name="Tel" type="xsd:string" nillable="true" />
<xsd:element name="Fax" type="xsd:string" nillable="true" />
<xsd:element name="Web" type="xsd:string" nillable="true" />
<xsd:element name="Mail" type="xsd:string" nillable="true" />
<xsd:element name="FJ" type="xsd:int" nillable="true" />
<xsd:element name="FJ_lib" type="xsd:string" nillable="true" />
<xsd:element name="Siren" type="xsd:int" nillable="true" />
<xsd:element name="Nic" type="xsd:int" nillable="true" />
<xsd:element name="NafEnt" type="xsd:string" nillable="true" />
<xsd:element name="NafEntLib" type="xsd:string" nillable="true" />
<xsd:element name="Capital" type="xsd:int" nillable="true" />
<xsd:element name="CapitalDev" type="xsd:string" nillable="true" />
<xsd:element name="Capitsequenceib" type="xsd:string" nillable="true" />
<xsd:element name="DateCreaEt" type="xsd:int" nillable="true" />
<xsd:element name="DateCreaEn" type="xsd:int" nillable="true" />
<xsd:element name="DateClotEn" type="xsd:int" nillable="true" />
<xsd:element name="EffEnTr" type="xsd:string" nillable="true" />
<xsd:element name="EffEnTrLib" type="xsd:string" nillable="true" />
<xsd:element name="Effectif" type="xsd:string" nillable="true" />
<xsd:element name="Dept" type="xsd:string" nillable="true" />
<xsd:element name="codeCommune" type="xsd:int" nillable="true" />
<xsd:element name="TrancheCA" type="xsd:string" nillable="true" />
<xsd:element name="TrancheCALib" type="xsd:string" nillable="true" />
<xsd:element name="dir1Titre" type="xsd:string" nillable="true" />
<xsd:element name="dir1NomPrenom" type="xsd:string" nillable="true" />
<xsd:element name="dir1DateFct" type="xsd:string" nillable="true" />
<xsd:element name="SituationJuridique" type="xsd:string" nillable="true" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ErrorElement">
<xsd:sequence>
<xsd:element name="errnum" type="xsd:int" nillable="true" />
<xsd:element name="errmsg" type="xsd:string" nillable="true" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="EntrepResult">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="error" type="typens:ErrorElement" nillable="true" />
<xsd:element name="result" type="typens:EntrepElement" nillable="true" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="IdentiteRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="siret" type="xsd:string" nillable="true" />
<xsd:element name="id" type="xsd:int" nillable="true" />
<xsd:element name="dept" type="xsd:int" nillable="true" />
<xsd:element name="waldec" type="xsd:string" nillable="true" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="IdentiteRequest">
<wsdl:part name="parameters" element="typens:IdentiteRequest"/>
</wsdl:message>
<wsdl:message name="EntrepResult">
<wsdl:part name="parameters" element="typens:EntrepResult"/>
</wsdl:message>
<wsdl:portType name="entreprisesPortType">
<wsdl:operation name="getIdentite">
<wsdl:documentation>Retourne une fiche identite entreprise</wsdl:documentation>
<wsdl:input message="wsdlns:IdentiteRequest" name="getIdentiteRequest"/>
<wsdl:output message="wsdlns:EntrepResult" name="getIdentiteResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="entreprisesBinding" type="wsdlns:entreprisesPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getIdentite">
<soap:operation soapAction="getIdentite"/>
<wsdl:input name="getIdentiteRequest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="getIdentiteResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="entreprisesService">
<wsdl:port name="entreprisesPort" binding="wsdlns:entreprisesBinding">
<soap:address location="http://tville.scores-decisions.com/afnic/" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>