diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-25 05:37:43 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-25 05:37:43 +0000 |
commit | a00b85195f048fd20159f9c0b3785afdd89ec056 (patch) | |
tree | 6f5e022fa2f01f328a6706bf8abcbd84f4c18baf /java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient5.composite | |
parent | ff9010d1a7629a9ed6a907085b8fd14b9b13e849 (diff) |
Added a variation of HelloWorldClient that doesn't use any Tuscany specific APIs, only the SCA spec standard programming model. Applied the same idea to calculator in a new calculator-lean module to show how this pattern works with just components (helloworld-ws-reference-lean used a reference with a WS binding). Also started to show how test cases can use the same pattern in calculator-lean.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@688620 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient5.composite | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient5.composite b/java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient5.composite new file mode 100644 index 0000000000..bbac4c3703 --- /dev/null +++ b/java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient5.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://www.osoa.org/xmlns/sca/1.0" + targetNamespace="http://helloworld" + xmlns:hw="http://helloworld" + name="helloworldwsclient"> + + <!-- A component representing the client program --> + <component name="HelloWorldClient5"> + <implementation.java class="helloworld.HelloWorldClient5"/> + <reference name="helloWorldService"> + <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"/> + </reference> + </component> + +</composite> |