Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The OASIS conformance test JCA_9016 test various incantations of the SCAClientFactory.newInstance method but the Service1SCAClientImpl class does not have validDomainURI correctly set so the test fails.
One problem is that the domain URIs are created in the constructor from properties but the property values don't get initialized until after the constructor has run.
Another issue is going to be what is a valid domain name. Maybe the test could use the name of the domain that the test component is running in, which it should be able to get with ComponentContext.getURI which should return the absolute URI of the component in the SCA Domain so as the test can know the relative uri of the test component it can remove that to get the domain name. (this wont actually work in Tuscany yet as ComponentContext.getURI doesn't return the absolute URI, but we can fix that)