473,405 Members | 2,141 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,405 software developers and data experts.

How to call the Webservice dynamically

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.
Nov 21 '05 #1
2 9910
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
Nov 21 '05 #2
or try
http://www.google.com/search?hl=en&n...bservicestudio

-D

"Peer K" <pk@webnetmail.dk> wrote in message
news:O4*************@tk2msftngp13.phx.gbl...
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

Nov 21 '05 #3

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

Similar topics

1
by: Ed S | last post by:
Hi All, We're upgrading our web project - currently we have a web app and a web service - both written in C#. The web app communicates with the web service for login authentication, the list of...
1
by: Fred W | last post by:
I have 2 dependent dropdowns and would like to populate the contents of the child dropdown dynamically based on the selected item of the parent. Pretty standard requirement. However, can this...
4
by: Tim Gallivan | last post by:
Hello group, I'm trying to develop a proof of concept webservice which asynchronously calls a function in a DLL. The function raises an event when it is finished, and works when used as part of...
7
by: Alessandro Benedetti | last post by:
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice (B). The A Webservice is made like this: public class WSA: System.Web.Services.WebService { private int X = 0;
2
by: markoZ | last post by:
Hi. We have developed a .NET web service. The service executes a SQL on the SQL server. The first call of the webservice takes very long but the other calls dont. Why is that and how can we...
5
by: lavu | last post by:
I have a C# client application that uses a COM DLL(written in C++) or a webservice (the webservice is the same COM DLL wrapped up as a webservice). The client can dynamically (based on form...
2
by: Big George | last post by:
Hello Experts ! I'm using: VS.NET 2003 I have a webservice1.Service1. I have installed it on IIS. No problem. I can access it through: http://localhost/WebService1/Service1.asmx or...
1
by: satyaashok | last post by:
first iam create a webservice and it is consume in client web application now change parametars in the webservice ,now in client application with out update the webservice, it is update dynamically...
2
by: jojoba | last post by:
Hello to all! I have a fairly simple webservice running in asp.net ajax under c# (vs 2008). I built the service and it runs just dandy when i test it by itself in visual studio. However, to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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
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
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.