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.

I assume this is not the intended behaviour and I'll raise a JIRA as I don't
see anything recently on this unless someone is in the middle of changes.

Regards

Simon

Reply via email to