We have a ASMX Web service 2.0 which was created way back and some of our applications still use it. Now we want to add another webmethod to it and I am not sure what effects it may cause with existing clients / apps. Or what precautions I should take while doing that.

I would appreciate your views.

有帮助吗?

解决方案

Adding new methods should not cause any problems for the existing clients as long as the interface (signature, web service namespace) of the existing methods remains unchanged. Of course, existing clients cannot call the new methods, but the old ones should work as before.

Though adding methods works, there are explicit ways to version the interface of an ASMX web service. See this link for details.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top