Remote bidings attached to non-remotable services not reported as a warning in 
some cases
-----------------------------------------------------------------------------------------

                 Key: TUSCANY-1881
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1881
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model, Java SCA Problem Determination
    Affects Versions: Java-SCA-1.0
         Environment: All
            Reporter: Simon Laws
            Assignee: Simon Laws


I seem to remember in the past that adding remote bindings to services with 
interfaces not marked as remotable used to cause and error or a warning.

This cropped up in the domain manager app which defines the following component.

    <component name="DomainManagerComponent">
        <implementation.java 
class="org.apache.tuscany.sca.domain.impl.DomainManagerServiceImpl"/>
        <service name="DomainManagerInitService">
            <interface.java 
interface="org.apache.tuscany.sca.domain.DomainManagerInitService"/>
            <binding.sca/>
        </service>
        <service name="DomainManagerNodeEventService">
            <interface.java 
interface="org.apache.tuscany.sca.domain.DomainManagerNodeEventService"/>
            <binding.ws/>
        </service>
        <service name="DomainManagementService">
            <interface.java 
interface="org.apache.tuscany.sca.domain.management.DomainManagementService"/>
            <t:binding.jsonrpc />
        </service>       
    </component> 

Where the DomainManagementService interface was not marked as remotable when it 
should have been (my mistake) but the interesting effect is that everything 
works except that no databindings are applied to the wires so parameters/return 
types are messed up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to