在.NET中访问UMLS UTS Web服务时出现问题

时间:2011-01-03 04:21:16

标签: .net ontology medical

我正在尝试编写一个在.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 }); 

有谁可以指出我哪里出错?

1 个答案:

答案 0 :(得分:1)

咄!机票按每次通话发出。一切都很好。