我正在尝试编写一个使用 .NET 中的 UMLS UTS Web 服务的小型测试应用程序但是 UMLSKS 服务中的所有方法,例如 findCUIByNormWord、findCUIByNormString 似乎都返回 null。我已检查 CAS 身份验证服务是否返回了正确的代理票证。
CASService.AuthorizationPortTypeClient CasClient = new AuthorizationPortTypeClient();
UMLSKS.UMLSKSServicePortTypeClient UmlsKsClient = new UMLSKSServicePortTypeClient();
string ticket = CasClient.getProxyGrantTicket("<my user name>", "<my password>");
string proxyTicket = CasClient.getProxyTicket(ticket, "http://umlsks.nlm.nih.gov");
string umlsVersion = UmlsKsClient.getCurrentUMLSVersion(new CurrentUMLSRequest() { casTicket = proxyTicket });
ConceptIdGroup cidG = UmlsKsClient.findCUIByNormWord(new ConceptIdNormWordRequest() { casTicket = proxyTicket, release = umlsVersion, searchString = query });
谁能指出我哪里出错了?