[jboss-jira] [JBoss JIRA] (WFLY-7419) Add resteasy wadl as a module

Frank Langelage (JIRA) issues at jboss.org
Mon Oct 31 08:50:00 EDT 2016


    [ https://issues.jboss.org/browse/WFLY-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13314114#comment-13314114 ] 

Frank Langelage commented on WFLY-7419:
---------------------------------------

This just adds the module.
If you want to use it, in your REST application it's necessary to reference this module in your jboss-deployment-structure.xml:
{code:xml}
    <sub-deployment name="rs-sales.war">
        <dependencies>
            <module name="org.jboss.resteasy.resteasy-wadl"/>
        </dependencies>
    </sub-deployment>
{code}
and also add servlet mapping to your web.xml file:
{code:xml}
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1">
    <servlet>
        <servlet-name>WADL</servlet-name>
        <servlet-class>org.jboss.resteasy.wadl.ResteasyWadlServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>WADL</servlet-name>
        <url-pattern>/application.wadl</url-pattern>
    </servlet-mapping>
</web-app>
{code}


> Add resteasy wadl as a module
> -----------------------------
>
>                 Key: WFLY-7419
>                 URL: https://issues.jboss.org/browse/WFLY-7419
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: REST
>    Affects Versions: 10.1.0.Final, 11.0.0.Alpha1
>            Reporter: Frank Langelage
>            Assignee: Alessio Soldano
>             Fix For: 10.2.0.Final, 11.0.0.Alpha1
>
>




--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the jboss-jira mailing list