Re: [Dev] how to add new tenant in java code

2015-06-11 Thread Danushka Fernando
eed. > > Please advice the most simple way to do it. > > > > Thank you! > > Bill > > > > *From:* Aruna Karunarathna [mailto:ar...@wso2.com] > *Sent:* Wednesday, June 10, 2015 8:30 PM > *To:* Danushka Fernando > *Cc:* Bill Liu; WSO2 Developers' List > *

Re: [Dev] how to add new tenant in java code

2015-06-11 Thread Bill Liu
Fernando Cc: Bill Liu; WSO2 Developers' List Subject: Re: [Dev] how to add new tenant in java code HI Bill, As Danushka mentioned you can use the tenant.mgt.stub I've added some sample code[1] I wrote for adding tenants. Make sure you set classpath to /server_home/repository/

Re: [Dev] how to add new tenant in java code

2015-06-10 Thread Aruna Karunarathna
sor.java:1004) >> at >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >> at >> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) >> at >> java.util.concurrent.ThreadPoolExecutor.runWo

Re: [Dev] how to add new tenant in java code

2015-06-10 Thread Danushka Fernando
ror above? > > 2. Please explain the steps how to use soap API to add new tenants. > Specific instructions will be highly appreciated. Sorry, I’m kind of new to > soap API. > > > > Thanks in advance! > > Best, > > Bill > > > > > > *From

Re: [Dev] how to add new tenant in java code

2015-06-10 Thread Bill Liu
Monday, June 08, 2015 6:34 PM To: Bill Liu Cc: WSO2 Developers' List Subject: Re: [Dev] how to add new tenant in java code HI Bill, You can use TenantMgtAdminService [1] soap APIs to add new tenants. [1] https://localhost:9443/services/TenantMgtAdminService?wsdl Thanks Isur

Re: [Dev] how to add new tenant in java code

2015-06-08 Thread Isura Karunaratne
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 wrote: > Greetings all: > > > > In URL https://docs.wso2.com/display/AS521/Managing+Tenants ,

[Dev] how to add new tenant in java code

2015-06-08 Thread Bill Liu
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