Anyone have any guidance on getting the Enterprise Phone Configuration data from CallManager 12.5? I'm having a difficult time getting the following code snippet to work;
GetEnterprisePhoneConfigReq req = new GetEnterprisePhoneConfigReq();
try {
GetEnterprisePhoneConfigRes res = axlPort.getEnterprisePhoneConfig(req);
JAXBElement<XVendorConfig> enterprisePhoneConfig = res.getReturn().getEnterprisePhoneConfig().getVendorConfig();
//String name = enterprisePhoneConfig.getAny();
System.out.println(enterprisePhoneConfig.getName().getNamespaceURI());
} catch (Exception e) {
System.out.println(e);
}
I'm not getting any errors, I'm just not getting any data, or I'm not accessing it correctly. I am unfamiliar with the JAXBElement<XVendorConfig> pattern.
Any hint in the right direction would be greatly appreciated!