Skip to Content

SB1 Service Layer SSO GetServiceLayerConnectionContext() "General Failure"

Hi all, I am trying to make an SSO connection of an UIAPI Addon with the ServiceLayer, using the following command line:

string serviceLayerAddress = "https://172.16.98.190:50000/b1s/v1";
string sConnectionContext = null;

//Step 1: Get a session cookie from service layer
try
{
sConnectionContext = SBO_Application.Company.GetServiceLayerConnectionContext(serviceLayerAddress);
}
catch (System.Exception ex)
{
SBO_Application.MessageBox(ex.ToString(), 1, "Err");
}

i get the message "General Failure".

will something be missing? or should I have some special configuration on the server?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers