Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I generate C# code from WADL files?

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?

like image 392
Anders Sandvig Avatar asked Jul 14 '09 16:07

Anders Sandvig


1 Answers

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

like image 90
Regfor Avatar answered Oct 06 '22 00:10

Regfor