Bonjour,
Lorsque j'ajoute une référence web dans Visual Studio qui pointe sur Web Service que j'ai développé, j'ai l'erreur suivante qui apparait :
Voici mon WSDL :Erreur 2 Custom tool error: Impossible d'importer WebService/Schéma. Impossible de trouver une définition pour http://www.societe.com/:societeBinding. Description du service manquante avec l'espace de noms http://www.societe.com/.
Nom du paramètre*: name
Est-ce que l'un d'entre vous aurait une idée du problème dans le WSDL ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80 <?xml version="1.0"?> <definitions name="societe" targetNamespace="fichier.wsdl" xmlns:tns="fichier.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:typens="http://www.societe.com/" 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/"> <message name="getDetailLotRequest"> <part name="login" type="xsd:string"/> <part name="password" type="xsd:string"/> <part name="referenceJob" type="xsd:string"/> </message> <message name="getDetailLotResponse"> <part name="codeRetour" type="xsd:string"/> <part name="libelleErreur" type="xsd:string"/> <part name="retour" type="xsd:string"/> </message> <message name="getLotsRequest"> <part name="login" type="xsd:string"/> <part name="password" type="xsd:string"/> <part name="codeClientsociete" type="xsd:string"/> </message> <message name="getLotsResponse"> <part name="codeRetour" type="xsd:string"/> <part name="libelleErreur" type="xsd:string"/> <part name="retour" type="xsd:string"/> </message> <portType name="societePorts"> <operation name="getDetailLot"> <input message="getDetailLotRequest"/> <output message="getDetailLotResponse"/> </operation> <operation name="getLots"> <input message="getLotsRequest"/> <output message="getLotsResponse"/> </operation> </portType> <binding name="societeBinding" type="typens:societePorts"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> <operation name="getDetailLot"> <soap:operation soapAction="getDetailLotAction"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> <operation name="getLots"> <soap:operation soapAction="getLotsAction"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="WebService"> <documentation>Web Services</documentation> <port name="societePorts" binding="typens:societeBinding"> <soap:address location="http://x.x.x.x/index.php"/> </port> </service> </definitions>
Eric.
Partager