bonjour à tous.
je passe direct au sujet sans tergiverser, le titre est assez explicite je pense :
voila mon app.conf, depuis mon client si je vais chercher l'adresse en http j'arrive à trouver mon service, si je fourni celle en tcp il me sort ceci :
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 <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="ConfService"> <serviceMetadata httpGetEnabled="false"/> </behavior> </serviceBehaviors> </behaviors> <services> <service name="EFSolution.EFService" behaviorConfiguration="ConfService"> <endpoint address="httpFirst" binding="netTcpBinding" contract="EFSolution.IEFService" bindingConfiguration="tcpBind" /> <endpoint address="netFirst" binding="wsHttpBinding" contract="EFSolution.IEFService" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="net.tcp://localhost:1501/EFNabs" /> <add baseAddress="http://localhost:1500/EFNabs" /> </baseAddresses> </host> </service> </services> <bindings> <netTcpBinding> <binding name="tcpBind"> <security mode="None"> <transport clientCredentialType="None" protectionLevel="None" /> <message clientCredentialType="None"/> </security> </binding> </netTcpBinding> </bindings> </system.serviceModel>
qu'est ce que j'ai bien pu rater selon vous ?'net.tcp://localhost:1501/EFNabs'.
Il n'existait pas de point de terminaison à l'écoute sur net.tcp://localhost:1501/EFNabs pouvant accepter le message. Ceci est souvent dû à une adresse ou une action SOAP incorrecte. S'il est présent, voir l'élément InnerException pour plus d'informations.
Si le service est défini dans la solution actuelle, essayez de générer la solution et d'ajouter de nouveau la référence du service.
merci de votre aide les gars
Partager