vivekmuddasani
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by vivekmuddasani
-
-
Hi, We are using jasperserver 4.5. Jasperserver webapp is running in our tomcat as separate application. We use RESTful API calls to create/schedule/fetch/delete reports. Here is the issue we are facing:
- When we run a report from another application using RESTful API and try to fetch the report output from another appliation using RESTful API, the PDF format shows the Image/Logo, while the html format shows blank at the image location. Both PDF and HTML show rest of the data perfectly.
- Strangely when i open the same report output by logging in to jasperserver web GUI, i see the logo on PDF and HTML.
This makes me believe that the RESTful API call is unable to fetch the image. We are fetching the response body as stream where we are using httpclient to make the RESTful API call. The URI we use is: http://${reports.server}/jasperserver/fileview/fileview/ + reportUri. Still not able to figure out the issue. I have seen lot of people complaining about spring being the culprit here but couldn't ascertain the same.
Can anybody suggest what the problem is and how i can overcome it.
Thanks,
VM.
- When we run a report from another application using RESTful API and try to fetch the report output from another appliation using RESTful API, the PDF format shows the Image/Logo, while the html format shows blank at the image location. Both PDF and HTML show rest of the data perfectly.
Image not visible on HTML report
in Products
Posted
We are using rest and not rest_v2. When i checked the image url using firebug, i see that the image name is referred to as img_x_x and not the image name that is in the repository.
We are grabbing the response from rest call as byte stream and displaying it on HTML page. How would i know what the url of the image is from the byte stream response.