Nicholas,
Thanks. That makes things clearer. What I would be also interested in
knowing is - Is there a way to make a proxy at runtime. Let me explain.
My executable starts running and while processing it does something that in
turn deploys a web service on a server running on the machine. At that
point, in the middle of execution - can I create a proxy for the newly
created web service and invoke it. Is there an easy way to do this - or do i
have to go the SoapHttpClientProtocol way.
"Nicholas Paldino [.NET/C# MVP]" wrote:
Faraz,
What do you mean reference at runtime? You can just create your proxy
and make the calls.
If you mean that you don't want to make a proxy, and just make the calls
in a generic manner, then you would use the SoapHttpClientProtocol class,
which you can use to make calls to any web service.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Faraz" <Fa***@discussions.microsoft.com> wrote in message
news:EF**********************************@microsof t.com... Hi guys,
Is there a way(from within C#) to deploy and reference a web service at
runtime. I think I can do the deployment fine, but the question is - can I
also reference it at runtime, since I cant change anything manually.
Any help will be appreciated.
Thanks