Hi,
    I have started putting together some JAX-RS endpoints for my app. I would like to have a WADL for the whole app.
So following the User Guide I have added the following dependencies to my pom

        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jaxrs</artifactId>
            <version>3.0.24.Final</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-wadl</artifactId>
            <version>3.0.24.Final</version>
        </dependency>
        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-wadl-undertow-connector</artifactId>
            <version>3.0.24.Final</version>
        </dependency>
        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-undertow</artifactId>
            <version>3.0.24.Final</version>
        </dependency>

I have put in place a simple class to enable the JAX-RS endpoints

@ApplicationPath("/")
public class RestApp extends Application {
}

The JAX-RS end points are working as expected. When I try the wadl endpoint /application.xml. I get the following :

<application xmlns="http://wadl.dev.java.net/2009/02"/>

So it looks like I am missing the endpoints from the WADL

I have overridden the json serialization/deserialization so that it uses Gson

I see a code example in the user guide

 UndertowJaxrsServer server = new UndertowJaxrsServer().start();
WadlUndertowConnector connector = new WadlUndertowConnector();
connector.deployToServer(server, MyApp.class); 

Do I need to add this code somewhere?

Thanks in advance

Cheers, Simon















--
Simon Poet
Software Developer
Miles33