1
Vote

Conection error to SSL deployments

description

If server use SSL tool can not properly connect to server and throws exception: Activity Summary extension cannot connect to crm server. Make sure you connect to CRM with .....

comments

Billikin wrote Sep 11, 2014 at 9:07 AM

Maby at:
public static IOrganizationService GetSoapService()
You could use something similar to code below rather than declaling raw BasicHttpBinding implementation
        public OrganizationServiceProxy GetOrganizationProxy(OrganizationDetail organizationDetail, ClientCredentials clientCredentials)
        {
            _configuration.OrganizationUri = GetOrganizationServiceUri(organizationDetail);

            IServiceConfiguration<IOrganizationService> organizationServiceConfig = ServiceConfigurationFactory.CreateConfiguration<IOrganizationService>(_configuration.OrganizationUri);
            var organizationProxy = new OrganizationServiceProxy(organizationServiceConfig, clientCredentials);

            if (_configuration.IsEarlyBinding)
                organizationProxy.EnableProxyTypes();

            _configuration.OrganizationDetail = organizationDetail;

            return organizationProxy;
        }

wrote Sep 11, 2014 at 9:08 AM