gpt4 book ai didi

java - Cisco Webex API 异常

转载 作者:太空宇宙 更新时间:2023-11-04 13:36:44 25 4
gpt4 key购买 nike

我已成功使用其他几个 Webex API,但“LstrecordaccessDetailHistory XML 请求”不起作用。

我从 XML 响应中收到此消息:

unable to instantiate 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 .

有人经历过这个吗?

最佳答案

您的请求所依据的文档 is unfortunately out-of-date 。您必须使用不同的xsi:type:

The only supported xsi:type is the full path of

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.

关于java - Cisco Webex API 异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31620858/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com