[
https://issues.apache.org/jira/browse/SYNCOPE-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290657#comment-14290657
]
Francesco Chicchiriccò commented on SYNCOPE-630:
------------------------------------------------
I have tested by adding
{code}
<property name="ignoreOverloadedMethods" value="true"/>
{code}
to {{core/src/main/resources/restContext.xml}} and
{code}
<ignoreOverloadedMethods>true</ignoreOverloadedMethods>
{code}
to {{common/pom.xml}} under the {{offline-doc profile}} for the
{{cxf-java2wadl-plugin}} and I don't have any error + a single method is
generated for GET {{/resources}}.
In the e-mail thread referenced above you mention alternative solutions; would
renaming {{ResourceService#list(Long)}} to {{ResourceService#filter(Long)}} fix
the issue anyway?
> Eliminate duplicate Syncope WADL methods
> ----------------------------------------
>
> Key: SYNCOPE-630
> URL: https://issues.apache.org/jira/browse/SYNCOPE-630
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.1.8, 1.2.1
> Reporter: Sergey Beryozkin
> Priority: Minor
> Fix For: 1.2.2, 1.3.0
>
>
> See A "Minor Syncope WADL issue" [dev email
> thread|http://markmail.org/message/utoomopbte6awen4]. The auto-generated WADL
> has duplicate resource methods for one of the resources which is actually not
> an error per se but it makes it difficult to convert such WADL back to Java
> with Java to wadl tools.
> One of the options is to set a new 'ignoreOverloadedMethods' WADLGenerator
> property to true.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)