Hello CsaaGuy,
C> Actually what we want to do is use a web service to set the
C> datasource and report path of an ms report viewer so that it can be
C> called from a url. We could use ms reporting services but the remote
C> .rdl does not allow you to decouple the data from the report format
C> like the local report version does. I did get it to work by calling
C> our report url and passing in the report name, however this approach
C> has the report server calling the data server not the client. what we
C> are trying to acheive is having the client call the data server and
C> pass the data and the report name to the report server. I don't know
C> how to pass the data to the report server by an url approach (i don't
C> think its possible). So I was trying to set them with a web service..
Ok. What u need to do is to provide the method on server, which will return
only data necessary to show the report. Not the report itsefl
After that from you client code you call your server data (via code behind,
or using javascrip and transfering data in JSON format). Doing thing u will
have the real data on your side which u can use to build your report.
For example u can use JS (on client) + WCF (on server) to call wcf methods
directly from javascript.
But u need to have separate method on server which returns u all necessary
data, u can't extract data from the generated and shown report
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo