I have a need to pass a string and a datatable from a web service to a
web application in IIS. Does anyone have a suggestion on this.
Thanks.Hello CsaaGuy,
why u can't just request this info from your webservice?
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
C> I have a need to pass a string and a datatable from a web service to
C> a web application in IIS. Does anyone have a suggestion on this.
C>
C> Thanks.
C>
On Feb 20, 4:04=A0pm, Michael Nemtsev [MVP] <nemt...@.msn.com> wrote:
> Hello CsaaGuy,
> why u can't just request this info from your webservice?
> --
> WBR,
> Michael =A0Nemtsev [.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=[/color
]
> miss it, but that it is too low and we reach it" (c) Michelangelo
> C> I have a need to pass a string and a datatable from a web service to
> C> a web application in IIS. Does anyone have a suggestion on this.
> C>
> C> Thanks.
> C>
I make the web service call back to the calling web application, then
i call the url. The web service is basically setting variables for the
web appliation to use later when its called. Not sure i understand the
request suggestion with this in mind.
Hello CsaaGuy,
C> I make the web service call back to the calling web application, then
C> i call the url. The web service is basically setting variables for
C> the web appliation to use later when its called. Not sure i
C> understand the request suggestion with this in mind.
could your explain this in details. How u do the call to site from WS and
set variables?
as I understand u are doing screen scraping or u set variables via URL?
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
On Feb 20, 8:43=A0pm, Michael Nemtsev [MVP] <nemt...@.msn.com> wrote:
> Hello CsaaGuy,
> C> I make the web service call back to the calling web application, then
> C> i call the url. The web service is basically setting variables for
> C> the web appliation to use later when its called. Not sure i
> C> understand the request suggestion with this in mind.
> could your explain this in details. How u do the call to site from WS and
> set variables?
> as I understand u are doing screen scraping or u set variables via URL?
> --
> WBR,
> Michael =A0Nemtsev [.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=[/color
]
> miss it, but that it is too low and we reach it" (c) Michelangelo
Actually what we want to do is use a web service to set the datasource
and report path of an ms report viewer so that it can be called from a
url. We could use ms reporting services but the remote .rdl does not
allow you to decouple the data from the report format like the local
report version does. I did get it to work by calling our report url
and passing in the report name, however this approach has the report
server calling the data server not the client. what we are trying to
acheive is having the client call the data server and pass the data
and the report name to the report server. I don't know how to pass the
data to the report server by an url approach (i don't think its
possible). So I was trying to set them with a web service.
Thanks.
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
On Feb 21, 1:57=A0pm, Michael Nemtsev [MVP] <nemt...@.msn.com> wrote:
> 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 retur=[/color
]
n
> 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=[/color
]
,
> or using javascrip and transfering data in JSON format). Doing thing u wil=[/color
]
l
> 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=[/color
]
> directly from javascript.
> But u need to have separate method on server which returns u all necessary=[/color
]
> data, u can't extract data from the generated and shown report
> --
> WBR,
> Michael =A0Nemtsev [.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=[/color
]
> miss it, but that it is too low and we reach it" (c) Michelangelo
I don't think we want to use javascript at this point. I'm not sure
when you refer to the 'server' i know what server your talking to. We
have a report server and a data server and the client browser. We want
the client to retrieve the data and pass the report they want to run
and the data to the report server. When you say you can get all the
data for the report, i dont' know what kind of data that is. Sorry
don't need to be dense here.
Thanks for the help.
On Feb 21, 4:34=A0pm, CsaaGuy <ross_sm...@.csaa.com> wrote:
> On Feb 21, 1:57=A0pm, Michael Nemtsev [MVP] <nemt...@.msn.com> wrote:
>
>
>
>
>
urn
nd,
ill
>
ds
>
ry
>
>
we
> I don't think we want to use javascript at this point. I'm not sure
> when you refer to the 'server' i know what server your talking to. We
> have a report server and a data server and the client browser. We want
> the client to retrieve the data and pass the report they want to run
> and the data to the report server. =A0When you say you can get all the
> data for the report, i dont' know what kind of data that is. Sorry
> don't need to be dense here.
> Thanks for the help.- Hide quoted text -
> - Show quoted text -
can't you just return DataTable (XML "stream") from Web service, and
display it in GridView in Web Application?
=2E..more at http://www.siccolo.com/articles.asp...
On Feb 21, 5:48=A0pm, claritymedi...@.gmail.com wrote:
> On Feb 21, 4:34=A0pm, CsaaGuy <ross_sm...@.csaa.com> wrote:
>
>
>
>
>
e
h
we
w
't
.
>
eturn
hind,
will
>
hods
>
sary
>
r
>
d we
>
>
>
> can't you just return DataTable (XML "stream") from Web service, and
> display it in GridView in Web Application?
> ...more athttp://www.siccolo.com/articles.asp...- Hide quoted text -
> - Show quoted text -
Thats an interesting idea but i'm not sure my boss would go for that.
we are looking to use the local report viewer from ms reporting
services.