How do I generate C# code from WADL files?
Asked Answered
A

2

22

I am looking for a code generator than can generate C# code to access RESTful web services described by WADL files in a way similar to how wadl2java works.

Doing som searching I came across the rest-api-code-gen project on Google Code, but although the latest source does in fact support C#, the REST Describe & Compile demo site does not. (The C# button is there, but it's disabled.)

I realize I could download the source and set up my own server with the latest version, but I would prefer not to, as what I need is a command line tool and not a web application with dependencies to Google Web Toolkit. I guess I could write my own a command line tool based on the same source code, but if it has already been done, or other tools can do the job, I'd rather avoid it.

So, I'm wondering, are there any tools like that out there?

Antionetteantioxidant answered 14/7, 2009 at 16:11 Comment(0)
D
2

There is no normal tool for C# and WADL. rest-api-code-gen project seems to be not developing anymore. And may be in future nothing will be changed. There is no definitive opinion about need of WADL for REST and it's non standard like a WSDL

Donetta answered 18/12, 2011 at 17:26 Comment(0)
V
0

Another possible answer: http://code.google.com/p/rest-api-code-gen/

Vaporizer answered 6/5, 2010 at 1:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.