Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-2.x
-
None
-
None
-
All
Description
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="//component[@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="//component[@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>