justaprogrammer/PowerShellWCF — pull request #1 by peterschen (2014-07-11 06:23:52+00:00)
Title: Fixed problem where metadata exeeds MaxReceivedMessageSize of WsHttpBind...

When the metadata provided by the WCF service exeeds the default for MaxReceivedMessageSize the GetMetadata() method fails and the proxy can't be constructed. To fix this problem the MetadataExchangeClient is constructed with a WsHttpBinding binding to manually set the MaxReceivedMessageSize.