You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/04/16 12:52:59 UTC

svn commit: r529199 - in /incubator/tuscany/java/sca/itest/wsdl/src: main/java/bigbank/account/services/accountdata/ main/resources/ main/resources/wsdl/ test/java/org/apache/tuscany/sca/itest/

Author: antelder
Date: Mon Apr 16 03:52:49 2007
New Revision: 529199

URL: http://svn.apache.org/viewvc?view=rev&rev=529199
Log:
Start getting the wsdl itest to work with the axis2 binding

Added:
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/SDOWSDLTest.compositeFIXME
Removed:
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/SDOWSDLTest.composite
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2a3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2a3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2a3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2a3b4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2b3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2b3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2b3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1a2b3b4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2a3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2a3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2a3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2a3b4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2b3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2b3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2b3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/AccountServiceC1b2b3b4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2a3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2a3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2a3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2a3b4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2b3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2b3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2b3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1a2b3b4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2a3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2a3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2a3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2a3b4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2b3a4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2b3a4b.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2b3b4a.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworldC1b2b3b4b.wsdl
Modified:
    incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountDataService.java
    incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountServiceClientImpl.java
    incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2aImpl.java
    incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2bImpl.java
    incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3aImpl.java
    incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3bImpl.java
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/WSDLTest.composite
    incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl
    incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountDataService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountDataService.java?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountDataService.java (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountDataService.java Mon Apr 16 03:52:49 2007
@@ -18,12 +18,10 @@
  */
 package bigbank.account.services.accountdata;
 
-import org.apache.tuscany.api.annotation.DataType;
 import org.osoa.sca.annotations.AllowsPassByReference;
 import org.osoa.sca.annotations.Remotable;
 
 @Remotable
-@DataType(name="commonj.sdo.DataObject")
 @AllowsPassByReference
 public interface AccountDataService {
 
@@ -58,7 +56,6 @@
      * @param param10*
      * @param param11
      */
-    @DataType(name = "commonj.sdo.DataObject")
     public com.bigbank.account.CustomerProfileData createAccount(com.bigbank.account.CustomerProfileData param9, boolean param10, boolean param11)
             throws java.rmi.RemoteException;
 

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountServiceClientImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountServiceClientImpl.java?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountServiceClientImpl.java (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountServiceClientImpl.java Mon Apr 16 03:52:49 2007
@@ -21,7 +21,6 @@
 
 import java.rmi.RemoteException;
 
-import org.apache.tuscany.api.annotation.DataType;
 import org.osoa.sca.annotations.Reference;
 
 import com.bigbank.account.AccountLog;

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2aImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2aImpl.java?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2aImpl.java (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2aImpl.java Mon Apr 16 03:52:49 2007
@@ -21,7 +21,6 @@
 
 import java.rmi.RemoteException;
 
-import org.apache.tuscany.api.annotation.DataType;
 import org.osoa.sca.annotations.Reference;
 
 import com.bigbank.account.AccountLog;

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2bImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2bImpl.java?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2bImpl.java (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2bImpl.java Mon Apr 16 03:52:49 2007
@@ -21,7 +21,6 @@
 
 import java.rmi.RemoteException;
 
-import org.apache.tuscany.api.annotation.DataType;
 import org.osoa.sca.annotations.Reference;
 
 import com.bigbank.account.AccountLog;

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3aImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3aImpl.java?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3aImpl.java (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3aImpl.java Mon Apr 16 03:52:49 2007
@@ -21,7 +21,6 @@
 
 import java.rmi.RemoteException;
 
-import org.apache.tuscany.api.annotation.DataType;
 import org.osoa.sca.annotations.Reference;
 
 import com.bigbank.account.AccountLog;

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3bImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3bImpl.java?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3bImpl.java (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3bImpl.java Mon Apr 16 03:52:49 2007
@@ -21,7 +21,6 @@
 
 import java.rmi.RemoteException;
 
-import org.apache.tuscany.api.annotation.DataType;
 import org.osoa.sca.annotations.Reference;
 
 import com.bigbank.account.AccountLog;

Added: incubator/tuscany/java/sca/itest/wsdl/src/main/resources/SDOWSDLTest.compositeFIXME
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/resources/SDOWSDLTest.compositeFIXME?view=auto&rev=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/resources/SDOWSDLTest.compositeFIXME (added)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/resources/SDOWSDLTest.compositeFIXME Mon Apr 16 03:52:49 2007
@@ -0,0 +1,402 @@
+<?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" xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" name="SDOWSDLTest">
+
+    <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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>
+    </service>
+    <service name="AccountService1b2a3a4a">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2a3a4a</reference>
+    </service>
+    <service name="AccountService1b2a3a4b">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2a3a4b</reference>
+    </service>
+    <service name="AccountService1b2a3b4a">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2a3b4a</reference>
+    </service>
+    <service name="AccountService1b2a3b4b">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2a3b4b</reference>
+    </service>
+    <service name="AccountService1b2b3a4a">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2b3a4a</reference>
+    </service>
+    <service name="AccountService1b2b3a4b">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2b3a4b</reference>
+    </service>
+    <service name="AccountService1b2b3b4a">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2b3b4a</reference>
+    </service>
+    <service name="AccountService1b2b3b4b">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>Component2b3b4b</reference>
+    </service>
+
+    <component name="Component2a3a4a">
+        <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
+        <reference name="accountService">Component3a4a</reference>
+    </component>
+    <component name="Component2a3a4b">
+        <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
+        <reference name="accountService">Component3a4b</reference>
+    </component>
+    <component name="Component2a3b4a">
+        <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
+        <reference name="accountService">Component3b4a</reference>
+    </component>
+    <component name="Component2a3b4b">
+        <implementation.java class="bigbank.account.services.accountdata.Component2aImpl" />
+        <reference name="accountService">Component3b4b</reference>
+    </component>
+
+    <component name="Component2b3a4a">
+        <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
+        <reference name="accountService">Component3a4a</reference>
+    </component>
+    <component name="Component2b3a4b">
+        <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
+        <reference name="accountService">Component3a4b</reference>
+    </component>
+    <component name="Component2b3b4a">
+        <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
+        <reference name="accountService">Component3b4a</reference>
+    </component>
+    <component name="Component2b3b4b">
+        <implementation.java class="bigbank.account.services.accountdata.Component2bImpl" />
+        <reference name="accountService">Component3b4b</reference>
+    </component>
+
+    <component name="Component3a4a">
+        <implementation.java class="bigbank.account.services.accountdata.Component3aImpl" />
+        <reference name="accountService">Ref4a</reference>
+    </component>
+    <component name="Component3a4b">
+        <implementation.java class="bigbank.account.services.accountdata.Component3aImpl" />
+        <reference name="accountService">Ref4b</reference>
+    </component>
+    <component name="Component3b4a">
+        <implementation.java class="bigbank.account.services.accountdata.Component3bImpl" />
+        <reference name="accountService">Ref4a</reference>
+    </component>
+    <component name="Component3b4b">
+        <implementation.java class="bigbank.account.services.accountdata.Component3bImpl" />
+        <reference name="accountService">Ref4b</reference>
+    </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" />
+    </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" />
+    </reference>
+
+
+    <!-- target service -->
+
+    <service name="AccountService">
+        <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)"
+            conformanceURIs="http://ws-i.org/profiles/basic/1.1" location="wsdl/AccountService.wsdl" />
+        <reference>AccountServiceComponent</reference>
+    </service>
+
+    <component name="AccountServiceComponent">
+        <implementation.java class="bigbank.account.services.accountdata.AccountDataServiceImpl" />
+    </component>
+
+    <!-- test client -->
+
+    <component name="AccountServiceClient">
+        <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" />
+    </reference>
+
+    <!-- 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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+        <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" />
+    </reference>
+
+</composite>

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/resources/WSDLTest.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/resources/WSDLTest.composite?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/resources/WSDLTest.composite (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/resources/WSDLTest.composite Mon Apr 16 03:52:49 2007
@@ -18,165 +18,156 @@
  * under the License.
 -->
 <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
-           xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
 
            name="WSDLTest">
    
-    <service name="HelloWorldService1a2a3a4a">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3a4a</reference>
-    </service>
-    <service name="HelloWorldService1a2a3a4b">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3a4b</reference>
-    </service>
-    <service name="HelloWorldService1a2a3b4a">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3b4a</reference>
-    </service>
-    <service name="HelloWorldService1a2a3b4b">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3b4b</reference>
-    </service>
-    <service name="HelloWorldService1a2b3a4a">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3a4a</reference>
-    </service>
-    <service name="HelloWorldService1a2b3a4b">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3a4b</reference>
-    </service>
-    <service name="HelloWorldService1a2b3b4a">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3b4a</reference>
-    </service>
-    <service name="HelloWorldService1a2b3b4b">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3b4b</reference>
-    </service>
-
-    <service name="HelloWorldService1b2a3a4a">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3a4a</reference>
-    </service>
-    <service name="HelloWorldService1b2a3a4b">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3a4b</reference>
-    </service>
-    <service name="HelloWorldService1b2a3b4a">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3b4a</reference>
-    </service>
-    <service name="HelloWorldService1b2a3b4b">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2a3b4b</reference>
-    </service>
-    <service name="HelloWorldService1b2b3a4a">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3a4a</reference>
-    </service>
-    <service name="HelloWorldService1b2b3a4b">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3a4b</reference>
-    </service>
-    <service name="HelloWorldService1b2b3b4a">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3b4a</reference>
-    </service>
-    <service name="HelloWorldService1b2b3b4b">
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>Component2b3b4b</reference>
+    <service name="HelloWorldService1a2a3a4a" promote="Component2a3a4a" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1a2a3a4b" promote="Component2a3a4b" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1a2a3b4a" promote="Component2a3b4a" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1a2a3b4b" promote="Component2a3b4b" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1a2b3a4a" promote="Component2b3a4a" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1a2b3a4b" promote="Component2b3a4b" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1a2b3b4a" promote="Component2b3b4a" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1a2b3b4b" promote="Component2b3b4b" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+
+    <service name="HelloWorldService1b2a3a4a" promote="Component2a3a4a" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1b2a3a4b" promote="Component2a3a4b" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1b2a3b4a" promote="Component2a3b4a" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1b2a3b4b" promote="Component2a3b4b" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1b2b3a4a" promote="Component2b3a4a" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1b2b3a4b" promote="Component2b3a4b" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1b2b3b4a" promote="Component2b3b4a" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
+    </service>
+    <service name="HelloWorldService1b2b3b4b" promote="Component2b3b4b" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
     </service>
 
     <component name="Component2a3a4a">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2aImpl"/>
-        <reference name="comp">Component3a4a</reference>
+        <reference name="comp" target="Component3a4a" />
     </component> 
     <component name="Component2a3a4b">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2aImpl"/>
-        <reference name="comp">Component3a4b</reference>
+        <reference name="comp" target="Component3a4b" />
     </component> 
     <component name="Component2a3b4a">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2aImpl"/>
-        <reference name="comp">Component3b4a</reference>
+        <reference name="comp" target="Component3b4a" />
     </component> 
     <component name="Component2a3b4b">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2aImpl"/>
-        <reference name="comp">Component3b4b</reference>
+        <reference name="comp" target="Component3b4b" />
     </component> 
 
     <component name="Component2b3a4a">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2bImpl"/>
-        <reference name="comp">Component3a4a</reference>
+        <reference name="comp" target="Component3a4a" />
     </component> 
     <component name="Component2b3a4b">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2bImpl"/>
-        <reference name="comp">Component3a4b</reference>
+        <reference name="comp" target="Component3a4b" />
     </component> 
     <component name="Component2b3b4a">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2bImpl"/>
-        <reference name="comp">Component3b4a</reference>
+        <reference name="comp" target="Component3b4a" />
     </component> 
     <component name="Component2b3b4b">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component2bImpl"/>
-        <reference name="comp">Component3b4b</reference>
+        <reference name="comp" target="Component3b4b" />
     </component> 
 
     <component name="Component3a4a">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component3aImpl"/>
-        <reference name="comp">Ref4a</reference>
+        <reference name="comp" />
     </component> 
+    <reference name="Component3a4aRef" promote="Component3a4a/comp" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+                    uri="http://localhost:8080/HelloWorldServiceComponent/HelloWorldWebService" />
+    </reference>
+
     <component name="Component3a4b">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component3aImpl"/>
-        <reference name="comp">Ref4b</reference>
+        <reference name="comp" />
     </component> 
+    <reference name="Component3a4bRef" promote="Component3a4b/comp" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+                    uri="http://localhost:8080/HelloWorldServiceComponent/HelloWorldWebService" />
+    </reference>
+
     <component name="Component3b4a">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component3bImpl"/>
-        <reference name="comp">Ref4a</reference>
+        <reference name="comp" />
     </component> 
+    <reference name="Component3b4aRef" promote="Component3b4a/comp" >
+        <interface.java interface="helloworld.HelloWorldService" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+                    uri="http://localhost:8080/HelloWorldServiceComponent/HelloWorldWebService" />
+    </reference>
+
     <component name="Component3b4b">
     	<implementation.java class="org.apache.tuscany.sca.itest.Component3bImpl"/>
-        <reference name="comp">Ref4b</reference>
+        <reference name="comp" />
     </component> 
-
-    <reference name="Ref4a">
-        <interface.java class="helloworld.HelloWorldService" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworld.wsdl" />
-    </reference>
-
-    <reference name="Ref4b">
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworld.wsdl" />
+    <reference name="Component3b4bRef" promote="Component3b4b/comp" >
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+                    uri="http://localhost:8080/HelloWorldServiceComponent/HelloWorldWebService" />
     </reference>
 
 
 <!-- the servive -->    
     
-    <service name="HelloWorldWebService">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)" location="wsdl/helloworld.wsdl" />
-        <reference>HelloWorldServiceComponent</reference>
+    <service name="HelloWorldWebService"  promote="HelloWorldServiceComponent" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"  />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)" />
     </service>
 
     <component name="HelloWorldServiceComponent">
@@ -187,226 +178,194 @@
 
     <component name="Client1a2a3a4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2a3a4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2a3a4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2a3a4a.wsdl" />
+    <reference name="ClientRef1a2a3a4a" promote="Client1a2a3a4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2a3a4a" />
     </reference>
     
     <component name="Client1a2a3a4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2a3a4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2a3a4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2a3a4b.wsdl" />
+    <reference name="ClientRef1a2a3a4b" promote="Client1a2a3a4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2a3a4b" />
     </reference>
     
     <component name="Client1a2a3b4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2a3b4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2a3b4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2a3b4a.wsdl" />
+    <reference name="ClientRef1a2a3b4a" promote="Client1a2a3b4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2a3b4a" />
     </reference>
     
     <component name="Client1a2a3b4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2a3b4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2a3b4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2a3b4b.wsdl" />
+    <reference name="ClientRef1a2a3b4b" promote="Client1a2a3b4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2a3b4b" />
     </reference>
     
     <component name="Client1a2b3a4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2b3a4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2b3a4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2b3a4a.wsdl" />
+    <reference name="ClientRef1a2b3a4a" promote="Client1a2b3a4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2b3a4a" />
     </reference>
     
     <component name="Client1a2b3a4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2b3a4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2b3a4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2b3a4b.wsdl" />
+    <reference name="ClientRef1a2b3a4b" promote="Client1a2b3a4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2b3a4b" />
     </reference>
     
     <component name="Client1a2b3b4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2b3b4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2b3b4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2b3b4a.wsdl" />
+    <reference name="ClientRef1a2b3b4a" promote="Client1a2b3b4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2b3b4a" />
     </reference>
     
     <component name="Client1a2b3b4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1a2b3b4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1a2b3b4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1a2b3b4b.wsdl" />
+    <reference name="ClientRef1a2b3b4b" promote="Client1a2b3b4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1a2b3b4b" />
     </reference>
     
     <component name="Client1b2a3a4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2a3a4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2a3a4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2a3a4a.wsdl" />
+    <reference name="ClientRef1b2a3a4a" promote="Client1b2a3a4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2a3a4a" />
     </reference>
     
     <component name="Client1b2a3a4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2a3a4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2a3a4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2a3a4b.wsdl" />
+    <reference name="ClientRef1b2a3a4b" promote="Client1b2a3a4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2a3a4b" />
     </reference>
     
     <component name="Client1b2a3b4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2a3b4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2a3b4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2a3b4a.wsdl" />
+    <reference name="ClientRef1b2a3b4a" promote="Client1b2a3b4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2a3b4a" />
     </reference>
     
     <component name="Client1b2a3b4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2a3b4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2a3b4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2a3b4b.wsdl" />
+    <reference name="ClientRef1b2a3b4b" promote="Client1b2a3b4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2a3b4b" />
     </reference>
     
     <component name="Client1b2b3a4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2b3a4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2b3a4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2b3a4a.wsdl" />
+    <reference name="ClientRef1b2b3a4a" promote="Client1b2b3a4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2b3a4a" />
     </reference>
     
     <component name="Client1b2b3a4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2b3a4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2b3a4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2b3a4b.wsdl" />
+    <reference name="ClientRef1b2b3a4b" promote="Client1b2b3a4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2b3a4b" />
     </reference>
     
     <component name="Client1b2b3b4a">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2b3b4a</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2b3b4a">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2b3b4a.wsdl" />
+    <reference name="ClientRef1b2b3b4a" promote="Client1b2b3b4a/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2b3b4a" />
     </reference>
     
     <component name="Client1b2b3b4b">
       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
-      <reference name="helloWorldService">ClientRef1b2b3b4b</reference>
+      <reference name="helloWorldService" />
     </component>
 
-    <reference name="ClientRef1b2b3b4b">
-        <!-- interface.java class="helloworld.HelloWorldService" / -->
-        <interface.wsdl xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" 
-            interface="http://helloworld#wsdl.interface(HelloWorld)" 
-            wsdli:wsdlLocation="http://helloworld wsdl/helloworld.wsdl" />
-        <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
-			location="wsdl/helloworldC1b2b3b4b.wsdl" />
+    <reference name="ClientRef1b2b3b4b" promote="Client1b2b3b4b/helloWorldService" >
+        <!-- interface.java interface="helloworld.HelloWorldService" / -->
+        <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
+			uri="http://localhost:8080/HelloWorldService1b2b3b4b" />
     </reference>
     
 </composite>

Modified: incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl Mon Apr 16 03:52:49 2007
@@ -73,7 +73,7 @@
 
     <wsdl:service name="HelloWorldService">
         <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
-            <wsdlsoap:address location="http://localhost:8080/services/HelloWorldWebService"/>
+            <wsdlsoap:address location=""/>
         </wsdl:port>
     </wsdl:service>
 

Modified: incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java?view=diff&rev=529199&r1=529198&r2=529199
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java (original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java Mon Apr 16 03:52:49 2007
@@ -142,8 +142,14 @@
     	SCARuntime.start("WSDLTest.composite");
     }
 
+//    protected void setUp() throws Exception {
+//        SCARuntime.start("org/apache/tuscany/binding/axis2/itests/HelloWorld.composite");
+//        ComponentContext context = SCARuntime.getComponentContext("HelloWorldComponent");
+//        ServiceReference<HelloWorld> service = context.createSelfReference(HelloWorld.class);
+//        helloWorld = service.getService();
+//    }
+    
     protected void tearDown() throws Exception {
-    	SCARuntime.stop();
+        SCARuntime.stop();
     }
-
 }



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