swood Posted February 12, 2007 Share Posted February 12, 2007 The examples show how to connect to JasperServer to browse and maintain the repository, and run reports via Web Services. There is a PHP and a Java web application (WAR) provided. To get the samples: * Downloads* JasperIntelligence 1.2 (includes JasperServer and JasperAnalysis) You will see JasperServer-1.2-WS-Client-Samples.zip in the list of files to download. ShermanJasperSoft Link to comment Share on other sites More sharing options...
bohseng Posted February 15, 2007 Share Posted February 15, 2007 HI, I has downloaded jasper server 1.2 and has installed it, i has also downloaded JasperServer-1.2-WS-Client-Samples, i have a question, how to install the SampleWebApp and is there any documentation for SampleWebApp? Thanks for reply. Regards,Vincent. Link to comment Share on other sites More sharing options...
sirrond Posted March 14, 2007 Share Posted March 14, 2007 I am trying to get the web services samples to work. However I am not having any success. I downloaded thJasperServer-1.2-WS-Client-Samples, but there are not any notes or documentation on how to set it up. I get the following error when I try to access this sample from my tomcat serverCode:org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 3 in the jsp file: /index.jspGenerated servlet error:/var/lib/tomcat-5.5/work/Catalina/localhost/web/org/apache/jsp/index_jsp.java:52: package com.jaspersoft.jasperserver.sample does not exist com.jaspersoft.jasperserver.sample.WSClient client = new com.jaspersoft.jasperserver.sample.WSClient( There were no setup instructions or notes in the readme, so here is what I did to set it up:1. download the zip2. unzip - which gave me the followingCode:[code]SampleWebApp/license.txtphpclient/readme.txt3. copy the directory "web" (inside SampleWebApp) to my tomcat webapps directory (the main location of all my web applications including jasperserver4. restart tomcat5. go to my "web" url and I get the error listed above. I know I am missing something. There is a directory in the SampleWebApp named "src" which has what looks to me like the missing piece. But I don't know where this directory should be placed to make this work. Any help would be greatly appreciated. Thanks Link to comment Share on other sites More sharing options...
codyjasperForge Posted September 25, 2007 Share Posted September 25, 2007 Hello everyone, I am attempting to replicate something similar to the sample code provided w/jasperServer2.0.1. (java web app example) Does anyone have advice on how to design the WSClient? I have seen the implementation of the ireport-plugin, however I need a direct link to the report execution. Anyone who can give any helpful advice is greatly appreciated! (I mainly am interested in the "runReport" method(s)) Thanx! ;) Link to comment Share on other sites More sharing options...
ruffp Posted July 15, 2008 Share Posted July 15, 2008 Hello, Do you have a link update mentionned in the first message ? I need a client example without using axis, as we will use Spring WS as client. I cannot see how to pass the xml without the axis:list tag. ThanksPatrick Link to comment Share on other sites More sharing options...
gsxstylee Posted July 15, 2008 Share Posted July 15, 2008 If you are trying to do it using java check out the ireport plugin code theres a good amount of wsclient usage in it. If you are looking for something more specific let me know and I've probably done it within these last two weeks. Link to comment Share on other sites More sharing options...
ruffp Posted July 24, 2008 Share Posted July 24, 2008 Hello, I just found the samples in the remoting-test project in the sources.But these example does not show how to access the webservices using Spring WS (and not Spring) . The other problem I have is how to modify (with the i-reports pugin sample) a ReportUnit Options and how I can create such new items from scratch (but referencing existing ReportUnits and JRXML files).I tried many differents ways but there's still errors (hibernate errors about optionName) even if I set the name, label, parent folder and so on. I can send the XML later.Thanks for the anwers and best regards,Patrick Ruffieux 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