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 http://mwc45018.cib.net/BlotterLight...rvice.svc?wsdl
Ensuite, je publie tout ça sur mon serveur de recette et là j'obtiens:
<faultstring xml:>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>
J'ai commencé à écumer le web mais rien de concret pour le moment.
Des idées?
A voir également:
The message with Action '' cannot be processed at the receiver
tfkrieker
Messages postés2Date d'inscriptionmercredi 12 juillet 2006StatutMembreDernière intervention16 janvier 2009 16 janv. 2009 à 09:57
La config WCF associée:
<system.serviceModel>
<serviceBehaviors>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true" />
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="true" />
<services>
<service behaviorConfiguration="BlotterLightWebService.ServiceBehavior"
name="BlotterLight.Service.BlotterService">
<!-- On utilise basicHttpBinding pour pouvoir appelé le web service depuis du 1.1 -->
<endpoint address="http://ws-rec.ixis-cib.net/blotterlightwebservice/service.svc" binding="basicHttpBinding" bindingConfiguration="config1"
contract="BlotterLight.ServiceInterface.IBlotterService">