diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-20 00:43:40 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-20 00:43:40 +0000 |
commit | 1810e4d00e9d721f7607cbf11c878b40e4f670ec (patch) | |
tree | e413d29ae0e59fab601880318586a7ca933a2d9e /java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient2.composite | |
parent | fceecb89a459f34500d1b3ea6dc1466ba8d29fd7 (diff) |
Minor code cleanup. Moved different SCDL variations to different composite files. Added one more variation that shows how to use the SCA ComponentContext interface.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@687211 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient2.composite')
-rw-r--r-- | java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient2.composite | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient2.composite b/java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient2.composite new file mode 100644 index 0000000000..6ea14602b3 --- /dev/null +++ b/java/sca/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient2.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="HelloWorldClient2"> + <implementation.java class="helloworld.HelloWorldClient2"/> + <reference name="helloWorldService"> + <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"/> + </reference> + </component> + +</composite> |