gourish.bhat Posted February 11, 2015 Posted February 11, 2015 Hi,Trying to create a Datasource resource on the jasper server thru ReST API.It is creating the file/Resource with PUT. However, its getting created as Type "Content Resource" not as "JDBC Datasource.In ResourceDescriptor object, used ResourceDescriptor.TYPE_DATASOURCE_JDBC at setWsType, setDataSourceType and setResourceType.Resource is getting created on the Jasper server as Type of "Content Resource" not as "JDBC Data source" Any help is appreciated.Thank you,Gourish
nthapa Posted March 10, 2015 Posted March 10, 2015 Can you give details on what is that you are passing to the server?
gary020307 Posted August 12, 2017 Posted August 12, 2017 Please!!!, I have a similar problem creating a resource in this case a jdbc with the url rest_v2/resources/datasources/nameJdbc and sending the json {"jdbcDataSource":{"driverClass":"driverClass","password":"password","username":"username","connectionUrl":"connectionUrl","timezone":"timezone"}} just create me a file here its xml: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><file><creationDate>2017-08-12T17:36:43</creationDate><label>data</label><permissionMask>1</permissionMask><updateDate>2017-08-12T17:36:43</updateDate><uri>/datasources/data</uri><version>0</version><type>json</type></file>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now