Well, all I really need is to have the elements come out in the same order - whatever that order is every time. It seems like sorting the classes by the complexType name would be an easy thing to do but I'm certainly only speculating. If the <schema> tag in the <grammars> section simply sorted the elements / complex types by name before emitting that'd be super... same for the <resource path tags...
I can certainly post process the wadl but I'd rather not have to :) -----Original Message----- From: Sergey Beryozkin [mailto:[email protected]] Sent: Wednesday, February 27, 2013 6:14 AM To: [email protected] Subject: Re: WSDL/WADL produced in predictable order? On 27/02/13 09:00, Carl-Erik Kopseng wrote: >> Is there any way to produce these artifacts in a predictable way which paves >> the way to easy diffing? > > You could just write a small util to filter the xml through before > dumping it in your code repository. Then you could have alle the sort > operations in the world. Repeatable and easy. As far as WADL is concerned, we can probably get a bit more order by using an HTTP method name as a secondary key (with path being the first one), but I doubt we can have diff-ready productions produced for WSDL and WADL. Using a document-first style can be an option too - where a user manually controls the whole document Cheers, Sergey
