Select 2.5 SDK

Discussions related to installation and setup of SoftPro products.
Post Reply
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Select 2.5 SDK

Post by roteague »

I've installed the 2.4 release. I notice that the sample program (ProFormApiSample) no longer compiles. It doesn't like this line:

Code: Select all

NetworkCredential credentials = new NetworkCredential("admin", "Passw0rd", SoftPro.Select.Client.Constants.SelectDomain);
The meta data for Constants shows:

Code: Select all

   public static class Constants
    {
        public static readonly Guid AuthenticationEndpointGuid;
        public static readonly Guid AuthorizationEndpointGuid;
        public static readonly Guid EventNotificationEndpointGuid;
        public static readonly Guid LicensingEndpointGuid;
        public static readonly Guid LockManagerEndpointGuid;
        public static readonly Guid ServerStatusEndpointGuid;
        public static readonly Guid SessionManagerEndpointGuid;
    }
The SDK Help file shows:

Code: Select all

NetworkCredential credential = new NetworkCredential(@"<username>", @"<password>", SoftPro.Select.Client.Constants.SelectDomain);
I think we need an updated help file to go along with the 2.4 release.
Robert
John Morris
Posts: 411
Joined: Thu Sep 11, 2008 11:35 am
Location: Raleigh, NC, USA
Contact:

Re: Select 2.5 SDK

Post by John Morris »

You are correct - this is an unexpected breaking change that was introduced in v2.4. The constant in question has been moved to:

SoftPro.ClientModel.Constants.ServerDomain located in the SoftPro.ClientModel assembly.
John Morris
Sr. Software Architect
SoftPro
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Select 2.5 SDK

Post by roteague »

Thanks John. I know it's hard to keep the SDK up with the latest changes. I've got it working now.
Robert
Post Reply