Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Webservice changes not being reflected

Status
Not open for further replies.

wsmall73

Programmer
May 23, 2002
261
US
I have made several changes to a webservice that I am working on... however the methods are not appearing (only the old method) when I view the methods in the browser the only ones that appear are the old ones... I have cleared my vswebcache and rebuilt to no avail.. any ideas?
 
If you mean that your consuming web application only sees the old methods in the web service - have you refreshed your reference to the web service in you consuming application (as opposed to the web service application)?
 
are you sure they are web methods? (have you added [Web Method] before their declaration?)

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
I not to the point of consuming... simply using the url to view the methods... I have included [WebMethod] before their declaration... the funny thing is that I copied and pasted the asmx file and renamed it and the new version shows the methods but the old version still shows the old one method... just seems weird.
 
My guess would be that your .NET assembly that is providing the web service still has it's version property set to the default of 1.0.*, which means a new version gets generated every time you build. And...since the GAC will store all those versions (to allow backwards compatability), it's not surprising that the callers still see the old version.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top