endpointBehaviors.config 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <system.serviceModel>
  4. <behaviors>
  5. <endpointBehaviors>
  6. <behavior name="NewBehavior">
  7. <callbackDebug includeExceptionDetailInFaults="true" />
  8. <callbackTimeouts transactionTimeout="00:02:30" />
  9. <clientCredentials type="ClientCredentialType" supportInteractive="false">
  10. <clientCertificate findValue="findValue" storeLocation="LocalMachine"
  11. storeName="Root" x509FindType="FindByExtension" />
  12. <serviceCertificate>
  13. <defaultCertificate findValue="findValue" storeLocation="LocalMachine"
  14. storeName="Root" x509FindType="FindByExtension" />
  15. <scopedCertificates>
  16. <add targetUri="http://target.uri" findValue="findValue" storeLocation="LocalMachine"
  17. storeName="Root" x509FindType="FindByExtension" />
  18. </scopedCertificates>
  19. <authentication customCertificateValidatorType="CustomCertificateValidatorType"
  20. certificateValidationMode="None" revocationMode="Offline" trustedStoreLocation="LocalMachine" />
  21. </serviceCertificate>
  22. <windows allowNtlm="false" allowedImpersonationLevel="None" />
  23. <issuedToken cacheIssuedTokens="false" defaultKeyEntropyMode="ClientEntropy"
  24. issuedTokenRenewalThresholdPercentage="30" />
  25. <httpDigest impersonationLevel="None" />
  26. </clientCredentials>
  27. <clientVia viaUri="http://via.uri" />
  28. <dataContractSerializer ignoreExtensionDataObject="true" maxItemsInObjectGraph="32768" />
  29. <synchronousReceive />
  30. <transactedBatching maxBatchSize="16" />
  31. </behavior>
  32. </endpointBehaviors>
  33. </behaviors>
  34. </system.serviceModel>
  35. </configuration>