[
https://issues.apache.org/jira/browse/TUSCANY-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127124#comment-13127124
]
Glen Conboy commented on TUSCANY-3962:
--------------------------------------
I think that you are on the right track but the interface that it's complaining
about is only used in an @Reference. It's the interface for a remote RMI
service that I want to use.
The interface does contain overloaded methods but I think that this should be
allowed for an @Reference.
I'll attach some example code.
> JCA20001 should not apply to interfaces which Tuscancy references
> -----------------------------------------------------------------
>
> Key: TUSCANY-3962
> URL: https://issues.apache.org/jira/browse/TUSCANY-3962
> Project: Tuscany
> Issue Type: Bug
> Components: OASIS Compliance - TUSCANY
> Affects Versions: Java-SCA-2.0-Beta3
> Environment: WindowsXP SP3
> Reporter: Glen Conboy
>
> I have a component which references a Java RMI interface.
> When I try to run Tuscany I get this error:
> org.apache.tuscany.sca.interfacedef.OverloadedOperationException: [JCA20001]
> Cannot overload operation xyz on aaa.bbb.ccc.ddd.ServerInterface as it is a
> @Remotable interface
> JCA20001 basically states "Remotable Services MUST NOT make use of method
> overloading". However I think that this should only apply to services which
> Tuscany is exposing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira