Implement Support for @Remote attribute in in <interface.java/>
---------------------------------------------------------------

                 Key: TUSCANY-3290
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3290
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Java Implementation Extension, OASIS Compliance 
- TUSCANY
    Affects Versions: Java-SCA-2.0
            Reporter: Luciano Resende
             Fix For: Java-SCA-2.0


My testcase is complex and I'm trying to test an error case, not a working 
case. Here's the top level composite:

<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903";
targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903";
xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903";
name="TEST_JCA_3009">

<component name="TestClient">
<implementation.composite name="test:TestClient_0002"/>
<service name="TestInvocation">
<interface.wsdl 
interface="http://test.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
<binding.ws/>
</service>
<reference name="reference1" target="TEST_JCA_3009Component1/Service1" />
<property name="testName">JCA_3009</property>
</component>

<component name="TEST_JCA_3009Component1">
<implementation.java class="org.oasisopen.sca.test.service1Impl"/>
<service name="Service1">
<interface.java interface="org.oasisopen.sca.test.Service1" remotable="false"/>
</service>
<property name="serviceName">service1</property>
</component>

</composite>

Notice the @remotable attribute on the interface of Service1 in 
TEST_JCA_3009Component1. The Service1 interface class is remotable.

package org.oasisopen.sca.test;

import org.oasisopen.sca.annotation.Remotable;

/**
* A test service interface
* @author MikeEdwards
*
*/
@Remotable
public interface Service1 {

/**
* Method for invoking testcase service
* @param input - input parameter(s) as a String
* @return - output data as a String
*/
public String operation1( String input );

}

The test case runs to successful completion, no errors. The runtime does not 
flag the remotable="false" error.

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

Reply via email to