The message with Action '' cannot be processed at the receiver
Bonjour tout le monde
J'ai créé un service WCF que je souhaite exposer dans IIS.
Pour ça, j'ai créé un fichier Service.svc qui contient juste le code suivant:
Code:
<%@ ServiceHost Language="C#" Debug="true" Service="BlotterLight.Service.BlotterService" %>
BlotterLight.Service.BlotterService correspond à mon service WCF.
Je créé mon répertoire virtuel & co et quand j'appelle la page http://localhost/blotterlightwebservice/service.svc tout fonctionne nickel.
J'obtiens bien:
Code:
1 2 3 4
| You have created a service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe <a href="http://mwc45018.cib.net/BlotterLightwebService/Service.svc?wsdl" target="_blank">http://mwc45018.cib.net/BlotterLight...rvice.svc?wsdl</a> |
Ensuite, j'ai créé un répertoire virtuel sur mon serveur de recette, publié mon truc et quand j'appelle ma page, j'obtiens:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Body>
- <s:Fault>
<faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode>
<faultstring xml:lang="en-US">The message with Action '' cannot
be processed at the receiver, due to a ContractFilter
mismatch at the EndpointDispatcher.
This may be because of either a contract mismatch
(mismatched Actions between sender and receiver)
or a binding/security mismatch between the sender and
the receiver. Check that sender and receiver
have the same contract and the same binding
(including security requirements, e.g.
Message, Transport, None).</faultstring>
</s:Fault>
</s:Body>
</s:Envelope> |
J'ai commencé à écumer le web mais rien de concret pour le moment.
Des idées?