lzhaogoh Posted May 20, 2022 Share Posted May 20, 2022 Hi, I m trying to make a POST request to create Json DataSource in Jasper Server. The Content-Type is set to application/repository.customDataSource+xml already.But somehow I receive error 500 upon sending this request. May I know where I did wrong?<customDataSource> <serviceClass>com.jaspersoft.jasperserver.api.metadata.jasperreports.service.ReportDataAdapterService</serviceClass> <label>MYMY</label> <uri>/TestAPI</uri> <dataSourceName>MYMY</dataSourceName> <description>TestTest</description> <properties> <property> <key>language</key> <value>json</value> </property> <property> <key>fileName</key> <value>repo:/TestAPI/myData.json</value> </property> <property> <key>selectExpression</key> <value>data</value> </property></properties></customDataSource> Link to comment Share on other sites More sharing options...
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