Call Web service dynamically. wrote:
I have VC++.NET application which takes the Webservice URL at the runtime
from the user and it should call the webservice method based on what the user
has supplied.
Don't know about VC++, but this is how I do it in C# .. Instead of
adding a webreference in VS use wsdl.exe from the command-line. Add the
resulting file to your project and then do :
MyWebervice theWebService = new MyWebService();
theWebService.Url = "http://your.site.her/webservice.asmx";
hth