[rabbitmq-discuss] The maximum array length quota (16384) has been exceeded while reading XML data

kecke info at travo.se
Mon Jan 21 10:46:00 GMT 2013


Im using WCF with app.config and i get this error on the consumer that array
length need to be increased.
In normal WCF(not rabbitmq's servicemodel) I can just add
<ReaderQoutas maxArrayLength="12334444"> to <binding> in my app.config, but
this cant be done with rabbitmq? I get error that <ReaderQoutas&quot; is not
correct.
My app.config:
 &lt;system.serviceModel>

    
    <extensions>
      <bindingExtensions>
        <add
          name="rabbitMQBinding"
          type="RabbitMQ.ServiceModel.RabbitMQBindingSection,
RabbitMQ.ServiceModel, Version=1.0.110.0, Culture=neutral,
PublicKeyToken=null"/>
      </bindingExtensions>
    </extensions>


<client>
      
      <endpoint address="soap.amqp:///ResponseMessageQue"
                 binding="rabbitMQBinding"
                 bindingConfiguration="rabbitMQConfig"
                
contract="CiwisServicesResponseMessageServiceReference.ICiwisServicesResponseMessageService"
                 name="RabbitMQBinding_ICiwisServicesResponseMessageService"
                 />

    </client>

 <bindings>

      
      <rabbitMQBinding>

        <binding name="rabbitMQConfig"
                   hostname="localhost"
                   port="5672"
                   protocolversion="AMQP_0_9_1"
                   oneWay="true"
                   maxmessagesize="2147483647"                   
                  />
       
      </rabbitMQBinding>
</bindings>

 <services>


      <service
name="CAB.CABAS.UPDATE.SERVICES.Services.CabasUpdateSparePartListService"
behaviorConfiguration="CAB.CABAS.UPDATE.SERVICES.Services.CabasUpdateSparePartListServiceBehavior">
        <host>
          <baseAddresses>
            <add baseAddress = "soap.amqp:///" />
            <add
baseAddress="http://localhost:8632/CABAS/CabasUpdateSparePartListService" />
          </baseAddresses>
        </host>
        <endpoint
          address="UpdateSparePartListQue"
          binding="rabbitMQBinding"
          bindingConfiguration="rabbitMQConfig"
         
contract="CAB.CABAS.UPDATE.SERVICES.Services.ICabasUpdateSparePartListService"
          />
        <endpoint address="mex" binding="mexHttpBinding"
bindingConfiguration=""
        name="mexEndpoint"
contract="CAB.CABAS.UPDATE.SERVICES.Services.ICabasUpdateSparePartListService"
/>
      </service>
</services>

  <behaviors>
      <serviceBehaviors>

        <behavior
name="CAB.CABAS.UPDATE.SERVICES.Services.CabasUpdateSparePartListServiceBehavior">
          
          <serviceMetadata httpGetEnabled="False"/>
          
          <serviceDebug includeExceptionDetailInFaults="True"/>
          

          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
        </behavior>
  <behaviors>
      <serviceBehaviors>
 <system.serviceModel>




--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/The-maximum-array-length-quota-16384-has-been-exceeded-while-reading-XML-data-tp24603.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list