You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2007/03/15 07:17:32 UTC

svn commit: r518494 - in /incubator/tuscany/branches/sca-java-integration: sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/ sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/ sca/kernel/core/src/main/java/org...

Author: rfeng
Date: Wed Mar 14 23:17:31 2007
New Revision: 518494

URL: http://svn.apache.org/viewvc?view=rev&rev=518494
Log:
[sca-integration-branch] Fix for TUSCANY-1165 by deferring the full java introspection after the whole composite is loaded

Modified:
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/InterfaceJavaLoader.java
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/JavaInterfaceProcessorRegistryImpl.java
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/CompositeLoader.java
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaComponentTypeLoader.java
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceImpl.java
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceTestCase.java
    incubator/tuscany/branches/sca-java-integration/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/idl/java/InterfaceJavaIntrospector.java
    incubator/tuscany/branches/sca-java-integration/testing/sca/itest/exceptions-crossBinding/src/main/resources/intracomposite.composite
    incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/resources/SDOWSDLTest.composite

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/InterfaceJavaLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/InterfaceJavaLoader.java?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/InterfaceJavaLoader.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/InterfaceJavaLoader.java Wed Mar 14 23:17:31 2007
@@ -99,7 +99,7 @@
         }
         JavaServiceContract serviceContract;
         try {
-            serviceContract = interfaceRegsitry.introspect(interfaceClass, callbackClass);
+            serviceContract = interfaceRegsitry.introspect(interfaceClass, callbackClass, false);
         } catch (InvalidServiceContractException e) {
             throw new LoaderException(interfaceClass.getName(), e);
         }

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/JavaInterfaceProcessorRegistryImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/JavaInterfaceProcessorRegistryImpl.java?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/JavaInterfaceProcessorRegistryImpl.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/idl/java/JavaInterfaceProcessorRegistryImpl.java Wed Mar 14 23:17:31 2007
@@ -68,6 +68,10 @@
     }
 
     public <T> JavaServiceContract introspect(Class<T> type) throws InvalidServiceContractException {
+        return introspect(type, true);
+    }
+
+    public <T> JavaServiceContract introspect(Class<T> type, boolean deep) throws InvalidServiceContractException {
         Class<?> callbackClass = null;
         Callback callback = type.getAnnotation(Callback.class);
         if (callback != null && !Void.class.equals(callback.value())) {
@@ -75,14 +79,20 @@
         } else if (callback != null && Void.class.equals(callback.value())) {
             throw new IllegalCallbackException("No callback interface specified on annotation", type.getName());
         }
-        return introspect(type, callbackClass);
-    }
-
-    public <I, C> JavaServiceContract introspect(Class<I> type, Class<C> callback)
+        return introspect(type, callbackClass, deep);
+    }    
+    public <I, C> JavaServiceContract introspect(Class<I> type, Class<C> callback, boolean deep)
         throws InvalidServiceContractException {
         JavaServiceContract contract = new JavaServiceContract();
         contract.setInterfaceName(getBaseName(type));
         contract.setInterfaceClass(type);
+        if (callback != null) {
+            contract.setCallbackName(getBaseName(callback));
+            contract.setCallbackClass(callback);
+        }
+        if (!deep) {
+            return contract;
+        }
         boolean remotable = type.isAnnotationPresent(Remotable.class);
         contract.setRemotable(remotable);
         Scope interactionScope = type.getAnnotation(Scope.class);
@@ -96,8 +106,6 @@
         contract.setOperations(getOperations(type, remotable, conversational));
 
         if (callback != null) {
-            contract.setCallbackName(getBaseName(callback));
-            contract.setCallbackClass(callback);
             contract.setCallbackOperations(getOperations(callback, remotable, conversational));
         }
 

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/CompositeLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/CompositeLoader.java?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/CompositeLoader.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/CompositeLoader.java Wed Mar 14 23:17:31 2007
@@ -36,6 +36,9 @@
 import org.apache.tuscany.spi.deployer.CompositeClassLoader;
 import org.apache.tuscany.spi.deployer.DeploymentContext;
 import org.apache.tuscany.spi.extension.LoaderExtension;
+import org.apache.tuscany.spi.idl.InvalidServiceContractException;
+import org.apache.tuscany.spi.idl.java.JavaInterfaceProcessorRegistry;
+import org.apache.tuscany.spi.idl.java.JavaServiceContract;
 import org.apache.tuscany.spi.loader.InvalidServiceException;
 import org.apache.tuscany.spi.loader.InvalidWireException;
 import org.apache.tuscany.spi.loader.LoaderException;
@@ -49,6 +52,7 @@
 import org.apache.tuscany.spi.model.Property;
 import org.apache.tuscany.spi.model.ReferenceDefinition;
 import org.apache.tuscany.spi.model.ReferenceTarget;
+import org.apache.tuscany.spi.model.ServiceContract;
 import org.apache.tuscany.spi.model.ServiceDefinition;
 import org.apache.tuscany.spi.model.WireDefinition;
 import org.apache.tuscany.spi.services.artifact.Artifact;
@@ -65,6 +69,9 @@
     public static final QName COMPOSITE = new QName(SCA_NS, "composite");
     public static final String URI_DELIMITER = "/";
 
+    @Autowire
+    protected JavaInterfaceProcessorRegistry processorRegistry;
+
     private final ArtifactRepository artifactRepository;
 
     public CompositeLoader(@Autowire LoaderRegistry registry, @Autowire ArtifactRepository artifactRepository) {
@@ -136,10 +143,39 @@
                     }
             }
         }
+        processJavaInterfaces(composite);
         for (ComponentDefinition<? extends Implementation<?>> c : composite.getComponents().values()) {
+            processJavaInterfaces(c.getImplementation().getComponentType());
             PropertyHelper.processProperties(composite, c, deploymentContext);
         }
         return composite;
+    }
+    
+    protected void processJavaInterfaces(ComponentType componentType) throws LoaderException {
+        if (processorRegistry == null) {
+            return;
+        }
+        try {
+            for (Object s : componentType.getServices().values()) {
+                ServiceContract<?> contract = ((ServiceDefinition)s).getServiceContract();
+                if (JavaServiceContract.class.isInstance(contract)) {
+                    contract =
+                        processorRegistry.introspect(contract.getInterfaceClass(), contract.getCallbackClass(), true);
+                    ((ServiceDefinition)s).setServiceContract(contract);
+                }
+            }
+            for (Object r : componentType.getReferences().values()) {
+                ServiceContract<?> contract = ((ReferenceDefinition)r).getServiceContract();
+                if (JavaServiceContract.class.isInstance(contract)) {
+                    contract =
+                        processorRegistry.introspect(contract.getInterfaceClass(), contract.getCallbackClass(), true);
+                    ((ReferenceDefinition)r).setServiceContract(contract);
+                }
+            }
+        } catch (InvalidServiceContractException e) {
+            throw new LoaderException(e);
+        }
+
     }
 
     protected void resolveWires(CompositeComponentType<ServiceDefinition, ReferenceDefinition, Property<?>> composite)

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaComponentTypeLoader.java?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaComponentTypeLoader.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaComponentTypeLoader.java Wed Mar 14 23:17:31 2007
@@ -26,6 +26,9 @@
 import org.apache.tuscany.spi.component.CompositeComponent;
 import org.apache.tuscany.spi.deployer.DeploymentContext;
 import org.apache.tuscany.spi.extension.ComponentTypeLoaderExtension;
+import org.apache.tuscany.spi.idl.InvalidServiceContractException;
+import org.apache.tuscany.spi.idl.java.JavaInterfaceProcessorRegistry;
+import org.apache.tuscany.spi.idl.java.JavaServiceContract;
 import org.apache.tuscany.spi.implementation.java.IntrospectionRegistry;
 import org.apache.tuscany.spi.implementation.java.Introspector;
 import org.apache.tuscany.spi.implementation.java.JavaMappedProperty;
@@ -43,11 +46,15 @@
  * @version $Rev$ $Date$
  */
 public class JavaComponentTypeLoader extends ComponentTypeLoaderExtension<JavaImplementation> {
+    @Autowire
+    protected JavaInterfaceProcessorRegistry processorRegistry;
+
     private Introspector introspector;
 
-    @Constructor({"registry", "introspector"})
-    public JavaComponentTypeLoader(@Autowire LoaderRegistry loaderRegistry,
-                                   @Autowire IntrospectionRegistry introspector) {
+    @Constructor( {"registry", "introspector"})
+    public JavaComponentTypeLoader(@Autowire
+    LoaderRegistry loaderRegistry, @Autowire
+    IntrospectionRegistry introspector) {
         super(loaderRegistry);
         this.introspector = introspector;
     }
@@ -57,27 +64,39 @@
         return JavaImplementation.class;
     }
 
-    public void load(CompositeComponent parent,
-                     JavaImplementation implementation,
-                     DeploymentContext deploymentContext) throws LoaderException {
+    public void load(CompositeComponent parent, JavaImplementation implementation, DeploymentContext deploymentContext)
+        throws LoaderException {
         Class<?> implClass = implementation.getImplementationClass();
         PojoComponentType componentType = loadByIntrospection(parent, implementation, deploymentContext);
         URL resource = implClass.getResource(JavaIntrospectionHelper.getBaseName(implClass) + ".componentType");
         if (resource != null) {
-            // TODO: TUSCANY-1111, How to merge the component type loaded from the file into the PojoComponentType 
+            // TODO: TUSCANY-1111, How to merge the component type loaded from the file into the PojoComponentType
             PojoComponentType sideFileCT = loadFromSidefile(parent, resource, deploymentContext);
 
             // TODO: TUSCANY-1111, hack to get the sidefile defined WSDLServiceContract used
             // only works with a single service
             Iterator it = componentType.getServices().values().iterator();
             for (Object o : sideFileCT.getServices().values()) {
-                ServiceDefinition sideFileSD = (ServiceDefinition) o;
+                ServiceDefinition sideFileSD = (ServiceDefinition)o;
                 ServiceDefinition actualSD = (ServiceDefinition)it.next();
                 ServiceContract<?> newServiceContract = sideFileSD.getServiceContract();
-                // TODO: TUSCANY-1111, runtime requires interfaceClass 
+                ServiceContract<?> contract = actualSD.getServiceContract();
+                if (JavaServiceContract.class.isInstance(contract)) {
+                    try {
+                        // [rfeng] AS we now defer the java interface processing for TUSCANY-1165
+                        // We need to do the full introspection now
+                        contract =
+                            processorRegistry.introspect(contract.getInterfaceClass(),
+                                                         contract.getCallbackClass(),
+                                                         true);
+                    } catch (InvalidServiceContractException e) {
+                        throw new LoaderException(e);
+                    }
+                }
+                // TODO: TUSCANY-1111, runtime requires interfaceClass
                 // but currently there's no way of gen'ing that from WSDL
-                newServiceContract.setInterfaceClass(actualSD.getServiceContract().getInterfaceClass());
-                newServiceContract.setDataBinding(actualSD.getServiceContract().getDataBinding());
+                newServiceContract.setInterfaceClass(contract.getInterfaceClass());
+                newServiceContract.setDataBinding(contract.getDataBinding());
                 actualSD.setServiceContract(newServiceContract);
             }
         }
@@ -94,9 +113,8 @@
         return componentType;
     }
 
-    protected PojoComponentType loadFromSidefile(CompositeComponent parent,
-                                                 URL url,
-                                                 DeploymentContext deploymentContext) throws LoaderException {
+    protected PojoComponentType loadFromSidefile(CompositeComponent parent, URL url, DeploymentContext deploymentContext)
+        throws LoaderException {
         PojoComponentType<JavaMappedService, JavaMappedReference, JavaMappedProperty<?>> componentType =
             new PojoComponentType<JavaMappedService, JavaMappedReference, JavaMappedProperty<?>>();
         return loaderRegistry.load(parent, componentType, url, PojoComponentType.class, deploymentContext);

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceImpl.java?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceImpl.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceImpl.java Wed Mar 14 23:17:31 2007
@@ -67,7 +67,7 @@
         JavaMappedService service = new JavaMappedService();
         service.setName(interfaze.getSimpleName());
         service.setRemotable(interfaze.getAnnotation(Remotable.class) != null);
-        ServiceContract<?> contract = registry.introspect(interfaze);
+        ServiceContract<?> contract = registry.introspect(interfaze, false);
         service.setServiceContract(contract);
         return service;
     }
@@ -153,7 +153,7 @@
         reference.setRequired(false);
         ServiceContract contract;
         try {
-            contract = registry.introspect(paramType);
+            contract = registry.introspect(paramType, false);
         } catch (InvalidServiceContractException e1) {
             throw new ProcessingException(e1);
         }
@@ -256,7 +256,7 @@
                 }
             }
             Class<?> baseType = getBaseType(rawType, genericParam);
-            ServiceContract<?> contract = registry.introspect(baseType);
+            ServiceContract<?> contract = registry.introspect(baseType, false);
             reference.setServiceContract(contract);
         } catch (InvalidServiceContractException e) {
             throw new ProcessingException(e);
@@ -386,7 +386,7 @@
                 }
             }
             Class<?> baseType = getBaseType(rawType, genericParam);
-            ServiceContract<?> contract = registry.introspect(baseType);
+            ServiceContract<?> contract = registry.introspect(baseType, false);
             reference.setServiceContract(contract);
         } catch (InvalidServiceContractException e) {
             throw new ProcessingException(e);

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceTestCase.java?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/processor/ImplementationProcessorServiceTestCase.java Wed Mar 14 23:17:31 2007
@@ -29,6 +29,7 @@
 import org.osoa.sca.annotations.Scope;
 
 import org.apache.tuscany.spi.databinding.extension.SimpleTypeMapperExtension;
+import org.apache.tuscany.spi.idl.java.JavaInterfaceProcessorRegistry;
 import org.apache.tuscany.spi.implementation.java.ImplementationProcessorService;
 import org.apache.tuscany.spi.implementation.java.JavaMappedProperty;
 import org.apache.tuscany.spi.implementation.java.JavaMappedReference;
@@ -44,12 +45,13 @@
  * @version $Rev$ $Date$
  */
 public class ImplementationProcessorServiceTestCase extends TestCase {
+    private JavaInterfaceProcessorRegistry registry = new JavaInterfaceProcessorRegistryImpl();
+    private ImplementationProcessorService implService = new ImplementationProcessorServiceImpl(registry);
 
-    private ImplementationProcessorService implService =
-        new ImplementationProcessorServiceImpl(new JavaInterfaceProcessorRegistryImpl());
 
     public void testCreateConversationalService() throws Exception {
         JavaMappedService service = implService.createService(Foo.class);
+        service.setServiceContract(registry.introspect(Foo.class, true));
         assertTrue(Foo.class.equals(service.getServiceContract().getInterfaceClass()));
         assertTrue(service.isRemotable());
         assertEquals(InteractionScope.CONVERSATIONAL, service.getServiceContract().getInteractionScope());
@@ -60,6 +62,7 @@
 
     public void testCreateDefaultService() throws Exception {
         JavaMappedService service = implService.createService(Baz.class);
+        service.setServiceContract(registry.introspect(Baz.class, true));
         assertTrue(Baz.class.equals(service.getServiceContract().getInterfaceClass()));
         assertTrue(!service.isRemotable());
         assertEquals(InteractionScope.NONCONVERSATIONAL, service.getServiceContract().getInteractionScope());

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/idl/java/InterfaceJavaIntrospector.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/idl/java/InterfaceJavaIntrospector.java?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/idl/java/InterfaceJavaIntrospector.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/idl/java/InterfaceJavaIntrospector.java Wed Mar 14 23:17:31 2007
@@ -38,9 +38,20 @@
     /**
      * Introspect a Java interface and return a service contract definition.
      *
+     * @param type the interface to inspect
+     * @param deep Indicate if deep introspection is required
+     * @return a JavaServiceContract corresponding to the Java interface
+     */
+    <I> JavaServiceContract introspect(Class<I> type, boolean deep) throws InvalidServiceContractException;
+    
+    /**
+     * Introspect a Java interface and return a service contract definition.
+     *
      * @param type     the interface to inspect
      * @param callback the callback interface to inspec
+     * @param deep Indicate if deep introspection is required
      * @return a JavaServiceContract corresponding to the Java interface
      */
-    <I, C> JavaServiceContract introspect(Class<I> type, Class<C> callback) throws InvalidServiceContractException;
+    <I, C> JavaServiceContract introspect(Class<I> type, Class<C> callback, boolean deep)
+        throws InvalidServiceContractException;
 }

Modified: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/exceptions-crossBinding/src/main/resources/intracomposite.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/exceptions-crossBinding/src/main/resources/intracomposite.composite?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/exceptions-crossBinding/src/main/resources/intracomposite.composite (original)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/exceptions-crossBinding/src/main/resources/intracomposite.composite Wed Mar 14 23:17:31 2007
@@ -20,8 +20,6 @@
 <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:foo="http://foo"
     xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0" name="intracomposite">
 
-    <dbsdo:import.sdo factory="stockexceptiontestservice.scatesttool.ScatesttoolFactory" />
-
     <component name="stockTraderSDOComponent">
         <implementation.java class="org.apache.tuscany.sca.test.exceptions.impl.StockTraderSDOImpl" />
         <reference name="exchangeJaxb">exchangeJaxbComponent</reference>
@@ -30,5 +28,8 @@
     <component name="exchangeJaxbComponent">
         <implementation.java class="org.apache.tuscany.sca.test.exceptions.impl.StockExchangeJaxB" />
     </component>
+
+    <!-- Move to the end to verify the fix for TUSCANY-1165 -->
+    <dbsdo:import.sdo factory="stockexceptiontestservice.scatesttool.ScatesttoolFactory" />
 
 </composite>

Modified: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/resources/SDOWSDLTest.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/resources/SDOWSDLTest.composite?view=diff&rev=518494&r1=518493&r2=518494
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/resources/SDOWSDLTest.composite (original)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/resources/SDOWSDLTest.composite Wed Mar 14 23:17:31 2007
@@ -1,73 +1,71 @@
 <?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.
+    * 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"
-           xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" name="SDOWSDLTest">
 
-           name="SDOWSDLTest">
-           
-      <dbsdo:import.sdo xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0" factory="com.bigbank.account.AccountFactory"/> 
+    <dbsdo:import.sdo xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
+        factory="com.bigbank.account.AccountFactory" />
 
     <service name="AccountService1a2a3a4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2a3a4a</reference>
     </service>
     <service name="AccountService1a2a3a4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2a3a4b</reference>
     </service>
     <service name="AccountService1a2a3b4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2a3b4a</reference>
     </service>
     <service name="AccountService1a2a3b4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2a3b4b</reference>
     </service>
     <service name="AccountService1a2b3a4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2b3a4a</reference>
     </service>
     <service name="AccountService1a2b3a4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2b3a4b</reference>
     </service>
     <service name="AccountService1a2b3b4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2b3b4a</reference>
     </service>
     <service name="AccountService1a2b3b4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
             conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
         <reference>Component2b3b4b</reference>
@@ -132,72 +130,72 @@
     <component name="Component2a3a4a">
         <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
         <reference name="accountService">Component3a4a</reference>
-    </component> 
+    </component>
     <component name="Component2a3a4b">
         <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
         <reference name="accountService">Component3a4b</reference>
-    </component> 
+    </component>
     <component name="Component2a3b4a">
         <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
         <reference name="accountService">Component3b4a</reference>
-    </component> 
+    </component>
     <component name="Component2a3b4b">
         <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
         <reference name="accountService">Component3b4b</reference>
-    </component> 
+    </component>
 
     <component name="Component2b3a4a">
         <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
         <reference name="accountService">Component3a4a</reference>
-    </component> 
+    </component>
     <component name="Component2b3a4b">
         <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
         <reference name="accountService">Component3a4b</reference>
-    </component> 
+    </component>
     <component name="Component2b3b4a">
         <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
         <reference name="accountService">Component3b4a</reference>
-    </component> 
+    </component>
     <component name="Component2b3b4b">
         <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
         <reference name="accountService">Component3b4b</reference>
-    </component> 
+    </component>
 
     <component name="Component3a4a">
-    	<implementation.java class="bigbank.account.services.accountdata.Component3aImpl"/>
+        <implementation.java class="bigbank.account.services.accountdata.Component3aImpl" />
         <reference name="accountService">Ref4a</reference>
-    </component> 
+    </component>
     <component name="Component3a4b">
-    	<implementation.java class="bigbank.account.services.accountdata.Component3aImpl"/>
+        <implementation.java class="bigbank.account.services.accountdata.Component3aImpl" />
         <reference name="accountService">Ref4b</reference>
-    </component> 
+    </component>
     <component name="Component3b4a">
-    	<implementation.java class="bigbank.account.services.accountdata.Component3bImpl"/>
+        <implementation.java class="bigbank.account.services.accountdata.Component3bImpl" />
         <reference name="accountService">Ref4a</reference>
-    </component> 
+    </component>
     <component name="Component3b4b">
-    	<implementation.java class="bigbank.account.services.accountdata.Component3bImpl"/>
+        <implementation.java class="bigbank.account.services.accountdata.Component3bImpl" />
         <reference name="accountService">Ref4b</reference>
-    </component> 
+    </component>
 
     <reference name="Ref4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountService.wsdl" />
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountService.wsdl" />
     </reference>
 
     <reference name="Ref4b">
         <interface.wsdl interface="http://www.bigbank.com/account#wsdl.interface(AccountService)"
             wsdli:wsdlLocation="http://www.bigbank.com/account wsdl/AccountService.wsdl" />
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountService.wsdl" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountService.wsdl" />
     </reference>
 
 
- <!-- target service -->
+    <!-- target service -->
 
     <service name="AccountService">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
         <!-- interface.wsdl interface="http://www.bigbank.com/account#wsdl.interface(AccountService)"
             wsdli:wsdlLocation="http://www.bigbank.com/account wsdl/AccountService.wsdl" / -->
         <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
@@ -209,196 +207,196 @@
         <implementation.java class="bigbank.account.services.accountdata.AccountDataServiceImpl" />
     </component>
 
- <!-- test client -->
+    <!-- test client -->
 
     <component name="AccountServiceClient">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">AccountServiceRef</reference>
     </component>
 
     <reference name="AccountServiceRef">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<!-- interface.wsdl interface="http://www.bigbank.com/account#wsdl.interface(AccountService)"  wsdli:wsdlLocation="http://www.bigbank.com/account wsdl/AccountService.wsdl" / -->
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountService.wsdl" />
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <!-- interface.wsdl interface="http://www.bigbank.com/account#wsdl.interface(AccountService)"  wsdli:wsdlLocation="http://www.bigbank.com/account wsdl/AccountService.wsdl" / -->
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountService.wsdl" />
     </reference>
 
- <!-- clients -->
- 
-     <component name="Client1a2a3a4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+    <!-- clients -->
+
+    <component name="Client1a2a3a4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2a3a4a</reference>
     </component>
 
     <reference name="ClientRef1a2a3a4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2a3a4a.wsdl" />
-    </reference>
- 
-     <component name="Client1a2a3a4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2a3a4a.wsdl" />
+    </reference>
+
+    <component name="Client1a2a3a4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2a3a4b</reference>
     </component>
 
     <reference name="ClientRef1a2a3a4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2a3a4b.wsdl" />
-    </reference>
- 
-     <component name="Client1a2a3b4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2a3a4b.wsdl" />
+    </reference>
+
+    <component name="Client1a2a3b4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2a3b4a</reference>
     </component>
 
     <reference name="ClientRef1a2a3b4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2a3b4a.wsdl" />
-    </reference>
- 
-     <component name="Client1a2a3b4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2a3b4a.wsdl" />
+    </reference>
+
+    <component name="Client1a2a3b4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2a3b4b</reference>
     </component>
 
     <reference name="ClientRef1a2a3b4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2a3b4b.wsdl" />
-    </reference>
- 
-     <component name="Client1a2b3a4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2a3b4b.wsdl" />
+    </reference>
+
+    <component name="Client1a2b3a4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2b3a4a</reference>
     </component>
 
     <reference name="ClientRef1a2b3a4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2b3a4a.wsdl" />
-    </reference>
- 
-     <component name="Client1a2b3a4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2b3a4a.wsdl" />
+    </reference>
+
+    <component name="Client1a2b3a4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2b3a4b</reference>
     </component>
 
     <reference name="ClientRef1a2b3a4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2b3a4b.wsdl" />
-    </reference>
- 
-     <component name="Client1a2b3b4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2b3a4b.wsdl" />
+    </reference>
+
+    <component name="Client1a2b3b4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2b3b4a</reference>
     </component>
 
     <reference name="ClientRef1a2b3b4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2b3b4a.wsdl" />
-    </reference>
- 
-     <component name="Client1a2b3b4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2b3b4a.wsdl" />
+    </reference>
+
+    <component name="Client1a2b3b4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1a2b3b4b</reference>
     </component>
 
     <reference name="ClientRef1a2b3b4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1a2b3b4b.wsdl" />
-    </reference>
- 
-     <component name="Client1b2a3a4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1a2b3b4b.wsdl" />
+    </reference>
+
+    <component name="Client1b2a3a4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2a3a4a</reference>
     </component>
 
     <reference name="ClientRef1b2a3a4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2a3a4a.wsdl" />
-    </reference>
- 
-     <component name="Client1b2a3a4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2a3a4a.wsdl" />
+    </reference>
+
+    <component name="Client1b2a3a4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2a3a4b</reference>
     </component>
 
     <reference name="ClientRef1b2a3a4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2a3a4b.wsdl" />
-    </reference>
- 
-     <component name="Client1b2a3b4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2a3a4b.wsdl" />
+    </reference>
+
+    <component name="Client1b2a3b4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2a3b4a</reference>
     </component>
 
     <reference name="ClientRef1b2a3b4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2a3b4a.wsdl" />
-    </reference>
- 
-     <component name="Client1b2a3b4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2a3b4a.wsdl" />
+    </reference>
+
+    <component name="Client1b2a3b4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2a3b4b</reference>
     </component>
 
     <reference name="ClientRef1b2a3b4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2a3b4b.wsdl" />
-    </reference>
- 
-     <component name="Client1b2b3a4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2a3b4b.wsdl" />
+    </reference>
+
+    <component name="Client1b2b3a4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2b3a4a</reference>
     </component>
 
     <reference name="ClientRef1b2b3a4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2b3a4a.wsdl" />
-    </reference>
- 
-     <component name="Client1b2b3a4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2b3a4a.wsdl" />
+    </reference>
+
+    <component name="Client1b2b3a4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2b3a4b</reference>
     </component>
 
     <reference name="ClientRef1b2b3a4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2b3a4b.wsdl" />
-    </reference>
- 
-     <component name="Client1b2b3b4a">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2b3a4b.wsdl" />
+    </reference>
+
+    <component name="Client1b2b3b4a">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2b3b4a</reference>
     </component>
 
     <reference name="ClientRef1b2b3b4a">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2b3b4a.wsdl" />
-    </reference>
- 
-     <component name="Client1b2b3b4b">
-        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl"/>
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2b3b4a.wsdl" />
+    </reference>
+
+    <component name="Client1b2b3b4b">
+        <implementation.java class="bigbank.account.services.accountdata.AccountServiceClientImpl" />
         <reference name="accountService">ClientRef1b2b3b4b</reference>
     </component>
 
     <reference name="ClientRef1b2b3b4b">
-        <interface.java interface="bigbank.account.services.accountdata.AccountDataService"/>
-		<binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
-			location="wsdl/AccountServiceC1b2b3b4b.wsdl" />
+        <interface.java interface="bigbank.account.services.accountdata.AccountDataService" />
+        <binding.ws endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
+            location="wsdl/AccountServiceC1b2b3b4b.wsdl" />
     </reference>
 
 </composite>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org