problème avec Mtom encoding
Bonjour,
je suis face a un problème dont je ne trouve pas de solutions !
j'ai crée un service WCF et un client pour consommer ce service, dans le fichier de configuration du client j'ai utilisé basicHttpBinding et l'encodage Mtom pour envoyer des image de grande taille voici mon binding (qui est le même pour le client et le service) :
Code:
1 2 3 4 5 6 7 8
|
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IService1" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom">
<readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" />
</binding>
</basicHttpBinding>
</bindings> |
j'ai eu l'erreur suivante :
Citation:
Content Type multipart/related;
type="application/xop+xml";start="<http://tempuri.org/0>";boundary="uuiid:3caeb5dc-3248-4ef1-aabc-b032dadccf46+id=3";start-info="text/xml" was not supported by service
http://localhost:51908/service1.svc. The client and service bindings may be mismatched.
sachant que j'ai le même binding au niveau du service !
ca marche uniquement lorsque je mets l'encodage text !
voila je ne vois pas dutout comment faire pour y remédier, merci pour votre aide.