I searched the “Internets” (with a grin to GWB), but found nothing. So this post is a placeholder for whatever findings in my future research.
Bear with me please
There’s a glimmer hope by using direct HTTP post to the Jasper Report’s web service using techniques described here:
- Programmatically generating web service calls
- Making raw web service calls with the HttpWebRequest class
- Invoking Web Service dynamically using HttpWebRequest
By using above method, we will get the full stream of the response. Now the problem is how to separate the binary data and the text data.
Found a clue on how to read mixed binary data and text: What’s the best way to read mixed (i.e. text and binary) data
I have successfully use ASP.NET to invoke Jasper Report web service, and obtain the PDF/XLS/CSV file. The solution is now still very crude, I’m gonna need sometime to clean it up.
a WordPress rating system