128627 Posted November 4, 2016 Share Posted November 4, 2016 Hi,I'm trying to use the WebService plugin. I could set up the datasource without problems but when I edit the query I can't load the fields from the response. I can see that the request is going in my REST controller (spring) but the fields never show up for me to select. Trying the request in my web browser displays the json.I couldn't make a simpler test:public class TestJson { private final long testId; private final String testContent; public TestJson(long testId, String testContent) { this.testId = testId; this.testContent = testContent; } public long getTestId() { return testId; } public String getTestContent() { return testContent; }}[/code]@RequestMapping(value = "/test2", produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public TestJson testREST2(@RequestParam String test ) { return new TestJson(1, "Test"); }[/code]When I call the URL with my browser I get a normal resposne :{"testId":1,"testContent":"Test"} EEDIT : This problem is related to this bug report : http://community.jaspersoft.com/jaspersoft-studio/issues/8791Please fix or update the addon, it is impressively usefull when it works :) 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