OASIS fixes required to make POL_4003 work
------------------------------------------

                 Key: TUSCANY-3372
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3372
             Project: Tuscany
          Issue Type: Bug
          Components: OASIS Compliance - OASIS
    Affects Versions: Java-SCA-2.0
         Environment: All
            Reporter: Simon Laws


There seem to be a couple of problems with the test POL_4003

POL_4003/src/main/resources/definitions.xml
   <policySet name="ExtPolicySet" provides="test:testIntent6" 
appliesTo="//binding.ws" 
attachTo="//compone...@name="TEST_POL_4003Component1"]">

this should have the speach marks around TEST_POL_4003Component. Should be 
single quotes otherwise the XML parser gets confused...

  <policySet name="ExtPolicySet" provides="test:testIntent6" 
appliesTo="//binding.ws" 
attachTo="//compone...@name='TEST_POL_4003Component1']">

The second problem is that this applies a policy to binding.ws but there 
doesn't appear to be a binding.ws on the service of the referenced component

General/src/main/resources/Test_POL_4003.composite

    <component name="TEST_POL_4003Component1">
        <implementation.composite name="test:TestComposite0"/>
        <service name="Service1">
            <interface.wsdl 
interface="http://test.sca.oasisopen.org/#wsdl.porttype(Service1)"/>
        </service>
        <property name="serviceName">service1</property>
    </component> 



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