473,405 Members | 2,445 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.

localhost on development machines, localwebserver upon live

Hey,

How do you tell a web service to resolve to localwebserver vs. localhost?

in reference.map I see
....
<DiscoveryClientResult
referenceType="System.Web.Services.Discovery.Contr actReference"
url="http://localhost/[InstallationIISVirtualDir]/[WebServiceName].asmx?wsdl"
filename="[WebServiceName].wsdl" />
<DiscoveryClientResult
referenceType="System.Web.Services.Discovery.Disco veryDocumentReference"
url="http://localhost/[InstallationIISVirtualDir]/[WebServiceName].asmx?disco" filename="[WebServiceName].disco" />

....

It's an easy change to change localhost to localwebservice but I have three
questions..

can we use a web.config setting and post it into the reference
programmatically?

What if we add to reference.map two DiscoveryClientResult elements with
localwebserver?

What if we in code tell it before the web service method is invoked? e.g.
[WebServiceName] ws = new ....
ws.url = http://localwebserver...
Or do you have a suggestion?

--
tym, Eskimo
Nov 23 '05 #1
0 839

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

Similar topics

0
by: Luther Hert | last post by:
I solved my problem, but I am not sure whether or not I understand how I arrived at the solution. I leraned about and checked: IIS> creating virtual directories> configuring web extensions >...
0
by: Midnight Java Junkie | last post by:
Dear Folks: Multi-posting here because I am not sure of how I should make things more narrow, but please forgive me for doing so since I can basically spell .net and know so little about VB or...
1
by: Eskimo | last post by:
Hey, How do you tell a web service to resolve to localwebserver vs. localhost? in reference.map I see .... <DiscoveryClientResult...
4
by: Richard Levasseur | last post by:
(Forewarning, most of these problems and solutions come from being the only developer in a 1 server department with no budget, few resources, unresponsive IT, and non-technical managers, so thats...
12
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
7
by: Danny | last post by:
Hello: I would like to develop a browser extension, or whatever such a thing is classified as, that would allow a user of IE6, and possibly IE7, to switch between a live and development page. ...
7
by: pek | last post by:
OK, I've been having this problem for quite some time but never until now I really needed a solution. I have never thought of a work around, so I really need your help. Sorry if this has been...
5
by: meown | last post by:
Hi, I want to use VMware to set up an ASP.NET development environment. My host runs Windows XP and my Virtual Machine is running Win Server 2003. The question is how can I get the 2 operating...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.