Versioning the namespace was my first idea but then I get some comments that actually it doesn't work since the generated client stubs depends a lot of the namespace. In short, clients will be broken if you do that.
There are some articles on the web that says exactly the same :)
Regards, Patrick.
Jaspreet Singh wrote:
yup.. interface versioning is good. there are different ways to accomplish this.
one is the getVersion way that you've told.
i saw one way in xalan in which they version the namespce i.e they have a different namaespace for every version. so clients won't end up using different header files with different dlls at the back.
Regards Jaspreet
-----Original Message-----
From: BLIS Webmaster (Patrick Houbaux) [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: interface versioning
Yes this are the conclusions I made as well :)
One strategy I was thinking of is to mention something like "Deprecated (wont be available anymore from 2005.1.1" in the message returned by the getVersion() for the version I don't want to maintain anymore on the server side.
So that client application providers are aware and can plan to upgrade their client.
Don't know yet if it is a nice strategy.
Cheers, Patrick.
Stuart Barlow wrote:
Looks like publishing one WSDL file for each interface version and having a getVersion() method is a reasonable solution.
pros - clients can query versions and talk to the one they are familiar with.
cons - server app needs to support all interfaces.
Ta, Stuart.
Stuart Barlow wrote:
Thanks Patrick, I tried using the search from the AXIS mailing list page this morning and got hits from all mailing lists. Ill read this link and get back. BLIS Webmaster (Patrick Houbaux) wrote:
I remember having some discussions in the mailing list about that. Browse the following thread:
http://marc.theaimsgroup.com/?l=axis-user&m=106737614722205&w=2
Patrick.
Stuart Barlow wrote:
Does anyone have great thoughts on interface versioning?
Is it wise to think about keeping an interface generic so that it doesnt alter much between product versions?
Or do you publish version 1 and version 2 along side each other in newer versions of product?
Is there any standard support in WS for versioning?
Ta, Stuart.
