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: Mon, 20 Aug 2007 11:05:16 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Mike
          2    John Saunders [MVP] john.saunders at trizetto.com
                 3    Mike
                        4    John Saunders [MVP] john.saunders at trizetto.com


web service reference   
I have a web app that is referencing several web services. When I make a change to a web service (add, modify a method), I have to 'Add Web Reference' for the changes to take affect. If I do 'Update web reference' the web app does not see the web service changes.

The web services are on the same box as I'm developing on, the .wsdl files are pointing to the correct location, but the changes aren't happening unless I do 'Add Web Reference'.


Does anyone have or had this same issue? If so how did you resolve it?
Date:Mon, 20 Aug 2007 11:05:16 -0400   Author:  

Re: web service reference   
"Mike"  wrote in message 
news:O9I2Vxz4HHA.3940@TK2MSFTNGP05.phx.gbl...
I have a web app that is referencing several web services. When I make a 
change to a web service (add, modify a method), I have to 'Add Web 
Reference' for the changes to take affect. If I do 'Update web reference' 
the web app does not see the web service changes.

The web services are on the same box as I'm developing on, the .wsdl files 
are pointing to the correct location, but the changes aren't happening 
unless I do 'Add Web Reference'.


Does anyone have or had this same issue? If so how did you resolve it?

------------
What are your web references pointing to? The .asmx files, the .wsdl files, 
or .asmx?WSDL?

Also, have you built and deployed the changed web services before trying to 
update the references?
-- 
John Saunders [MVP]
Date:Mon, 20 Aug 2007 11:20:31 -0400   Author:  

Re: web service reference   
Also, have you built and deployed the changed web services before trying to
update the references? Yes, I build the service then run it test and test it 
prior to 'updating' it in the web app.

What are your web references pointing to? The .asmx files, the .wsdl files,

> or .asmx?WSDL?  When I add the web reference via the IDE, its adding the 
> .disco, disomap, and .wsdl file.

the reference in the web.config file is pointing to the .asmx file, but 
shouldn't it point to the wsdl file?


I just got put on this project last week, so everything was already setup by 
the lead developer on this project, and I'm fixing things as I go, and I 
noticed that as I was fixing the web service and trying to access it via the 
web app.





"John Saunders [MVP]" <john.saunders at trizetto.com> wrote in message 
news:uG1K43z4HHA.3916@TK2MSFTNGP02.phx.gbl...

> "Mike"  wrote in message 
> news:O9I2Vxz4HHA.3940@TK2MSFTNGP05.phx.gbl...
> I have a web app that is referencing several web services. When I make a 
> change to a web service (add, modify a method), I have to 'Add Web 
> Reference' for the changes to take affect. If I do 'Update web reference' 
> the web app does not see the web service changes.
>
> The web services are on the same box as I'm developing on, the .wsdl files 
> are pointing to the correct location, but the changes aren't happening 
> unless I do 'Add Web Reference'.
>
>
> Does anyone have or had this same issue? If so how did you resolve it?
>
> ------------
> What are your web references pointing to? The .asmx files, the .wsdl 
> files, or .asmx?WSDL?
>
> Also, have you built and deployed the changed web services before trying 
> to update the references?
> -- 
> John Saunders [MVP]
> 
Date:Mon, 20 Aug 2007 11:33:41 -0400   Author:  

Re: web service reference   
"Mike"  wrote in message 
news:uusC$9z4HHA.4676@TK2MSFTNGP05.phx.gbl...

> Also, have you built and deployed the changed web services before trying 
> to
> update the references? Yes, I build the service then run it test and test 
> it prior to 'updating' it in the web app.
>
> What are your web references pointing to? The .asmx files, the .wsdl 
> files,
>> or .asmx?WSDL?  When I add the web reference via the IDE, its adding the 
>> .disco, disomap, and .wsdl file.
> the reference in the web.config file is pointing to the .asmx file, but 
> shouldn't it point to the wsdl file?


The web.config should point to the .asmx, since that is the URL that will be 
used at runtime. I was asking what you see in the Properties of the web 
reference itself.

Another thing I thought of is how are you running the web service? You want 
to make sure that the web reference is referring to the exact same service 
that you've deployed.

For instance, one problem I've had is when the web service was running on a 
dynamic port through the Visual Studio.Net internal web server, when my web 
reference has been pointing to a fixed location within an IIS web site. This 
fits the pattern you posted about: when you do an Add Web Reference, you are 
pointing to the real, updated server. When you change it and do an update, 
the updated service is running in the internal server, but your web 
reference is still pointing to the original, unchanged service.

At design-time, the web reference URL is used to retrieve the WSDL file 
which is used to create the proxy classes. At run-time, it is used to talk 
to the real service. The trick is to notice when these two are not both 
talking to the same service.
-- 
John Saunders [MVP]
Date:Tue, 21 Aug 2007 07:11:45 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


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