I have a WCF SOAP 1.1 Webservice with the configuration specified below.
A concurrent call to any method of this endpoint hangs until the other returns when called remotely (from another computer on the network).
I cannot replicate this when these methods are called locally (with a client located on the same machine).
I tried to increase the maxConcurrentCalls with no luck ... the service behavior seems to be different according to the client local/remote location. Any guess?
When looking at the ServiceModelEndpoint performance counters of a concurrent calls scenario, the results are interesting: remote "calls outstanding" reaches the limit of 2 calls ... whereas local calls of 20 concurrent threads goes up to 18 "calls outstanding"! The limitation of 2 "remote" calls seems to be "per process".
Thanks,
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.serviceModel>
<services>
<service behaviorConfiguration="MyCustomBehavior" name="CONTOSO.CONTOSOServerApi.IContosoServiceApiImplV1">
<endpoint address="" binding="customBinding" bindingConfiguration="WebBinding"
bindingNamespace="http://contoso.com" contract="CONTOSO.CONTOSOServerApiInterfaceV1.IContosoServiceApiV1" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MyCustomBehavior">
<serviceMetadata httpGetEnabled="true" httpGetUrl="http://localhost:8080/MyEndPointV1" />
<serviceDebug httpHelpPageEnabled="false" includeExceptionDetailInFaults="true" />
<serviceThrottling maxConcurrentSessions="10000" maxConcurrentCalls="1000"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="WebBinding">
<textMessageEncoding messageVersion="Soap11" maxReadPoolSize="2147483647" maxWritePoolSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</textMessageEncoding>
<httpsTransport />
</binding>
</customBinding>
</bindings>
</system.serviceModel>
</configuration>