diff options
Diffstat (limited to 'sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources')
18 files changed, 632 insertions, 0 deletions
diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchReference/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchReference/HelloWorld.composite new file mode 100644 index 0000000000..385c456ddf --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchReference/HelloWorld.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + <!-- callback remote wire --> + <component name="AHelloWorldClientCallbackRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientCallbackOnewayRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceCallbackRemote"> + <binding.sca/> + <callback> + <binding.sca uri="http://localhost:8084/AHelloWorldClientCallbackRemote"/> + </callback> + </reference> + </component> + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchReference/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchReference/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..00afc5b7f4 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchReference/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchService/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchService/HelloWorld.composite new file mode 100644 index 0000000000..bab26454ba --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchService/HelloWorld.composite @@ -0,0 +1,38 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + + <!-- callback remote wire --> + <component name="BHelloWorldServiceCallbackRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceCallbackOnewayRemoteImpl" /> + <service name="HelloWorldServiceCallbackOnewayRemote"> + <binding.sca uri="http://localhost:8085/BHelloWorldServiceCallbackRemote"/> + <callback> + <binding.sca/> + </callback> + </service> + </component> + + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchService/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchService/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..00afc5b7f4 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/asynchService/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackReference/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackReference/HelloWorld.composite new file mode 100644 index 0000000000..f02c77a01e --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackReference/HelloWorld.composite @@ -0,0 +1,36 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + <!-- callback remote wire --> + <component name="AHelloWorldClientCallbackRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientCallbackRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceCallbackRemote"> + <binding.sca/> + <callback> + <binding.sca uri="http://localhost:8084/AHelloWorldClientCallbackRemote"/> + </callback> + </reference> + </component> + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackReference/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackReference/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..d7685c6143 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackReference/META-INF/sca-contribution.xml @@ -0,0 +1,24 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackService/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackService/HelloWorld.composite new file mode 100644 index 0000000000..e0fae3c988 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackService/HelloWorld.composite @@ -0,0 +1,43 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + + <!-- callback remote wire --> + <component name="BHelloWorldServiceCallbackRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceCallbackRemoteImpl" /> + <service name="HelloWorldServiceCallbackRemote"> + <binding.sca uri="http://localhost:8085/BHelloWorldServiceCallbackRemote"/> + <callback> + <binding.sca/> + </callback> + </service> + </component> + + <!-- callback local wire --> + <component name="BHelloWorldClientCallbackLocal"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientCallbackRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceCallbackRemote" /> + </component> + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackService/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackService/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..d7685c6143 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/callbackService/META-INF/sca-contribution.xml @@ -0,0 +1,24 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/HelloWorld.composite new file mode 100644 index 0000000000..dece7b0d63 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/HelloWorld.composite @@ -0,0 +1,33 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + + <!-- composite hierarchy --> + <component name="AHelloWorldClientRemotePromotion"> + <implementation.composite name="sample:HelloWorldComponent" /> + <reference name="AHelloWorldClientRemoteReference" target="BHelloWorldServiceRemotePromotion"/> + </component> + + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/HelloWorldComponent.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/HelloWorldComponent.composite new file mode 100644 index 0000000000..4579442a99 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/HelloWorldComponent.composite @@ -0,0 +1,37 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorldComponent"> + + <service name="AHelloWorldClientRemoteService" promote="AHelloWorldClientRemoteComponent"> + <interface.java interface="org.apache.tuscany.sca.binding.sca.axis2.helloworld.HelloWorldClient"/> + </service> + + <reference name="AHelloWorldClientRemoteReference" promote="AHelloWorldClientRemoteComponent/helloWorldService"> + <interface.java interface="org.apache.tuscany.sca.binding.sca.axis2.helloworld.HelloWorldServiceRemote"/> + </reference> + + <component name="AHelloWorldClientRemoteComponent"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientRemoteImpl"/> + </component> + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..00afc5b7f4 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionReference/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/HelloWorld.composite new file mode 100644 index 0000000000..00ac746111 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/HelloWorld.composite @@ -0,0 +1,35 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + + <!-- composite hierarchy --> + <component name="BHelloWorldServiceRemotePromotion"> + <implementation.composite name="sample:HelloWorldComponent" /> + <service name="BHelloWorldServiceRemoteService"> + <binding.sca uri="http://localhost:8085/BHelloWorldServiceRemotePromotion"/> + </service> + </component> + + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/HelloWorldComponent.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/HelloWorldComponent.composite new file mode 100644 index 0000000000..944dd0b625 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/HelloWorldComponent.composite @@ -0,0 +1,37 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorldComponent"> + + <service name="BHelloWorldServiceRemoteService" + promote="BHelloWorldServiceRemoteComponent/HelloWorldServiceRemote"/> + + <component name="BHelloWorldServiceRemoteComponent"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceRemoteImpl"/> + </component> + + <component name="BHelloWorldServiceLocalAndRemoteNested"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceRemoteImpl" /> + </component> + + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..00afc5b7f4 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/promotionService/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleReference/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleReference/HelloWorld.composite new file mode 100644 index 0000000000..87945b6692 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleReference/HelloWorld.composite @@ -0,0 +1,67 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + + <!-- local only wire --> + <component name="AHelloWorldClientLocal"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientLocalImpl"/> + <reference name="helloWorldService" target="AHelloWorldServiceLocal" /> + </component> + + <component name="AHelloWorldServiceLocal"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceLocalImpl" /> + </component> + + <!-- unresolved remote wire --> + <component name="AHelloWorldClientRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceRemote" /> + </component> + + <!-- local and remote wires --> + <component name="AHelloWorldClientLocalAndRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceLocalAndRemote"/> + </component> + + <!-- multiple services --> + <component name="AHelloWorldClientMultipleServices"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceMultipleServices/HelloWorldServiceRemote"/> + </component> + + <component name="AHelloWorldClientMultipleServices2"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientRemote2Impl" /> + <reference name="helloWorldService" target="BHelloWorldServiceMultipleServices/HelloWorldServiceRemote2"/> + </component> + + <!-- multiple bindings --> + <component name="AHelloWorldClientMultipleBindings"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldMultipleBindings/HelloWorldServiceRemote/scaBinding"> + <interface.java interface="org.apache.tuscany.sca.binding.sca.axis2.helloworld.HelloWorldServiceRemote" /> + </reference> + </component> + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleReference/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleReference/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..00afc5b7f4 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleReference/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleService/HelloWorld.composite b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleService/HelloWorld.composite new file mode 100644 index 0000000000..f94b6d3ba0 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleService/HelloWorld.composite @@ -0,0 +1,84 @@ +<?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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + targetNamespace="http://sample" + xmlns:sample="http://sample" + name="HelloWorld"> + + + <!-- local only wire --> + + + <!-- unresolved remote wire --> + <component name="BHelloWorldServiceRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceRemoteImpl" /> + <service name="HelloWorldServiceRemote"> + <binding.sca uri="http://localhost:8085/BHelloWorldServiceRemote"/> + </service> + </component> + + <!-- local and remote wires --> + <component name="BHelloWorldServiceLocalAndRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceRemoteImpl" /> + <service name="HelloWorldServiceRemote"> + <binding.sca uri="http://localhost:8085/BHelloWorldServiceLocalAndRemote"/> + </service> + </component> + + <component name="BHelloWorldClientLocalAndRemote"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientRemoteImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceLocalAndRemote" /> + </component> + + <!-- multiple services --> + <component name="BHelloWorldServiceMultipleServices"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceMultipleServicesImpl" /> + <service name="HelloWorldServiceLocal"> + </service> + <service name="HelloWorldServiceRemote"> + <binding.sca uri="http://localhost:8085/BHelloWorldServiceMultipleServices/HelloWorldServiceRemote"/> + </service> + <service name="HelloWorldServiceRemote2"> + <binding.sca uri="http://localhost:8085/BHelloWorldServiceMultipleServices/HelloWorldServiceRemote2"/> + </service> + </component> + + <component name="BHelloWorldClientMultipleServices"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldClientLocalImpl" /> + <reference name="helloWorldService" target="BHelloWorldServiceMultipleServices/HelloWorldServiceLocal" /> + </component> + + <!-- multiple bindings --> + <component name="BHelloWorldMultipleBindings"> + <implementation.java class="org.apache.tuscany.sca.binding.sca.axis2.helloworld.impl.HelloWorldServiceRemoteImpl" /> + <service name="HelloWorldServiceRemote"> + <interface.java interface="org.apache.tuscany.sca.binding.sca.axis2.helloworld.HelloWorldServiceRemote" /> + <binding.ws name="wsBinding" uri="http://localhost:8085/BHelloWorldMultipleBindings/HelloWorldServiceRemote-wsbinding"/> + <binding.sca name="scaBinding" uri="http://localhost:8085/BHelloWorldMultipleBindings/HelloWorldServiceRemote-scabinding"/> + </service> + </component> + + + <!-- Dynamic interfaces --> + <!--component name="BHelloWorldServiceScript"> + <implementation.script script="calculator/AddServiceImpl.js"/> + </component--> + +</composite> diff --git a/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleService/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleService/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..00afc5b7f4 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4-RC2/modules/binding-sca-axis2-runtime/src/test/resources/simpleService/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:sample="http://sample"> + <deployable composite="sample:HelloWorld"/> +</contribution>
\ No newline at end of file |