473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

deploying and invoking web services at runtime

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
Nov 16 '05 #1
2 1490
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

Nov 16 '05 #2
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


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
1
by: Andy Fish | last post by:
Hi, I am about to deploy an asp.net web app which will consist of a web server in the DMZ invoking web services hosted inside the corporate firewall. Both will be hosted on IIS 5 or 6 using...
2
by: shanmani | last post by:
Hi, I am developing a .NET application which will invoke the methods from different COM / .NET DLLs. While invoking methods from .NET DLLs, I am encountering the following error. I have also...
2
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.