dolm Posted September 10, 2012 Share Posted September 10, 2012 Is it possible to suppply a query to jasper and retrieve an answer set via the webservice? If so is there any examples of this? I have a sharepoint that has no DSN to the data warehouse available, only SOAP/XML. We need to query for data from forms in real-time and the Jasperserver jdbc connection would be a fantastic solution. Is this possible? Link to comment Share on other sites More sharing options...
elizam Posted September 11, 2012 Share Posted September 11, 2012 To the best of my knowledge, the SOAP interface does not query the database directly; however, you can set up a report and get the report results via SOAP. Here is some information from the documentation (JRS Web Services Guide):The repository web service is comprised of seven methods: list, get, put, move, copy, delete, and runReport.You can retrieve the WSDL (Web Services Description Language) document that describes the repository service by invoking the URL of the service and appending the string ?wsdl. For example:http://localhost:8080/jasperserver-pro/services/runReport?wsdlHere's the description of runReport:This operation executes a report on the server then returns the report’s results in the specified format. The client application is responsible for prompting users for values to pass to any input controls referenced by the reportThere are examples in the documentation. The 4.5 web services guide is online herehttp://jasperforge.org/espdocs/docsbrowse.php?id=87&type=docs&group_id=112&fid=366 Link to comment Share on other sites More sharing options...
lisacbeaton Posted October 3, 2012 Share Posted October 3, 2012 I'm also trying to do this - were you successful? I've got the Web Services Guide, but where do I save the XML? How do you execute runReport? Is the user clicking a link? Any insight here would really be appreciated. 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