Dynamic web link for use in SSRS
To use a web service that is part of an SSRS installation, it seems you need to add a web link to your project so you can call it etc. (see one of my previous questions ).
But if I needed to call a web service for different SSRS installations, then I need to keep adding additional web links. My asp.net application is currently displaying reports from several different SSRS installations, not just one server ...
Is there a way to dynamically add a web link or dynamically change the address of the server where the web service resides?
a source to share
You don't need to add additional web links.
If you select Web Link in Solution Explorer, then browse the Properties grid, you will see that you can set the URL dynamic. This will take the url from app.config or web.config. Just change the configuration when changing servers.
If you need to do this at runtime, there is a property for the proxy class for your service Url
that you can set.
a source to share