Jump to content
We've recently updated our Privacy Statement, available here ×

chris.noonan

Members
  • Posts

    3
  • Joined

  • Last visited

chris.noonan's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I can get it working using the Jersey library, however the performance is quite terrible. I can build the report faster using the JasperReport Library engine. Hence the reason for wanting to use the SOAP api's.
  2. Hi Mariano, Thanks for the assistance. The WSClient.java class references the following imports: import net.sf.jasperreports.engine.JasperPrint; import com.jaspersoft.jasperserver.irplugin.JServer; import com.jaspersoft.jasperserver.api.metadata.xml.domain.impl.*; Which libraries/jars do I need to complete these imports? Regards, Chris
  3. Hi all, I'm using iReport and JasperServer Pro 4.7, and am wanting to call the runReport method on WSClient in a Java servlet. The problem I'm having, is locating the required JARs/Libaries to run the following piece of code: JServer js = new JServer(); js.setUrl(serverUrl); js.setUsername(serverUser); js.setPassword(serverPassword); ResourceDescriptor rd = new ResourceDescriptor(); rd.setWsType(ResourceDescriptor.TYPE_JRXML); rd.setUriString("/Projects/Report1"); Map params = new HashMap(); params.put("param1", "1234"); WSClient client = new WSClient(js); JasperPrint jasperPrint = client.runReport(rd, params); I've attached the following libraries to my Java application: com-jaspersoft-ireport-jasperserver.jar js_activation-1.1.jar js_axis-1.4patched.jar js_commons-codec-1.3.jar js_commons-discovery-0.2.jar js_commons-httpclient-3.1.jar js_jasperserver-common-ws-3.5.0.jar js_jaxrpc.jar js_mail-1.4.jar js_saaj-api-1.3.jar js_wsdl4j-1.5.1.jar What library do I need to use the JasperPrint object? I've tried using jasperreports-4.7.jar, however at runtime, I'm getting dependency exceptions for "java.lang.NoClassDefFoundError: com/jaspersoft/ireport/designer/IReportManager" The Web Services documentation is very thin on details. Any help would be great. Cheers, Chris
×
×
  • Create New...