2010-11-23 4 views
0

J'utilise WCFstrom lite pour trouver le problème avec la connexion webservice. Il est livré avec l'erreurWebservices client wcfstorm

« Le quota de taille maximale des messages pour les messages entrants (65536) a été dépassé. Pour augmenter le quota, utilisez la propriété MaxReceivedMessageSize sur la element.RSS liaison appropriée Flux »

Mais comme c'est la version allégée, je ne trouve aucune configuration sur wcfstrom.

Ma configuration Web ressemble à.

<system.serviceModel> 
<extensions> 
    <behaviorExtensions> 
    <!-- Declare that we have an extension called WSDL Extras--> 
    <add name="wsdlExtensions" type="WCFExtras.Wsdl.WsdlExtensionsConfig, WCFExtras, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> 
    </behaviorExtensions> 
</extensions> 
<services> 
       <service name="xxxxxxxxxxxxxxxxxx" behaviourConfiguration="xxxxxxxxxxxxxx"> 
        <!-- Service Endpoints --> 
        <endpoint address="" binding="wsHttpBinding" behaviorConfiguration="WcfExtras.EndpointBehavior" contract="xxxxxxxxxxxx"> 
          <!-- 
      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. 
     --> 
          <identity> 
           <dns value="localhost" /> 
          </identity> 
        </endpoint> 
    <endpoint address="mex" binding="mexHttpBinding" behaviorConfiguration="WcfExtras.EndpointBehavior" contract="IMetadataExchange" /> 
    </service> 
     </services> 
     <behaviors> 
    <endpointBehaviors> 
    <behavior name="WcfExtras.EndpointBehavior"> 
     <wsdlExtensions location="http://localhost:3893/xxxxxxxx.svc" singleFile="true" /> 
    </behavior> 
    </endpointBehaviors> 
    <serviceBehaviors> 
        <behavior name="xxxxxxx.xxxxxxxx"> 
          <!-- 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> 

Où puis-je ajouter le code suivant:

<bindings> 
     <basicHttpBinding> 
      <binding name="LoggedInUsersSoap" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"> 
       <security mode="None" /> 
      </binding> 

Répondre

2

J'ai trouvé la réponse, sélectionnez simplement le service dans le client WCF et modifier des points finaux puis vous pouvez modifier la propriété maxReceivedmessages