好日子所有,WSO2 EMM MDM管理员休息webservces
我有添加REST服务问题的MDM管理员
我有一些麻烦与MDM-android- *我创建的服务和refrence在该permition.xml文件
创建于MDM管理员休息服务已sefinitin如下
@GET
@Path("{type}/{id}/logs")
public List<? extends Application> getDeviceLogs(
@PathParam("type") String type,
@PathParam("id") String id)
throws MDMAPIException {
List<Application> applications;
ApplicationManagementProviderService appManagerConnector;
DeviceIdentifier deviceIdentifier = new DeviceIdentifier();
try {
deviceIdentifier.setType(type);
deviceIdentifier.setId(id);
appManagerConnector = MDMAPIUtils.getAppManagementService();
applications = appManagerConnector.getApplicationListForDevice(deviceIdentifier);
} catch (ApplicationManagementException e) {
String msg = "Error occurred while fetching the apps of the device.";
log.error(msg, e);
throw new MDMAPIException(msg, e);
}
return applications;
}
}
其应用方法获取列表中只用路径的一个克隆nd函数名称已更改。
当我部署它。我的webapp返回一个错误状态代码。当我尝试调用函数
复制此,下载V2.0.1开放使用Netbeans,修改WSO2 MDM - Mobile Device Management Admin Services
复制并粘贴其余功能之一,Renanme功能部署和调用新的功能
哪有我解决这个问题?
你叫什么路径? – lakshman
{“actionMethod”:“GET”,“actionUrl”:“/ mdm-admin/operations/android/353007060012943/logs”,“actionPayload”:“null”} – user2955481
你使用什么分支?主人还是标签?因为主分支有很多正在进行的开发,所以这可能会改变。我会检查并通知你。对不起,发生了延迟。 – lakshman