DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 28 Jun 2007 15:57:54 -0000,    posted on: microsoft.public.dotnet.framework.aspnet.webservices        back       

Thread Index
  1    Object01


Can't update web reference when .disco moves.   
Is this a bug?  I've moved my working copy of a web service project
from a remote server to my workstation, and have edited my consuming
app's web.config to refer to the new .asmx location.  It keeps trying
to access the old web service!

I've tried opening the solution and updating the consumer's web
reference, and get these errors, in this order:
  "There was an error downloading 'http://newServer/service.asmx?
disco'"
  "There was an error downloading 'http://oldServer/service.asmx?
disco'
   The request failed with the error message:
     [error about service not being found ('cause I moved it!)]"

But using Fiddler, I don't see -any- requests for anything (.disco,
wsdl, or otherwise) at the new location, only the old location.  My
consuming app's .disco, .discomap, and .wsdl all contain URLs for only
the old location.

Isn't updating my web reference supposed to update everything based on
the URL I enter in web.config?  Currently I can only work around this
by removing the web reference and re-adding it, which is unsuitable
for a deployment situation.  If this is the case, what's the point of
making the service URL configurable in web.config?

--
Jeff S.
Date:Thu, 28 Jun 2007 15:57:54 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us