Adding methods to the webservice: do old clients need to update web references?

后端 未结 5 1704
日久生厌
日久生厌 2020-12-10 11:35

ProductA uses our only web service, which is a separate deployment from ProductA. We deploy both to production.

Later, we\'re writing ProductB. During that effort,

5条回答
  •  萌比男神i
    2020-12-10 12:33

    I did not want to chime in on an aging thread, and many key points have been made already, but I wanted to add a note about migrating frameworks. I have had unusual behaviors at times, after migrating from .Net 2.0 up, all the way through 4.6. I would elaborate more on the specific errors, but they were some time ago.

    I want to also add that, despite most of these comments, I have had numerous issues from clients that did NOT upgrade web references even after the minimal changes described here in. And I might add that this could be the result of the newer framework. I have read in numerous places in MSDN over the years that the WSDL should always be regenerated.

    I've actually been looking for a technique to do this automatically. So as to prevent client side crashes when the web services do get updated. I tripped across this thread in that search.

    Not really an answer but too long for a comment here.

提交回复
热议问题