Discussions related to installation and setup of SoftPro products.
roteague
Posts: 292 Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii
Post
by roteague » Thu Sep 10, 2009 9:14 pm
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:
Post
by John Morris » Fri Sep 11, 2009 9:31 am
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
Post
by roteague » Fri Sep 11, 2009 1:08 pm
Thanks John. I know it's hard to keep the SDK up with the latest changes. I've got it working now.
Robert