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

Sergey Beryozkin commented on CXF-5881:
---------------------------------------

nexus.wadl and ns0.xsd schema have errors. 
ns0.xsd has a duplicate 'plexusComponentListResourceResponse' complexType 
declaration - one needs to be removed.
nexus.wadl resource at "/service/local/plexus_user/{userSource}/{userId}" has a 
duplicate 'sourceId' template parameter - one needs to be removed too.
As such the JIRA issue is invalid, however I'll play a bit later on and see if 
a linking to generated schema types can work, nexus.wadl uses non schema 
namespace qualified references so no linking is done but ns0.xsd has a schema 
without a target namespace so may be it can be supported...


> wadl2java failed on nexus wadl
> ------------------------------
>
>                 Key: CXF-5881
>                 URL: https://issues.apache.org/jira/browse/CXF-5881
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.12
>            Reporter: Alexey Markevich
>         Attachments: nexus.wadl, ns0.xsd, pom.xml
>
>
> nexus-2.8.1-01-bundle started;
> Error:
> f:\wadl2java\target\generated-sources\cxf\application\ServiceLocalPlexususerUserSourceUserIdResource.java:[17,87]
>  error: variable sourceId is already defined in method get



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to