Cisco Webex API例外

时间:2015-07-24 22:42:46

标签: java xml cisco webex

我已经成功使用了其他几个Webex API,但是" LstrecordaccessDetailHistory XML Request"不起作用。

我从XML响应中得到了这条消息:

  

无法实例化   com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory;   抛出java.lang.ClassNotFoundException:   com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory

这是我的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>";

此处the documentation from Cisco

以前有没有人经历过这个?

1 个答案:

答案 0 :(得分:0)

您在is unfortunately out-of-date上提出请求的文档。您必须使用其他xsi:type

  

唯一受支持的xsi:type

的完整路径
xsi:type="java:com.webex.service.binding.history.LstmeetingusageHistory"
     

的缩短路径
xsi:type="history.LstmeetingusageHistory"
     

[...]至于架构 - 你是对的,这是错误的   列出会议使用命令。我会让工程团队修复它   下一个版本。