Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

Web Service Versioning

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Modica82 - 25 Feb 2005 16:32 GMT
Hi all,

Does anyone have any views/information on the best way to version web
services.  I am writing a proposal on how the company should handle
versioning of its web services and would like some of your views.

I dont have much at the moment, i am going to gather some research but as i
said, any info would be greatly appreciated.

Regards,

Rob
Dilip Krishnan - 01 Mar 2005 01:21 GMT
Try this [0]. Its basic and should get you started

[0] -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/
service10152002.asp


> Hi all,
>
[quoted text clipped - 8 lines]
>
> Rob

Signature

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

Modica82 - 01 Mar 2005 15:19 GMT
Thanks Dilip,

I have read the article, several times now, and the only conclusion i can
come up with is that you have to create a new end point (asmx file) everytime
you make a change to the existing web service to ensure that you allow for
legacy users of older versions. The problem with scotts "delegation" method
is that you still have to keep the old version alive as it were for the
forseable future, so how do you phase that older versions out? I guess it
does make sence as you will only have to maintain related functions once, but
if you release say seven versions then they have to delegate back and back
and back untill they get to version 1?? Am i missing the point here, i have
spent 2 days researching web service version as i have to present a report to
my line manager, but have written only 400 words and still have no direct
path.

If anyone has done this sort of thing and know how to do it, i would be
greatly appreciated.

Rob

> Try this [0]. Its basic and should get you started
>
[quoted text clipped - 13 lines]
> >
> > Rob
Dilip Krishnan - 01 Mar 2005 16:59 GMT
Hello Modica82,
   The article is only a starting point. Essentially there are different
things you need to consider as regards versioning. The delegation model is
only if you want to reuse the existing functionality. And its possible/efficient
only if the changes are not breaking changes. By breaking changes I mean,
removing an type, adding required types etc. Also you dont HAVE to keep old
versions alive... In the real world you probably wouldnt have to support
7 versions concurrently... its more likely that you support 3 versions at
most, one backword compatible version, one forward compatible version and
the current version itself. So I guess that leads to the fact that you would
need to have your refactoring of your existing applications move towards
that goal. Also the whole notion of versioning is very subjective in the
sense that it is business driven
   Also you would design your system so that the url is constant and either
routed based on some routing logic or use UDDI to get locate appropriate
endpoint (ideal). So clients would always access http://some-service and
would be redirected to http:/some-service/v1 or http://some-service/v2 based
on some form routing logic. That removes the clients dependency on the version
of the service.

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Thanks Dilip,
>
[quoted text clipped - 44 lines]
>> dkrishnan at geniant dot com
>> http://www.geniant.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.