简体   繁体   English

思科Webex API异常

[英]Cisco Webex API Exception

I have successfully consumed several other Webex APIs but the "LstrecordaccessDetailHistory XML Request" doesn't work. 我已经成功使用了其他几种Webex API,但是“ LstrecordaccessDetailHistory XML请求”不起作用。

I got this message from the XML response: 我从XML响应中得到了以下消息:

unable to instantiate com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory; 无法实例化com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory; java.lang.ClassNotFoundException: com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory java.lang.ClassNotFoundException:com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory

Here's my XML request body: 这是我的XML请求正文:

String strXML = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n";
        strXML += "<serv:message xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:serv=\"http://www.webex.com/schemas/2002/06/service\">\r\n";
        strXML += "<header>";
        strXML += "<securityContext>";
        strXML += "<password>password</password>";
        strXML += "<siteName>siteName</siteName>";
        strXML += "<email>email</email>";
        strXML += "</securityContext>";
        strXML += "</header>";


        strXML += "<body>";
        strXML += "<bodyContent xsi:type=\"java:com.webex.service.binding.history.lstrecordaccessDetailHistory\">";
        strXML += "<recondID>recondID</recondID>";
        strXML += "<timeZoneID>timeZoneID</timeZoneID>";
        strXML += "<listControl>";
        strXML += "<startFrom>1</startFrom>";
        strXML += "<maximumNum>500</maximumNum>";
        strXML += "<listMethod>OR</listMethod>";
        strXML += "</listControl>";
        strXML += "</bodyContent>";
        strXML += "</body>";
        strXML += "</serv:message>";

Here's the documentation from Cisco . 这是Cisco的文档

Has anyone gone through this before? 以前有没有人经历过这个?

The documentation you based your request on is unfortunately out-of-date . 遗憾的是,您基于请求的文档已过时 You have to use a different xsi:type : 您必须使用其他xsi:type

The only supported xsi:type is the full path of 唯一受支持的xsi:type是的完整路径

 xsi:type="java:com.webex.service.binding.history.LstmeetingusageHistory" 

or a shortened path of 或缩短路径

 xsi:type="history.LstmeetingusageHistory" 

[...] As for the schema - You are correct, it is wrong for the list meeting usage command. [...]至于模式-您是正确的,列表会议用法命令是错误的。 I'll have the engineering team fix it in the next release. 我将让工程团队在下一个版本中对其进行修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM