Hi,
We are in the process of upgrading to CS10. I have installed the web services using the guide provided here (https://knowledge.opentext.com/knowledge/cs.dll?func=ll&objId=18047148&objAction=browse&viewType=1) and all appears fine, i.e. the svc pages display fine when browsing to them.
I then ran this simple application (modified slightly for this post) against the web services to test them out
// Authenticate the user
var authService = new AuthenticationClient();
var token = this.authService.AuthenticateUser(username, password);
docsAuthentication.AuthenticationToken = this.token;
// Get a node from the document management service
Node node = docManService.GetNodeByName(ref docsAuthentication, 100000, "MyFolderName");
The application fails on the line above with the rather unhelpful message of 'The parameter is incorrect'. This application used to work using LiveLink 9.7.1 so I am a little suprised it doesn' work.
Any advice on what may be causing this would be appreciated.
For those who are interested, this is the content of the stacktrace:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at LiveLinkWsLibrary.ContentServer.DocumentMangementServices.DocumentManagement.GetNodeByName(GetNodeByNameRequest request)
at LiveLinkWsLibrary.ContentServer.DocumentMangementServices.DocumentManagementClient.LiveLinkWsLibrary.ContentServer.DocumentMangementServices.DocumentManagement.GetNodeByName(GetNodeByNameRequest request) in C:\Code\xx\yy\LiveLinkWsLibrary\Service References\ContentServer.DocumentMangementServices\Reference.cs:line 9096
at LiveLinkWsLibrary.ContentServer.DocumentMangementServices.DocumentManagementClient.GetNodeByName(OTAuthentication& OTAuthentication, Int32 parentID, String name) in C:\Code\xx\yy\LiveLinkWsLibrary\Service References\ContentServer.DocumentMangementServices\Reference.cs:line 9104
at LiveLinkWsLibrary.LiveLink.FindFolder(Int32 parentId, String name) in C:\Code\xx\yy\LiveLinkWsLibrary\LiveLink.cs:line 132
at DCMS.CMS2.WebUI.Controllers.FileController.Index(Int32 id) in C:\Code\xx\yy\WebUI\Controllers\FileController.cs:line 82
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)