Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Java-SCA-2.0-Beta2
-
None
-
None
-
WebSphere SCA
Description
I am running OASIS spec compliance test in another hosting environment. Contribution validation fails with:org.apache.tuscany.sca.monitor.ValidationException: [Contribution: JCA_General_POJO] - [POL30016] Excluded Intent SOAP not found for intent antiSoap
Adding the following to modules\domain-node\src\main\java\org\apache\tuscany\sca\impl\DeployedComposite.java
protected void build() throws ValidationException, ActivationException, ContributionResolveException, CompositeBuilderException {
List<Contribution> contributions = new ArrayList<Contribution>();
contributions.add(contribution);
contributions.get(0).getDeployables().clear();
contributions.get(0).getDeployables().add(composite);
> for (Contribution contribution : dependedOnContributions){
>> if (!contributions.contains(contribution))
> }
resolves the issue. Note however that the >> lines are needed because dependedOnContributions contains redundant contribution entries