我正在使用服务端点TenantMgtAdminService.TenantMgtAdminServiceHttpsSoap12Endpoint/
使用wso2中的addTenant
方法是5.9.0
我有错误:
<soapenv:Text xml:lang="en-US">Error in adding claims to the user.</soapenv:Text>
以及其他情况下的错误:
<soapenv:Text xml:lang="en-US">Error in notifying tenant addition.</soapenv:Text>
这是我的soapenv:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://services.mgt.tenant.carbon.wso2.org" xmlns:xsd="http://beans.common.stratos.carbon.wso2.org/xsd">
<soap:Header/>
<soap:Body>
<ser:addTenant>
<!--Optional:-->
<ser:tenantInfoBean>
<!--Optional:-->
<xsd:active>true</xsd:active>
<!--Optional:-->
<xsd:admin>admin@abc.com</xsd:admin>
<!--Optional:-->
<xsd:adminPassword>admin</xsd:adminPassword>
<!--Optional:-->
<xsd:createdDate></xsd:createdDate>
<!--Optional:-->
<xsd:email>admin@abc.com</xsd:email>
<!--Optional:-->
<xsd:firstname>firstname</xsd:firstname>
<!--Optional:-->
<xsd:lastname>lastname</xsd:lastname>
<!--Optional:-->
<xsd:originatedService></xsd:originatedService>
<!--Optional:-->
<xsd:successKey></xsd:successKey>
<!--Optional:-->
<xsd:tenantDomain>mydomain.com</xsd:tenantDomain>
<!--Optional:-->
<xsd:tenantId>1</xsd:tenantId>
<!--Optional:-->
<xsd:usagePlan></xsd:usagePlan>
</ser:tenantInfoBean>
</ser:addTenant>
</soap:Body>
</soap:Envelope>