By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,559 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,559 IT Pros & Developers. It's quick & easy.

invoking web services dynamically at runtime

P: 6
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
Share this Question
Share on Google+
3 Replies


jhardman
Expert 2.5K+
P: 3,405
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

P: 6
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
Expert 2.5K+
P: 3,405
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

Post your reply

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