Hi All,
Using an in-house developed webservice, I was able to retrieve the token, but when I try to execute the line in red below, I get this error:
OTDS username and password are required.
Here is the Service Setting Reference:
//Custom WS - OpenTextUpdateAttr
http://<servername>:8081/Update/services/UpdateAttr?wsdl
//OpenTextRCSAuthSrv
http://<servername>:8080/ot-authws/services/Authentication?wsdl
Here is a snippet of the code for the purpose of simplicity I put all the calls in one function:
OpenTextRCSAuthSrv.AuthenticationClient fRCSAuthService;
OpenTextUpdateAttr.UpdateAttrClient fUpdateService;
OpenTextUpdateAttr.OTAuthentication fUpdateAuthentication;
OpenTextRCSAuthSrv.OTAuthentication otAuthRCS = new OpenTextRCSAuthSrv.OTAuthentication();
fRCSAuthService = new OpenTextRCSAuthSrv.AuthenticationClient();
fUpdateService = new OpenTextUpdateAttr.UpdateAttrClient();
token = fRCSAuthService.Authenticate(ref otAuthRCS, "Admin", "livelink");
// Set up the authentication token in the SOAP Header for the WS
fUpdateAuthentication = new OpenTextUpdateAttr.OTAuthentication();
fUpdateAuthentication.AuthenticationToken = token;
int iUpdateID = 3580314; // Doc ID
fUpdateService.UpdateName(ref fUpdateAuthentication, iUpdateID, "My doc");
fUpdateAuthentication.AuthenticationToken = token;
Also, I have had to deploy this custom webservice onto a different instance of tomcat, as when I tried to deploy it to the main one, it failed to start. Does anyone know if it necessary for all services to run on the same tomcat?