Nate Bross Posted December 31, 2007 Posted December 31, 2007 I have created a web service with a couple methods. It is working OK. I have two applications that consume the web service, this is also working OK. The trouble I am having is that if I update the web service. Say add a new method -- not even a new web method, just a method for use inside the web service. The applications that consume the web service need the "Update Web Reference" in Visual Studio ran, and then rebuilt and deployed. Is there a way that I can update my web service without being required to rebuild my consumeing applications? Happy New Year, Thanks in Advance -Nate Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Administrators PlausiblyDamp Posted January 1, 2008 Administrators Posted January 1, 2008 How would the client applications even know how to call the new method(s) unless they are recompiled against an updated version of the WSDL? If the method in question isn't consumed directly by a client but is only there for the web service itself then it probably doesn't need to be a web method and there certainly shouldn't be any need for the client to be recompiled. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Nate Bross Posted January 2, 2008 Author Posted January 2, 2008 That's exactly what I thought; however, the new methods are only used by the web service internally and aren't marked with WebMethod void I must have changed something else without noticing. Thanks! Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.