473,699 Members | 2,514 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET 2.0 B2: Howto change web reference?

When using Web Services from ASP.NET 1.1, you got a "Web References" folder
in your project containing an entry for the web service references you
added. The property page for this entry contained the URL to the web service
and you could change this URL if you wanted to point to another web service
and then you could do an "Update Web Reference" to refresh the references.

In ASP.NET 2.0, you get a "App_WebReferen ces" folder instead, but it doesn't
contain the same kind of entry for the web reference. It contains a folder
with three files for each web service reference added (.disco, .discomap and
..wsdl). You also get an entry in the .config file for the URL of the web
service.

My question is: How do I change the URL of my web service? I notice that if
I change the URL in the .config file, there are still the old URL referenced
in the .disco file. What do I do in order to get the correct changes in all
neccessary places?

Olav

Nov 19 '05 #1
1 2167
Olav, you're talking about a VS.NET 2005 feature.

In the future, please ask VS2005 questions at :
http://forums.microsoft.com/msdn/ .

ASP.NET 2.0 questions will be handled either here or at :
http://forums.asp.net/default.aspx?ForumGroupID=26 .

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"Olav Tollefsen" <x@y.com> wrote in message news:Oy******** *****@TK2MSFTNG P15.phx.gbl...
When using Web Services from ASP.NET 1.1, you got a "Web References" folder
in your project containing an entry for the web service references you
added. The property page for this entry contained the URL to the web service
and you could change this URL if you wanted to point to another web service
and then you could do an "Update Web Reference" to refresh the references.

In ASP.NET 2.0, you get a "App_WebReferen ces" folder instead, but it doesn't
contain the same kind of entry for the web reference. It contains a folder
with three files for each web service reference added (.disco, .discomap and
.wsdl). You also get an entry in the .config file for the URL of the web
service.

My question is: How do I change the URL of my web service? I notice that if
I change the URL in the .config file, there are still the old URL referenced
in the .disco file. What do I do in order to get the correct changes in all
neccessary places?

Olav

Nov 19 '05 #2

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

Similar topics

4
3845
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or less - during my own installation of Python 2.3 on Fedora Core 1 Linux for a friend of mine). Anyway, HTH, L.
4
2870
by: Josef Sachs | last post by:
Is Andrew Kuchling's regex-to-re HOWTO available anywhere? I've found the following (dead) links on various Web pages: http://py-howto.sourceforge.net/regex-to-re/regex-to-re.html http://starship.skyport.net/crew/amk/regex/regex-to-re.html http://www.python.org/doc/howto/regex-to-re/ http://www.amk.ca/python/howto/regex-to-re/ Thanks in advance.
3
4144
by: googlemike | last post by:
You may have a requirement that you cannot change where you have old apps, such as Delphi 3 apps (in my case), that must hobble along until the BIG migration money comes into migrate to something better. And those old apps may require that you keep SQL 6.5 on the backend. In my case, that's the case, unfortunately. And Microsoft has completely dried up support for it. You may find that you can't install SQL 6.5 Enterprise Edition on...
4
2673
by: mirek | last post by:
Hello, at first - I'm newbie in C#, I came from the world of PHP. In "my world" there is SOPA Client call wery simple and clear. Something like this: <?php $client = new SoapClient("http://services.xmethods.net/soap/delayed-quotes.wsdl"); // getQuote is taken from WSDL specification print($client->getQuote("ibm"));
3
1527
by: Lord2702 | last post by:
Sun. Aug. 22, 2004 2:20 PM PT How to create multifile assembly in Managed Visual C++ ? Using VSIDE. Please do not point me to MSDN pages, I already read those pages, and it only says, that you can create, (but no info, or steps how to create?) it in VSIDE, but no STEPS are given. I want this solution Only and Only in Managed VC++, with the use of VSIDE. Also as VSIDE 2003 is unable to create MakeFile, like VSIDE VC++ 6.0, MakeFile...
0
822
by: Kristof Thys | last post by:
This is what I do: I create a very simple webservice : new project -> Visual c++ projects -> ASP.Net web service. My old project was a c++ application, I change its properties to a dll. I build it, and add a reference to the web service -> Add reference -> ..NET -> browse for the dll Then I include the headerfile from the oldproject, where the functions
2
1744
by: Frank | last post by:
Hi, I have an vb6 app that I want to port to .net. I tried the wizard but it doesn't convert it all. In my app I have a form with a datagrid on it. If a user doubleclicks on a row a form is shown (modal) with details (and some more info) about the selected row. Under vb6 it's quite easy to select another row, through code, in de datagrid without closing the detailform. How can this be done in .net? Thanks, Frank
8
4188
by: Topper | last post by:
Hello. I have simple web folders structure: -ROOT - BIN WebService.dll WebService.asmx I need to use my WebService.dll not in bin folder - for example, in ROOT. How do i this? How can i do this without .config file only with some configuration
15
7548
by: Encapsulin | last post by:
Hello everybody. I'm trying to change src of quicktime embedded object with javascript: <html><body> <script language="JavaScript"> function Exchange() { document.qtvr.src = "sample2.pano"; document.embeds.src = "sample2.mov"; }
0
8617
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9174
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, 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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8884
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 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7751
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6534
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
bsmnconsultancy
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.