Refactoring a Web Service

11/10/09

Permalink 08:15:56 pm, by truewill Email , 89 words, 206 views   English (US)
Categories: Tips, Web

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!

Comments, Pingbacks:

No Comments/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
The name truewill is composed of two other words. What is the SECOND word?

Development Central

Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.

Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.

Search

Categories

Linkblog

b2evolution

contributors

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 5

powered by b2evolution free blog software