Refactoring a Web Service


Refactoring a Web Service

I’m in the process of refactoring and revising an existing Web Service. Clients exist out in the field, and I want to insure that I don’t break the contract.

There’s an easy way to do this: diff the WSDL. If the WSDL for the old service matches that of the new (and the behavior remains unchanged), existing clients should still work.

To make comparisons simple, don’t change the order of the web methods. Also don’t reorder properties on any serialized classes.

Thanks to Mark at work for this tip!

Your Host:
Copyright © 2000-2013 by William Sorensen. All rights reserved.