2016 SDK R3 Project ConfigAPIClient Login Error

windows account test/test exit

Milesston account test/test exit

all login error

public IConfigurationService CreateClientProxy(string address, LoginSettings loginSettings)

       if (ServerType == ServerTypeEnum.Corporate)

        {

            if (basic)

            {

                if (Serverport == 80)

                    hostName = ServerAddress;

                uriString = String.Format("[https://{0}/ManagementServer/ConfigurationApiService.svc](https://%7B0%7D/ManagementServer/ConfigurationApiService.svc)", hostName);

            }

            else

                uriString = String.Format("[http://{0}/ManagementServer/ConfigurationApiService.svc](http://%7B0%7D/ManagementServer/ConfigurationApiService.svc)", hostName);

        }

        else

        {

===============================================================================

            //uriString = String.Format("[http://{0}/Config](http://%7B0%7D/Config)", hostName);

            uriString = "[http://192.168.0.43:6050/Config](http://192.168.0.43:6050/Config)";

===============================================================================

                  my change code

        }

internal static System.ServiceModel.Channels.Binding GetBinding(bool IsBasic, bool isCorporate)

 if (isCorporate)

        {

            binding.Security.Mode = BasicHttpSecurityMode.Transport;                

            binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;

        }

        else

        {

            // NOT HTTPS

            //binding.Security.Mode = BasicHttpSecurityMode.Transport;

            binding.Security.Mode = BasicHttpSecurityMode.None;

            binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows;

        }

internal void Initialize()

        try

        {

            InitializeClientProxy();

=====================================================================ERROR

            \_translations = \_client.GetTranslations("en-US");

=====================================================================

            MethodInfo\[\] methods = \_client.GetMethodInfos();

ERROR REASION : Unable to build treeView: Unauthorized

please help me how authorzied ?? basic ?? token ??

What is the XProtect your are connecting to? (XProtect Corporate and XProtect Expert newer than 2014 has a Configuration API)

If you use A Config API sample from the MIP SDK unmodified, does the login succeed?

thank you..

unmodified failed !!

XProtect 2017 personal ,XProtect Essential

windows account try Conntect… WSHttpBinding (WSHttpBinding not exist) Failed

Mileston account try connecting …BasicHttpBinding (Unauthorized) Failed…

if not Xprotect 2017 personal not support?

only BasicHttpBind exsit…!!!

http://192.168.0.43:6050/Config?wsdl

+ <wsdl:service name=“ConfigurationService”>

+ <wsdl:port name=“BasicHttpBinding_IConfigurationService” binding=“tns:BasicHttpBinding_IConfigurationService”>

<soap:address location=“http://cxone-pc:6050/Config” />

SDK procject name ConfigAPIBatch Login error.. please ..

If the Config API Client sample works, you have XProtect Corporate or Expert. Please find out if you have a supported version.

If the Config API Batch sample should work you need to make sure you have created a user in the administrators role that fits, and that you are using the correct ServerAddress (perhaps you can try with ‘localhost’).

			client.ServerAddress = "10.10.48.22";
			client.Serverport = 0;
			client.BasicUser = true;
			client.Username = "a";
			client.Password = "a";

/

Using a browser in the server do you get a reply to -

http://localhost/managementserver/configurationapiservice.svc

?

Configuration API does not exist in XProtect Essential, XProtect Express, XProtect Professional or XProtect Enterprise..

Configuration API was introduced in XProtect Corporate 2014 and XProtect Expert 2014 and was enhanced in XProtect Corporate 2016R2 and XProtect Expert 2016R2.

thanks ..

i understarnd

XProtect Essential, XProtect Express, XProtect Professional or XProtect Enterprise

not support …