Sign in | Join
Last post 05-12-2008 10:44 AM by Jeev. 3 replies.
Sort Posts: Oldest to newest Newest to oldest
I have a WebService Project and a Client Project in Visual Studio 2005. My Client Project has a web reference to the web service. When I make a change in the methods of the Web Service, I have to click the "update web references" in my client project in order to my client project notice changes in the web services. I need to Update The Web Reference automatically whenever I build the Web Service Project . Do you know any method to be able to update the web reference in the Client Project by a Macro e.g. using WSDL.exe tool? Basically, what does "Update Web Reference" do exactly and How I can do it using a Macro or something? Many thanks
When I make a change in the methods of the Web Service, I have to click the "update web references" in my client project in order to my client project notice changes in the web services.
I need to Update The Web Reference automatically whenever I build the Web Service Project .
Do you know any method to be able to update the web reference in the Client Project by a Macro e.g. using WSDL.exe tool?
Basically, what does "Update Web Reference" do exactly and How I can do it using a Macro or something?
Many thanks
By updating the web reference in your project you are making getting the wsdl and regenerating the proxy classes for that webservice. The intention is to update the calling program with changes in the webservice
Yes, I Know that, thank you, but the thing is I want to update the reference automaticaly without use Visual Studio, only refreshing the .aspx page
well that won't be of any help .. If the schema / return type or method signature of the webservice changes... your page would break unless you change your code to match the new signature / return types