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

Sergey Beryozkin commented on CXF-4924:
---------------------------------------

I've modified one of the demos in our distro, to use the same files I use in 
the tests, all works as expected, I see the (XML) comments in both the top and 
the included files, both .xml and .wadl extensions are OK, example:
{noformat}
GET 
http://localhost:8080/services/membership/bookstoreImportResourceType.xml#bookstoreType
{noformat}
(from the browser)

returns 
{code:xml}
<application><grammars><include 
href="http://localhost:8080/services/membership/schemas/book.xsd"/></grammars><method
 id="addBook" name="POST"><request><representation element="prefix1:thebook" 
mediaType="application/xml"/></request></method><resource_type 
id="bookstoreType"><resource path="/books/{bookid}"><param name="bookid" 
style="template" type="xs:int"/><!-- comment 2 --><method 
href="#addBook"/></resource></resource_type></application>
{code}
 
                
> Many docLocation for a server address
> -------------------------------------
>
>                 Key: CXF-4924
>                 URL: https://issues.apache.org/jira/browse/CXF-4924
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-RS
>            Reporter: Christophe S
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.8.0, 2.5.11, 2.6.8, 2.7.5
>
>
> It would be nice to support many files for the docLocation as we can have 
> many beans in a service.
> For example, I have 3 WADL services at the same address. WADL2JAVA produces 3 
> beans/services. I would like put these 3 beans at the same address and use 
> the 3 WADL service files to produce the documentation. 
> For now I have to have fake addresses to do this use case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to