簡體   English   中英

WSO2 SOAP 添加新租戶

[英]WSO2 SOAP add new tenant

我在 WSO2 IS 5.9.0 中使用services/TenantMgtAdminService.TenantMgtAdminServiceHttpsSoap12Endpoint/端點,我可以使用addTenant方法成功創建租戶。 如果我從<xsd:tenantId>1</xsd:tenantId>中的信封發送特定 id,則返回 id 的含義是什么

我的回復

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
   <soapenv:Body>
      <ns:addTenantResponse xmlns:ns="http://services.mgt.tenant.carbon.wso2.org">
         <ns:return>9ab460b9-1176-4d97-ad84-e6fbbd31a1fb</ns:return>
      </ns:addTenantResponse>
   </soapenv:Body>
</soapenv:Envelope>

首先,我們不能在創建租戶時設置tenantId。 請求中傳入的tenantId將被忽略,根據內部實現創建一個tenant id。

addTenant方法返回的 id 就是 UID。

<ns:return>9ab460b9-1176-4d97-ad84-e6fbbd31a1fb</ns:return>

這沒有任何功能用例。 它用於獲取管理控制台的租戶主題。

如果要獲取新創建的租戶的 id,可以使用getTenant SOAP 方法。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM