HI Bill, You can use TenantMgtAdminService [1] soap APIs to add new tenants.
[1] https://localhost:9443/services/TenantMgtAdminService?wsdl Thanks Isura On Tue, Jun 9, 2015 at 5:13 AM, Bill Liu <[email protected]> wrote: > Greetings all: > > > > In URL https://docs.wso2.com/display/AS521/Managing+Tenants , there is an > instruction how to add new tenant in management console. > > > > But I want to know how to add new tenant in java code, after starting > application server. > > > > The point here is that I want to write a front end page with a servlet, > which adding new tenant from a form in JSP file. The servlet is written in > Java. So is there any sample code for adding new tenant in Java? > > > > Thanks in advance! > > Bill > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Isura Dilhara Karunaratne Senior Software Engineer Mob +94 772 254 810
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
