- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想对 CUCM DB 进行 SQL 查询。我使用 Maven jaxb2 插件从 WSDL 生成 Java 类,但 Cisco AXL 文档建议使用 wsdl2java。我有很多带有 Req/Res 结尾的 Java 类(据我所知,请求和响应)。这是我的代码:
public class CUCMDatabaseConnector extends WebServiceGatewaySupport{
private String SOAP_ACTION = "CUCM:DB ver=10.5";
public void updateData(){
String END_USERS_REQUEST = REQUEST,
AXLurl = "https://" + properties.getCurrentCUCM_IP() + ":8443/axl/";
ExecuteSQLQueryReq sqlRequest = new ExecuteSQLQueryReq();
sqlRequest.setSql(END_USERS_REQUEST);
WebServiceTemplate template = getWebServiceTemplate();
template.setMessageSender(NullHostnameVerifier.getMessageSender());
ExecuteSQLQueryRes sqlResponse = (ExecuteSQLQueryRes) template
.marshalSendAndReceive(
AXLurl,
sqlRequest,
new WebServiceMessageCallback() {
@Override
public void doWithMessage(WebServiceMessage message) throws IOException, TransformerException {
TransportContext context = TransportContextHolder.getTransportContext();
HttpUrlConnection connection = (HttpUrlConnection) context.getConnection();
//adding required headers
connection.addRequestHeader( "SOAPAction", SOAP_ACTION);
connection.addRequestHeader("Authorization", autenString);
}
}
});
}
}
}
org.springframework.ws.soap.client.SoapFaultClientException: The endpoint reference (EPR) for the Operation not found is https://IP:8443/axl/services/AXLAPIService and the WSA Action = CUCM:DB ver=10.5 executeSQLQueryReq
URI [src/main/resources/AXLAPI.wsdl] does not provide the scheme part.
, 并且它看起来像是来自 xsd 模式的插件构建类,而不是 wsdl。但是这个 wsdl 是从 CUCM 下载的原始文件。有什么问题?
最佳答案
找到 this developer.cisco.com 上的链接。此操作指南建议使用 AXLPort,一种用于向 CUCM 发出 SOAP 请求的包装器。
在我看来,CUCM AXL SOAP 接口(interface)不是开始使用 Spring WS 的最佳选择
关于spring - CUCM AXL API 错误 SoapAction,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33515143/
我想对 CUCM DB 进行 SQL 查询。我使用 Maven jaxb2 插件从 WSDL 生成 Java 类,但 Cisco AXL 文档建议使用 wsdl2java。我有很多带有 Req/Res
我写了这个请求: client.updateLdapAuthentication(**{'authenticateEndUsers': authenticateEndUsers, 'distingui
AXL 12.5 , Apache CXF 3.3.6 , OpenJDK 14 , Spring Boot 2.3.0 ,执行SQL查询 String sqlStmt = "SELECT name
我正在尝试这段代码并且它工作正常: phone_list = resp['return'].phone for phone in phone_list: x = (phone.name)
我有以下 SQL 查询来使用 Cisco CallManager AXL SQL 工具包检索用户 ID 及其电话号码的列表: sql query="select d.name as deviceNam
我正在尝试做的是使用 Cisco 的 AXL API 从 CUCM 获取目录号码。这是相关代码: private void getNumber(){ AXLAPIService axlServ
我有一个带有两个线程的正在运行的 JVM。是否可以使用 ps -axl 在我的 Linux 操作系统上看到这些正在运行的线程?我试图找出操作系统赋予我的线程的优先级。关于其他问题的更多信息 here
我正在使用cisco CUCM AXL API 和 C#, 我想更改描述的电话。我的代码没有问题,但设备电话仍然是最近的描述,当我访问Cisco管理时,我找到新的描述,但在设备上。 知道为什么吗? 这
我正在使用cisco CUCM AXL API 和 C#, 我想更改描述的电话。我的代码没有问题,但设备电话仍然是最近的描述,当我访问Cisco管理时,我找到新的描述,但在设备上。 知道为什么吗? 这
Eclipse 新手 - AXL - Java 我正在慢慢地学习上述内容。 使用 JavaSE 1.8 和 eclipse 4.13.0 与运行 v 10.5 的实验室调用管理器进行交互,通过跟踪和修
全部, 感谢您抽出宝贵时间查看此问题。感谢任何帮助,因为我是初学者。 我正在尝试使用 Node.js 将 SOAP/AXL 调用转移到 v11.5 Cisco Callmanager。我从这个人的博客
我是一名优秀的程序员,十分优秀!