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

Sergey Beryozkin commented on SYNCOPE-285:
------------------------------------------

Hi, in this case the JAX-RS selection algorithm will treat both methods as 
equal candidates: Path is the same (the fact that template vars are named 
differently does not matter) and HTTP Verb and Produces (*/*) are the same. So 
it becomes unpredictable, so as Andrei pointed out, the portable way to fix it 
is to introduce say some difference in Path values. CXF specifics 
(ResourceComparator) becomes important only when it is important to keep the 
code intract (ex, Path can not be changed, etc)...
                
> Complete CXF migration
> ----------------------
>
>                 Key: SYNCOPE-285
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-285
>             Project: Syncope
>          Issue Type: Bug
>            Reporter: Francesco Chicchiriccò
>             Fix For: 1.2.0
>
>
> Complete the migration to Apache CXF.

--
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