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

Call a webservice from winform

Hi,

Is it possible to call a web service without referencing.
Since I have to get the url (web service is running) from the user and then
call a method in that.

Regards
John
Feb 27 '06 #1
2 2509
The proxy class generated after adding the service as web reference has a
property called Url, where you can set the location of the service. You'd
also have to set the url behavior to dynamic

"John" <aj******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi,

Is it possible to call a web service without referencing.
Since I have to get the url (web service is running) from the user and
then
call a method in that.

Regards
John

Feb 27 '06 #2
that worked.
thx for ur reply

"Lebesgue" <no****@spam.jp> wrote in message
news:eH**************@TK2MSFTNGP15.phx.gbl...
The proxy class generated after adding the service as web reference has a
property called Url, where you can set the location of the service. You'd
also have to set the url behavior to dynamic

"John" <aj******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi,

Is it possible to call a web service without referencing.
Since I have to get the url (web service is running) from the user and
then
call a method in that.

Regards
John


Feb 28 '06 #3

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

Similar topics

0
by: microsoft.public.dotnet.languages.csharp | last post by:
Hi all I have a winform application (client) calling a webservice (both written in C#). Everything works fine if the winform has internet connection and not residing behind a proxy server. Or...
1
by: John Lee | last post by:
Hi, I have two web services and they are setup as "Integrated Windows Authentication" only and they are both assigned to application pool with Domain Account. I can use ws.Credentials =...
5
by: Richard Kure | last post by:
Is it possible to get a webservice to call to a Windows Form? Both the webservice and the form are running at the same computer. I work in C#.NET in Visual Studio. I tried to make an eventin the...
11
by: Andy | last post by:
Make the story short, I have a VB.NET client interface calling .NET webservice, written in VB.NET as well. I am trying to make the client as thin as possible so I let the webservice part to...
0
by: Costa Lino | last post by:
Hi all, I have a webservice with 2 method public int AddUpdateTask(eurosmallbiz.FrameWork.Systems.Calendar.Task task,string username,string password,int companyid,string SyncRule)
2
by: Atul | last post by:
In my winform application, to access webmethod, we create a webservice proxy object. For the first time, when winform application is started, for creating proxy object(e.g. MyWebServiceProxy oProxy...
0
by: rob | last post by:
I am trying to debug a webservice by steping into a web method called from a windows form project. The strange thing is that sometimes it works but often it does not. When it does not work I get...
3
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, I have a winform client which consumes a WCF service. I have a single service client(proxy) at the winform side, but spread the service calls into multiple threads so that they can do works...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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,...

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.