You show an exception on the client; what happens when you attach a debugger on the server (or turn on logging), see anything useful there?
Brian
2009-09-07 12:03:13
You show an exception on the client; what happens when you attach a debugger on the server (or turn on logging), see anything useful there?
This might be caused by a message too long. You should try to change the limits by editing your app.config like this:
<binding name="WebBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
Could it be that your server just takes a tad too long to put together the response? The default "sendTimeout" on the client is only 60 seconds - you could try to increase that to something higher:
<binding name="TweakedBinding" sendTimeout="120" />
What does your client config look like? What binding are you using? What security settings?
Marc
UPDATE:
could you add the service debug behavior to your service, so that you'd get more debug and error info on the client end when something goes wrong??
<behaviors>
<serviceBehavior>
<behavior name="YourBehaviorName">
<serviceDebug includeExceptionDetailInFaults="True" />
</behavior>
</serviceBehavior>
</behaviors>