You can use ResourceAdminService to put a resource into the carbon registry. Please refer [1] for sample Admin Service Client for ResourceAdmin service
[1] https://github.com/wso2-dev/product-greg/blob/master/modules/integration/tests-common/admin-clients/src/main/java/org.wso2.greg.integration.common.clients/ResourceAdminServiceClient.java Thanks, Nuwanw On Fri, Oct 3, 2014 at 10:49 PM, Supun Sethunga <[email protected]> wrote: > Hi, > > What is the best way to put a file (i.e. text file) to the carbon registry > via a java client? Is there any article/sample-code I can refer to? > > Thanks, > Supun > > -- > *Supun Sethunga* > Software Engineer > WSO2, Inc. > lean | enterprise | middleware > Mobile : +94 716546324 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
