我正在使用WSO2 API Manager 3.1.0。我想使用SOAP API创建用户和角色。我正在使用SOAP UI将SOAP API请求发送到Remoteuserstoremanagerservice。我的请求如下所示。
<script>
window.onload = WinLoad;
function WinLoad() {
document.getElementById("frontal").addEventListener("mouseover", changeImage);
function changeImage() {
document.getElementById("responsive_image").src = "images/sagittal.gif";
}
}
</script>
对于此请求,我得到的答复是。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org" xmlns:xsd="http://dao.service.ws.um.carbon.wso2.org/xsd">
<soapenv:Header/>
<soapenv:Body>
<ser:addRole>
<!--Optional:-->
<ser:roleName>role6</ser:roleName>
<!--Zero or more repetitions:-->
<ser:userList>cuser1</ser:userList>
<!--Zero or more repetitions:-->
<ser:permissions>
<!--Optional:-->
<xsd:action>ui.execute</xsd:action>
<!--Optional:-->
<xsd:resourceId>/permission/admin/manage/identity</xsd:resourceId>
</ser:permissions>
</ser:addRole>
</soapenv:Body>
</soapenv:Envelope>
这是什么问题?我遵循了这份文档https://is.docs.wso2.com/en/latest/develop/managing-users-and-roles-with-apis/。