[ 
https://issues.apache.org/jira/browse/CXF-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083048#comment-13083048
 ] 

Sergey Beryozkin commented on CXF-3731:
---------------------------------------

I guess one option is to get an instance of WADLGenerator configured with a 
reference to XSLT resource; if HTTP Accept is set to application/xml+html or 
text/html then WADLGenerator will pass the wadl content through that 
stylesheet. 
This can be decoupled a bit by doing it at a later stage, when the response is 
actually written to output stream, by providing a simple XSLT provider. Perhaps 
XSLTJaxbProvider can be made to reuse it...
This is how I'd attempt approaching another enhancement request (return human 
readable WADL rep when requested from a browser, using ?_wadl&type=html for ex).

Would something like this work for you ?

> add a maven plugin which display the wadl content in a more human readable in 
> a maven website
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-3731
>                 URL: https://issues.apache.org/jira/browse/CXF-3731
>             Project: CXF
>          Issue Type: New Feature
>            Reporter: Olivier Lamy
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to