calling webservice dynamicly
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebservices' list.


David Winslow
Hey,

Is it possible at runtime to call a webservice which I called X on a
machine which determined by the user from selecting from a droplist?

dDavdi
Reply to this message...
 
    
Christian Weyer
Yes. But this implies that you may call any WSDL based Web Service
during runtime. And the current .NET (aka ASP.NET) implementation only
supports invoking Web Services through static proxies.
But you can download the sample from www.xmlwebservices.cc (see Samples
section) for invoking Web Services dynamically.

Of course, you can always do any communication by hand: HttpWebRequest
and XML ...

Cheers,
Christian
---------------------------------
.NET XML Web Services Repertory
http://www.xmlwebservices.cc/
---------------------------------

David Winslow wrote:
[Original message clipped]

Reply to this message...
 
 
System.Net.HttpWebRequest




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com