We have an interface between our web product and Content Server. We are running version 10.0 with CSDS.
Our API sequence and results are described below.
Step 1: Authenticate
LivelinkCore.LivelinkAuthentication.AuthenticateUser(string userName, string userPassword)
This call returns a Token.
Step 2: Obtain the node
LivelinkCore.LivelinkDocumentManagement.Node GetNode(ref LivelinkCore.LivelinkDocumentManagement.OTAuthentication OTAuthentication, int ID)
for "ref LivelinkCore.LivelinkDocumentManagement.OTAuthentication OTAuthentication", we pass the token obtained in Step 1.
Result in the les.services log file:
2018-01-17 14:04:47,5593 INFO [7] Content Web Services 10.0.9 File Version: 10.0.9.1829
2018-01-17 14:04:47,5593 INFO [7] OS Version: Microsoft Windows NT 6.2.9200.0
2018-01-17 14:04:47,5593 INFO [7] CLR Version: 4.0.30319.42000
2018-01-17 14:04:47,5593 INFO [7] Machine Name: LIVELINK10
2018-01-17 14:04:47,5593 INFO [7] User Domain: OURDOMAIN
2018-01-17 14:04:47,5593 INFO [7] User Name: service.account
2018-01-17 14:04:47,5593 INFO [7] Command Line: c:\windows\system32\inetsrv\w3wp.exe -ap "OpenText - ECM" -v "v4.0" -l "webengine4.dll" -a \\.\pipe\iisipm0d6ca095-2984-4327-824d-051c64a655d1 -h "C:\inetpub\temp\apppools\OpenText - ECM\OpenText - ECM.config" -w "" -m 0 -t 20
2018-01-17 14:04:47,5593 INFO [7] Culture: en-US
2018-01-17 14:04:47,5593 INFO [7] ---------------
2018-01-17 14:04:52,6531 TRACE [9] Using BasicRequestContext
2018-01-17 14:04:52,6531 TRACE [9] static BasicServiceContext(): fDefaultHost = localhost, fDefaultPort = 2099, fDefaultEncoding = UTF8
2018-01-17 14:04:52,6531 TRACE [9] BasicServiceContext(): fServer = localhost, fServerPort = 2099, fServerEncoding = UTF8
2018-01-17 14:04:52,6531 TRACE [9] Service()
2018-01-17 14:04:52,6531 TRACE [9] IServiceContext = BasicServiceContext[fServer=localhost,fServerPort=2099,fServerEncoding=UTF8]
2018-01-17 14:04:52,6531 TRACE [9] IRequestContext = BasicRequestContext[fClientIPAddress=192.168.137.176,fServiceToken=,]
2018-01-17 14:04:53,6061 TRACE [9] begin: Authentication.AuthenticateUser(service.account,<password>)
2018-01-17 14:04:54,1530 TRACE [9] end: Authentication.AuthenticateUser()
2018-01-17 14:04:54,7623 TRACE [9] BasicServiceContext(): fServer = localhost, fServerPort = 2099, fServerEncoding = UTF8
2018-01-17 14:04:54,7623 TRACE [9] Service()
2018-01-17 14:04:54,7623 TRACE [9] IServiceContext = BasicServiceContext[fServer=localhost,fServerPort=2099,fServerEncoding=UTF8]
2018-01-17 14:04:54,7623 TRACE [9] IRequestContext = BasicRequestContext[fClientIPAddress=192.168.137.176,fServiceToken=,]
2018-01-17 14:04:56,4811 TRACE [9] IRequestContext.ServiceToken = v8%2BRewkUz6HhaRyHMiu%2BY%2Flh4cn1rTYBRhh3W7u2JlENRlj%2FE2Ae1ZOjvl5uzRpm
2018-01-17 14:04:56,4811 TRACE [9] begin: DocumentManagement.GetNode(79441)
2018-01-17 14:04:56,6374 TRACE [9] ThrowLivelinkException( -2147482645,The parameter is incorrect.,,,urn:DocMan.service.livelink.opentext.com)
2018-01-17 14:04:56,6374 WARN [9] Livelink error occurred
2018-01-17 14:04:56,6374 WARN [9] Status: -2147482645
2018-01-17 14:04:56,6374 WARN [9] Error Code: The parameter is incorrect.
2018-01-17 14:04:56,6374 WARN [9] Error Message: The parameter is incorrect.
2018-01-17 14:04:56,6374 WARN [9] ApiError:
2018-01-17 14:04:56,6686 TRACE [9] IRequestContext.ServiceToken =
----------------------------
Can anyone out there help us to find out what is causing this issue? Is there another log we could look at? Is there any documentation on the status and error codes for this API?
Please advise - thank you!
Janice from WorkDynamics