Thank you.
I was not able to make it work by changing the config the way you said.
Maybe it will help if I post it here:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="sTickets.Web.TicketServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
<!-- <dataContractSerializer maxItemsInObjectGraph="500000" />
http://forums.silverlight.net/forums/t/21797.aspx -->
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="sTickets.Web.TicketServiceBehavior"
name="sTickets.Web.TicketService">
<endpoint address="" binding="basicHttpBinding"
contract="sTickets.Web.ITicketService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding"
contract="IMetadataExchange" />
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="SilverlightBinding" closeTimeout="01:00:00"
openTimeout="01:00:00" maxBufferPoolSize="524288"
maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"
receiveTimeout="01:00:00" sendTimeout="01:00:00">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="None" />
</security>
<readerQuotas maxArrayLength="2147483647"
maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"
maxStringContentLength="2147483647" maxDepth="2147483647" />
</binding>
</basicHttpBinding>
</bindings>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true">
<!--<baseAddressPrefixFilters>
<add prefix="
http://t.snee.us"/>
</baseAddressPrefixFilters>-->
</serviceHostingEnvironment>
</system.serviceModel>
Also, I found in the client project an autogenerated file
configuration91.svcinfo, which contained this:
<property path="/readerQuotas/maxStringContentLength"
isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
I change the 0 to 2147483647, but it still fails.