Hello,
My problem is simple, and i'm sure have been solved thousand of times...
I want to specify my webservices server address in a configuration file,
so i can change server without playing with visual studio adding/removing
webreferences.. .
Any ideas?
Thanks,
Vincent. 2 863
If you subclass the generated proxy for the webservice there is a field for
URL that you can set. http://www.codeproject.com/cs/webser...&select=657651
does this by editting the generated code, I prefer subclassing but same
general concept.
Cheers,
Greg
"vincent" <no@spam.com> wrote in message
news:f9******** *************** **@news.microso ft.com... Hello,
My problem is simple, and i'm sure have been solved thousand of times...
I want to specify my webservices server address in a configuration file, so i can change server without playing with visual studio adding/removing webreferences.. .
Any ideas?
Thanks, Vincent.
Thanks Greg for the fast answer! :) If you subclass the generated proxy for the webservice there is a field for URL that you can set.
http://www.codeproject.com/cs/webser...ices.asp?df=10 0&forumid=25858 &exp=0&select=6 57651 does this by editting the generated code, I prefer subclassing but same general concept.
Cheers,
Greg
"vincent" <no@spam.com> wrote in message news:f9******** *************** **@news.microso ft.com...
Hello,
My problem is simple, and i'm sure have been solved thousand of times...
I want to specify my webservices server address in a configuration file, so i can change server without playing with visual studio adding/removing webreferences.. .
Any ideas?
Thanks, Vincent. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Maxim Khesin |
last post by:
I want to have a config file with my python proggie, satisfying the
following requirements:
1) support key->(value, default)
2) simple and intuitive to read and edit
3) easyly readable into a python datastructure (a dictionary?)
4) not requiring any heavy libraries needed (I am distributing my
proggie as a py2exe executable and do not want...
|
by: Fuzzyman |
last post by:
There have been a couple of config file 'systems' announced recently,
that focus on building more powerful and complex configuration files.
ConfigObj is a module to enable you to much more *simply* access
config files.
This is version 3, which is a big overhaul. It extends ConfigObj to
reading config files with sections and various other...
|
by: dbuchanan |
last post by:
Hello,
(Is this the proper newsgroup?)
=== Background ===
I am building a solution with two projects.
One project is my data access layer which contains my DataSet as an xsd
file. The XSD file was built by draging tables from the Data Sources pane.
Auto-generated code created the files associated wtih the XSD file (xss,
|
by: mmcd79 |
last post by:
I built a VB.net application that makes use of a machine level DB
connection string setting, and a user level starting location setting.
The machine level setting and the default user based setting is of
course stored in the app.exe.config file located in the same directory
as the exe. Upon closing the form, I save the user setting which...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |