Bonjour je tente d'utliser un web service en php dont je n'ai pas le control
lors de la compilation j'ai le message d'Erreur suivant :
pourant dans l'app.config j'ai :Impossible de trouver un élément de point de terminaison par défaut qui fait référence au contrat « WSGloGoloc.LocationServicePortType » dans la section de configuration du client ServiceModel. Ceci peut être dû au fait que le fichier de configuration de votre application est introuvable ou que l’élément de point de terminaison correspondant à ce contrat est introuvable dans l’élément client.
Code XML : 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 <system.serviceModel> <bindings> <basicHttpBinding> <binding name="LocationServiceBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="None"> <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> <client> <endpoint address="http://localhost/glo/gloServeur.php?version=2.0" binding="basicHttpBinding" bindingConfiguration="LocationServiceBinding" contract="WSGloGoloc.LocationServicePortType " name="LocationServicePort" /> </client> </system.serviceModel>
le endpoint "WSGloGoloc.LocationServicePortType " est bien la
jai déja séussi a utiliser se webservce dans le passé masi je ne sais plus comment j'ai fait.
merci de votre aide.
Partager