fenix4life Posted January 7, 2010 Share Posted January 7, 2010 Hi, I managed to find back a reponse from 2007 concerning the use of webservice within JasperReports.Is the answer below still applicable? If this is the case. Wouldn't this be bit in contradiction with eg the use of the filevirtualizer? The reading of the large xml file would have a negative impact of the JVM. Are there possibilities to handle webservices which creates a large set of data (maybe streaming webservices?) Kind Regards 2. Working with Webservices is not as easy as getting XML from an URL. If it would be that easy, you could just pass the URL to the JRXmlDataSource constructor that has only one String parameter. But my guess is that you are talking about a real WS to which you connect posting parameters and then interpret the result and all. So it is your client application that needs to deal with all that protocol and once you have the XML, you pass it to the reporting engine like shown at point #1 above. Link to comment Share on other sites More sharing options...
lucianc Posted January 12, 2010 Share Posted January 12, 2010 JR doesn't have any dedicated data source implementation for web services. And the XML data source is DOM-based, so it's not streamable.This is not in contradiction with virtualizers, since the data source is outside the scope of the virtualizer.So you'll have to implement your own data source if you need to process large XML data.Regards,Lucian 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