diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-04 13:16:38 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-04 13:16:38 +0000 |
commit | ae1b4d8e700214361d0d6275badf78e478bb9632 (patch) | |
tree | 2d08054104c91b49fec0f0dde651ff10125c37a8 /java/sca/itest/validation/src/main | |
parent | e8e8ff714e7904f662191b594285ef91e2681671 (diff) |
Fix the AttributeURIMissing validation test. included an sca-contribution.xml
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@674042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest/validation/src/main')
2 files changed, 26 insertions, 1 deletions
diff --git a/java/sca/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite b/java/sca/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite index d7fa82635e..6e5fcf1286 100644 --- a/java/sca/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite +++ b/java/sca/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite @@ -22,7 +22,7 @@ targetNamespace="http://calc" name="Calculator"> - <export.resource xmlns:ns="http://ns"/> + <!-- export.resource xmlns:ns="http://ns"/--> <service name="CalculatorService" promote="CalculatorServiceComponent"> <interface.java interface="calculator.warning.CalculatorService"/> diff --git a/java/sca/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml b/java/sca/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..8a2a1a23be --- /dev/null +++ b/java/sca/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0" + targetNamespace="http://calc" + xmlns:calc="http://calc"> + <deployable composite="calc:Calculator"/> + <import.resource xmlns="http://www.osoa.org/xmlns/sca/1.0"/> +</contribution>
\ No newline at end of file |