POJO_9005 references an invalid java class
------------------------------------------

                 Key: TUSCANY-3375
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3375
             Project: Tuscany
          Issue Type: Bug
          Components: OASIS Compliance - OASIS
    Affects Versions: Java-SCA-2.0
            Reporter: Ramkumar Ramalingam
             Fix For: Java-SCA-2.0


Multiple issues noticed in Test_POJO_9005.composite file.

1. The composite name should be "TEST_POJO_9005" instead of "TEST_POJO_9003"

2. The property called testName should have a value POJO_9005 instead of 
POJO_9003.

3. The component name should be TEST_POJO_9005Component1 instead of 
TEST_POJO_9003Component1

4. The implementation.java should use the class 
"org.oasisopen.sca.test.service1ContributionImpl" instead of  
"org.oasisopen.sca.test.x.service1Impl"

Index: Test_POJO_9005.composite
===================================================================
--- Test_POJO_9005.composite    (revision 114)
+++ Test_POJO_9005.composite    (working copy)
@@ -12,7 +12,7 @@
 <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_POJO_9003">
+           name="TEST_POJO_9005">
            
     <component name="TestClient">
                <implementation.composite name="test:TestClient_0002"/>
@@ -20,14 +20,14 @@
                        <interface.wsdl 
interface="http://test.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
             <binding.ws/>
                </service>
-        <reference name="reference1" 
target="TEST_POJO_9003Component1/Service1" />
-        <property name="testName">POJO_9003</property>
+        <reference name="reference1" 
target="TEST_POJO_9005Component1/Service1" />
+        <property name="testName">POJO_9005</property>
     </component>
     
     <!-- Component which has a <implementation.java/> subelement with an 
implementation class that
          should be imported from a second contribution -->
-    <component name="TEST_POJO_9003Component1">
-        <implementation.java class="org.oasisopen.sca.test.x.service1Impl"/>
+    <component name="TEST_POJO_9005Component1">
+        <implementation.java 
class="org.oasisopen.sca.test.service1ContributionImpl"/>
         <service name="Service1">
             <interface.java interface="org.oasisopen.sca.test.Service1"/>
         </service>


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