Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

How do I generate WADL from RESTful Java code?

$
0
0

I have a simple RESTful service in IntelliJ IDEA 12.1.3 Ultimate.

 

I've tested it.  It works.  Now I want to create a Java client for this service and need a WADL.

 

Per the instructions at http://wiki.jetbrains.net/intellij/RESTful_WebService , I right clicked my class and went to "Web Services -> RESTful Web Services" only to find the menuitem "Generate WADL from Java Code" disabled.

 

What have I done wrong?

 

Here's the code:

package com.mybiz;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

@Path("/greeting")
public class Greeter {
    @GET    @Produces("text/plain")    public String hello() {        return "Hi!";    }
}

Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>