WSO2 BPS 3.5.0 和 Activiti REST API

WSO2 BPS 3.5.0 and Activiti REST API

我正在开发一个使用 WSO2 某些产品的项目,例如 API Manager、ESB 和 BPS。我无法解决的问题是,如何通过以下方式访问identity/groupsidentity/users BPS?.

我在我的笔记本电脑上下载、安装并 运行 BPS。输入 http://xxx.xxx.xxx.xxx:9445/carbon and load one of the samples files: CreditApprovalProcess.bar. After that I created some users and roles. I've tried with postman to hit these URLS from the docs:

而且它们都工作正常。然而,当我尝试访问这些服务时:

定义 here ,我得到了这个回复 {"errorMessage":"The server encountered an unexpected condition which prevented it from fulfilling the request","statusCode":500} 。我读过 BPS 3.5.0 集成了 Activiti 引擎,因此这些服务可用,但显然我做错了什么。我是 WSO2 的新手,我还需要学习很多东西,所以我很感激 suggestion/idea。提前致谢。

只有 Activiti BPMN 引擎集成到 WSO2 BPS 中,并且它使用基于 WSO2 Carbon Kernel 的用户管理。因此 /identity/* Rest APIs,将不会在 WSO2 BPS 引擎中工作。

如果要检索 user/group 信息,请使用 UserAdmin soap 服务。以下 link 将解释如何在 API Manager 产品中执行此操作,但 BPS 的说明也类似。

[1] - https://docs.wso2.com/display/AM160/Calling+Admin+Services+from+Apps