473,395 Members | 1,631 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,395 software developers and data experts.

invoking web services dynamically at runtime

I am required to write a control that, among other things should have a property that specifies a web service, one that specifies the method to invoke and another that will hold the parameters.
My question is, how can I invoke the web service if i don't know which one it is until runtime? (the web service can also be a non-existent one)

Thanks in advance.
Aug 7 '07 #1
3 1067
jhardman
3,406 Expert 2GB
I am required to write a control that, among other things should have a property that specifies a web service, one that specifies the method to invoke and another that will hold the parameters.
My question is, how can I invoke the web service if i don't know which one it is until runtime? (the web service can also be a non-existent one)

Thanks in advance.
The policy of The Scripts Developer Network is to not answer homework questions. If there is a lesson principle that you would like to clarify, please do so.

Jared, moderator
ASP forum
Aug 8 '07 #2
The policy of The Scripts Developer Network is to not answer homework questions. If there is a lesson principle that you would like to clarify, please do so.

Jared, moderator
ASP forum
I found a solution on msdn using a proxy class but I didn't quite understand it, as the code wasn't complete and it was in VB (I'm working with c#). And this is not a piece of homework. It's just an exercise I'm doing to get used to working with web services.

I would appreciate any ideas. I don't expect people to throw in the actual lines of code or something.
Aug 8 '07 #3
jhardman
3,406 Expert 2GB
I found a solution on msdn using a proxy class but I didn't quite understand it, as the code wasn't complete and it was in VB (I'm working with c#). And this is not a piece of homework. It's just an exercise I'm doing to get used to working with web services.
Sorry, I misunderstood. Anyway, I'm moving this question to the .NET forum, in asp classic we only use scripting languages, usually vbScript. good luck

Jared
Aug 8 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jeff | last post by:
I am trying to dynamically load an assembly via reflection and then invoke a method of that assembly that will populate a custom type collection passed into the method byref. I am able to...
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...
5
by: Rakesh Rathod | last post by:
Hi, I need to invoke a web service dynamically at runtime without adding a web reference. I need to do this through a C# application (.NET 2.0). At runtime my application will get the url of the...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.