Actualmente tengo un servicio WCF con enlaces webHttp, estoy intentando aumentar el tamaño máximo que se puede ingresar al servicio anulando la configuración predeterminada en config, he intentado hacer algo comoConfiguración del mensaje máximo y el tamaño del búfer para WCF webhttp
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding name="webHttp" >
<security mode="Transport">
<transport clientCredentialType =
"None"
proxyCredentialType="None"
realm="string" />
</security>
</binding>
</webHttpBinding>
</bindings>
<services>
<service name="PrimeStreamInfoServices.Service1" behaviorConfiguration="PrimeStreamInfoServices.Service1Behavior">
<!-- Service Endpoints -->
<endpoint address="" binding="webHttpBinding" contract="PrimeStreamInfoServices.IService1">
<!--
Upon deployment, the following identity element should be removed or replaced to reflect the
identity under which the deployed service runs. If removed, WCF will infer an appropriate identity
automatically.
-->
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="PrimeStreamInfoServices.Service1Behavior">
<!-- 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="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<diagnostics>
y el establecimiento de varias otras propiedades relacionadas con el tamaño del mensaje, pero ninguno parece estar funcionando, se puede incluso cambiar el tamaño de m ensaje de una vinculación webHttp? ¿Alguna sugerencia? ¡Gracias!
¿Podría publicar la parte correspondiente de su archivo de configuración? –
acaba de editar, compruébalo – Daniel