You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/10/10 11:11:35 UTC

svn commit: r1006259 - in /tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings: jaxb-bottom-up/ jaxb-bottom-up/src/main/resources/ jaxb-bottom-up/src/main/resources/myContent/ jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databi...

Author: nash
Date: Sun Oct 10 09:11:35 2010
New Revision: 1006259

URL: http://svn.apache.org/viewvc?rev=1006259&view=rev
Log:
TUSCANY-3707: Use a local copy of the Tuscany home page so tests work without an internet connection

Added:
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/myContent/
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html
Modified:
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/pom.xml
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/pom.xml
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/pom.xml?rev=1006259&r1=1006258&r2=1006259&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/pom.xml (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/pom.xml Sun Oct 10 09:11:35 2010
@@ -136,6 +136,21 @@
             <scope>provided</scope>
         </dependency>
         <!-- End of addition   -->
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-resource-runtime</artifactId>
+            <version>1.6.1-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-http-runtime</artifactId>
+            <version>1.6.1-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Added: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html?rev=1006259&view=auto
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html (added)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/myContent/home.html Sun Oct 10 09:11:35 2010
@@ -0,0 +1,210 @@
+<!--
+
+    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.
+-->
+
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+    <HEAD>
+        <!-- generateKeywords macro -->
+        <META name="description" content="Apache Tuscany">
+        <META name="keywords" content="apache, apache tuscany, tuscany, service, services, fabric, soa, service oriented architecture,  sca, service component architecture, das, sdo, csa, ruby, opensource">
+        <!-- generateKeywords macro end -->
+        
+        <LINK type="text/css" rel="stylesheet" href="http://tuscany.apache.org/stylesheets/default.css">
+
+        <LINK rel="SHORTCUT ICON" href="https://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">   
+        <TITLE>Apache Tuscany : Home</TITLE>
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+    
+    <BODY onload="init()">
+        <!-- topNav macro -->
+        <TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg">
+            <TR>
+                <TD valing="top" align="left">
+                    <A href="https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg" height="91" width="25" border="0"></A>
+
+                </TD>
+                <TD>
+                    <A href="http://tuscany.apache.org/"><IMG src="http://tuscany.apache.org/images/TuscanyLogo.jpg" border="0"></A>
+                </TD>
+                
+                <TD width="100%">
+                    &nbsp;
+                </TD>
+
+                <!-- Adds the edit page link to the top banner-->
+
+                <TD valign="bottom">
+                    <DIV style="padding: 2px 10px; margin: 0px;">
+                        <A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=34462">
+                        <IMG src="http://tuscany.apache.org/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
+                    </DIV>
+                </TD>
+
+            </TR>
+        </TABLE>
+
+        <!-- topNav macro end -->
+
+        <!-- breadCrumbs macro -->
+        <TABLE border="0" cellpadding="2" cellspacing="0" width="100%">
+            <TR class="topBar">
+                <TD align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
+                    &nbsp;<A href="" title="Apache Tuscany">Apache Tuscany</A>&nbsp;&gt;&nbsp;<A href="" title="Home">Home</A>
+                </TD>
+
+                
+                <TD align="right" valign="middle" class="topBarDiv" align="left" nowrap="true">
+                <A href="http://mail-archives.apache.org/mod_mbox/tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>&nbsp;&nbsp;
+                </TD>
+            </TR>
+        </TABLE>
+
+        <!-- breadCrumbs macro end -->
+
+
+        <TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
+            <TR>
+                <TD align="left" valign="top">
+
+                    <!-- pageContent macro -->
+                    <DIV id="PageContent">
+                                                
+                        <DIV class="pagecontent">
+
+                            <DIV class="wiki-content">
+                                <TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
+<TD class="confluenceTd" valign="top" width="15%">
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #C3CDA1;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #C3CDA1;background-color: #C3CDA1;"><B>General</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+<P><A href="" title="Home">Home</A><BR>
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License </A><BR>
+<A href="tuscany-downloads-documentations.html" title="Tuscany Downloads & Documentations">Downloads</A><BR>
+<A href="tuscany-downloads-documentations.html" title="Tuscany Downloads & Documentations">Documentation</A><BR>
+<A href="tuscany-books-and-articles.html" title="Tuscany Books and Articles">Books and Articles</A><BR>
+
+<A href="tuscany-dashboard.html" title="Tuscany Dashboard">Dashboard</A><BR>
+<A href="issue-tracking.html" title="Issue Tracking">Found a Bug?</A><BR>
+<A href="privacy-policy.html" title="Privacy Policy">Privacy Policy</A></P>
+</DIV></DIV>
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>Community</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+<P><A href="getting-involved.html" title="Getting Involved">Get Involved</A><BR>
+<A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A><BR>
+<A href="committers.html" title="Committers">Committers</A><BR>
+<A href="chinese-portal.html" title="Chinese Portal">Chinese Portal </A> <SPAN class="image-wrap" style=""><IMG src="community.data/chinese.jpg" style="border: 0px solid black"></SPAN><BR>
+
+<A href="projects-using-tuscany.html" title="Projects Using Tuscany">Powered By</A></P>
+</DIV></DIV>
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>Tuscany SCA</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+<P><A href="sca-overview.html" title="SCA Overview">SCA Overview</A><BR>
+<A href="sca-java.html" title="SCA Java">SCA Java</A><BR>
+<A href="sca-native.html" title="SCA Native">SCA Native</A><BR>
+<A href="php-sca.html" title="PHP SCA">SCA PHP</A><BR>
+<A href="http://cwiki.apache.org/confluence/display/TUSCANY/Java%20SCA%20Tools" class="external-link" rel="nofollow">Tools</A></P>
+</DIV></DIV>
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>Subprojects</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+
+<P><A href="sdo-overview.html" title="SDO Overview">SDO</A><BR>
+<A href="das-overview.html" title="DAS Overview">DAS</A></P>
+</DIV></DIV></TD>
+<TD class="confluenceTd" valign="top" width="85%">
+
+<H3><A name="Home-WelcometoApacheTuscany"></A>Welcome to Apache Tuscany</H3>
+<P>Apache Tuscany simplifies the task of developing <A href="http://en.wikipedia.org/wiki/Service-oriented_architecture" class="external-link" rel="nofollow">SOA</A> solutions by providing a comprehensive infrastructure for SOA development and management that is based on Service Component Architecture (SCA) standard. With SCA as it's foundation, Tuscany offers solution developers the following advantages: </P>
+<UL>
+    <LI>Provides a model for creating composite applications by defining the services in the fabric and their relationships with one another. The services can be implemented in any technology.</LI>
+
+    <LI>Enables service developers to create reusable services that only contain business logic. Protocols are pushed out of business logic and are handled through pluggable bindings. This lowers development cost.</LI>
+    <LI>Applications can easily adapt to infrastructure changes without recoding since protocols are handled via pluggable bindings and quality of services (transaction, security) are handled declaratively.</LI>
+    <LI>Existing applications can work with new SCA compositions. This allows for incremental growth towards a more flexible architecture, outsourcing or providing services to others.</LI>
+</UL>
+
+
+<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
+<TD class="confluenceTd" valign="top" width="65%">
+
+<P>In addition, Tuscany is integrated with various technologies and offers:</P>
+
+<UL>
+    <LI>a wide range of bindings (pluggable protocols)</LI>
+    <LI>various component types including and not limited to Java, C++, BPEL, Spring and scripting</LI>
+    <LI>an end to end service and data solution which includes support for Jaxb and SDO</LI>
+    <LI>a lightweight runtime that works standalone or with other application servers</LI>
+    <LI>a modular architecture that makes it easy to integrate with different technologies and to extend</LI>
+    <LI>Integration with web20 technologies</LI>
+
+</UL>
+
+
+<P>Apache Tuscany SCA is implemented in <A href="http://tuscany.apache.org/sca-java.html" class="external-link" rel="nofollow">Java</A> and <A href="http://tuscany.apache.org/sca-native.html" class="external-link" rel="nofollow">C+&#43; (referred to as Native) </A>. <A href="http://cwiki.apache.org/confluence/display/TUSCANY/SCA%20Overview" class="external-link" rel="nofollow">Learn more about SCA </A></P>
+
+<P>Please join us to create a practical SOA infrastructure that addresses the challenges which small to large scale businesses face.</P>
+
+<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR></TR></TBODY></TABLE></TD>
+<TD class="confluenceTd" valign="top" width="25%">
+<DIV class="panel" style="background-color: #D8D8E8;border-color: #BEBFD6;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #BEBFD6;background-color: #BEBFD6;"><B>Latest Tuscany Releases</B></DIV><DIV class="panelContent" style="background-color: #D8D8E8;">
+<UL>
+    <LI><A href="sca-java-2x-releases.html" title="SCA Java 2.x Releases"><B>SCA Java 2.0-M5</B> <EM>(June, 2010)</EM></A></LI>
+    <LI><A href="sca-java-travel-sample-1x-releases.html" title="SCA Java Travel Sample 1.x Releases"><B>SCA Java Travel Sample 1.0</B> <EM>(June 2010)</EM></A></LI>
+    <LI><A href="sca-java-releases.html" title="SCA Java Releases"><B>SCA Java 1.6</B> <EM>(Feb, 2010)</EM></A></LI>
+
+    <LI><A href="sdo-java-111.html" title="SDO Java 1.1.1"><B>SDO Java 1.1.1</B></A> <EM><A href="sdo-java-111.html" title="SDO Java 1.1.1"><EM>(July 2008)</EM></A></EM></LI>
+    <LI><A href="das-java-releases.html" title="DAS Java Releases"><B>DAS Java 1.0-incubating-beta2</B><EM>(Oct, 2007)</EM></A></LI>
+    <LI><A href="sca-native-incubator-m3.html" title="SCA Native Incubator-M3"><B>SCA Native Incubator-M3</B> <EM>(May, 2007)</EM></A></LI>
+</UL>
+</DIV></DIV>
+
+<DIV class="panel" style="background-color: #D8D8E8;border-color: #BEBFD6;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #BEBFD6;background-color: #BEBFD6;"><B>GSoC 2010</B></DIV><DIV class="panelContent" style="background-color: #D8D8E8;">
+<UL>
+    <LI><A href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310210&status=1&customfield_12310260=gsoc&sorter%2Ffield=issuekey&sorter%2Forder=DESC" class="external-link" rel="nofollow"><B>GSoC 2010 Project Ideas</B></A></LI>
+</UL>
+</DIV></DIV></TD></TR></TBODY></TABLE>
+
+<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
+<TD class="confluenceTd" valign="top" width="65%">
+<DIV class="panel" style="background-color: white;border-color: #BEBFD6;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #BEBFD6;background-color: #BEBFD6;"><B>Tuscany News Dashboard</B></DIV><DIV class="panelContent" style="background-color: white;">
+<DIV class="error"><SPAN class="error">Unknown macro: {rss}</SPAN> </DIV>
+</DIV></DIV></TD></TR></TBODY></TABLE>
+
+</TD></TR></TBODY></TABLE>
+                            </DIV>
+                        </DIV>
+                    </DIV>  
+                    <!-- pageContent macro end -->
+                    
+                </TD>
+            </TR>
+        </TABLE>
+
+        <!-- footer macro -->
+
+                <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </SCRIPT>
+        <SCRIPT type="text/javascript">
+           _uacct = "UA-1174707-5";
+           urchinTracker();
+        </SCRIPT>
+        
+                <A href="http://www.statcounter.com/" target="_blank"><IMG src="http://c26.statcounter.com/counter.php?sc_project=2619156&java=0&security=94bd7e7d&invisible=0" alt="website stats" border="0"></A>    
+
+        <DIV class="footer">
+            Copyright ? 2003-2010, The Apache Software Foundation&nbsp;&nbsp;
+        </DIV>
+        <!-- footer macro end -->
+
+    </BODY>
+</HTML>

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite?rev=1006259&r1=1006258&r2=1006259&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite Sun Oct 10 09:11:35 2010
@@ -19,6 +19,7 @@
 -->
 <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
            xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
+           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
            name="StandardTypesService">
            
     <!-- Clients to test the service -->
@@ -63,4 +64,12 @@
             <binding.sca/>
         </service>
     </component>
+
+    <!-- Local cache of Tuscany home page -->
+    <component name="myWeb">
+        <tuscany:implementation.resource location="myContent"/>
+        <service name="Resource">
+            <tuscany:binding.http/>
+        </service>
+    </component>
 </composite>

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java?rev=1006259&r1=1006258&r2=1006259&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java Sun Oct 10 09:11:35 2010
@@ -1280,7 +1280,7 @@ public class StandardTypesDatabindingTes
     private void performTestNewDataHandler(StandardTypesServiceClient serviceClient) throws IOException {
         DataHandler[] dha = new DataHandler[3];
         dha[0] = new DataHandler("Some data", "text/plain");
-        dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html"));
+        dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html"));
         dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes()));
 
         for (int i = 0; i < dha.length; ++i) {
@@ -1294,7 +1294,7 @@ public class StandardTypesDatabindingTes
     private void performTestNewDataHandlerArray(StandardTypesServiceClient serviceClient) throws IOException {
         DataHandler[] dha = new DataHandler[3];
         dha[0] = new DataHandler("Some data", "text/plain");
-        dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html"));
+        dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html"));
         dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes()));
 
         DataHandler[] actual = serviceClient.getNewDataHandlerArrayForward(dha);

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/pom.xml?rev=1006259&r1=1006258&r2=1006259&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/pom.xml (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/pom.xml Sun Oct 10 09:11:35 2010
@@ -145,7 +145,20 @@
         </dependency>
         <!-- End of addition   -->
 
-        
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-resource-runtime</artifactId>
+            <version>1.6.1-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-http-runtime</artifactId>
+            <version>1.6.1-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Added: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html?rev=1006259&view=auto
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html (added)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/myContent/home.html Sun Oct 10 09:11:35 2010
@@ -0,0 +1,210 @@
+<!--
+
+    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.
+-->
+
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+    <HEAD>
+        <!-- generateKeywords macro -->
+        <META name="description" content="Apache Tuscany">
+        <META name="keywords" content="apache, apache tuscany, tuscany, service, services, fabric, soa, service oriented architecture,  sca, service component architecture, das, sdo, csa, ruby, opensource">
+        <!-- generateKeywords macro end -->
+        
+        <LINK type="text/css" rel="stylesheet" href="http://tuscany.apache.org/stylesheets/default.css">
+
+        <LINK rel="SHORTCUT ICON" href="https://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">   
+        <TITLE>Apache Tuscany : Home</TITLE>
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+    
+    <BODY onload="init()">
+        <!-- topNav macro -->
+        <TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg">
+            <TR>
+                <TD valing="top" align="left">
+                    <A href="https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg" height="91" width="25" border="0"></A>
+
+                </TD>
+                <TD>
+                    <A href="http://tuscany.apache.org/"><IMG src="http://tuscany.apache.org/images/TuscanyLogo.jpg" border="0"></A>
+                </TD>
+                
+                <TD width="100%">
+                    &nbsp;
+                </TD>
+
+                <!-- Adds the edit page link to the top banner-->
+
+                <TD valign="bottom">
+                    <DIV style="padding: 2px 10px; margin: 0px;">
+                        <A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=34462">
+                        <IMG src="http://tuscany.apache.org/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
+                    </DIV>
+                </TD>
+
+            </TR>
+        </TABLE>
+
+        <!-- topNav macro end -->
+
+        <!-- breadCrumbs macro -->
+        <TABLE border="0" cellpadding="2" cellspacing="0" width="100%">
+            <TR class="topBar">
+                <TD align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
+                    &nbsp;<A href="" title="Apache Tuscany">Apache Tuscany</A>&nbsp;&gt;&nbsp;<A href="" title="Home">Home</A>
+                </TD>
+
+                
+                <TD align="right" valign="middle" class="topBarDiv" align="left" nowrap="true">
+                <A href="http://mail-archives.apache.org/mod_mbox/tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>&nbsp;&nbsp;
+                </TD>
+            </TR>
+        </TABLE>
+
+        <!-- breadCrumbs macro end -->
+
+
+        <TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
+            <TR>
+                <TD align="left" valign="top">
+
+                    <!-- pageContent macro -->
+                    <DIV id="PageContent">
+                                                
+                        <DIV class="pagecontent">
+
+                            <DIV class="wiki-content">
+                                <TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
+<TD class="confluenceTd" valign="top" width="15%">
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #C3CDA1;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #C3CDA1;background-color: #C3CDA1;"><B>General</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+<P><A href="" title="Home">Home</A><BR>
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License </A><BR>
+<A href="tuscany-downloads-documentations.html" title="Tuscany Downloads & Documentations">Downloads</A><BR>
+<A href="tuscany-downloads-documentations.html" title="Tuscany Downloads & Documentations">Documentation</A><BR>
+<A href="tuscany-books-and-articles.html" title="Tuscany Books and Articles">Books and Articles</A><BR>
+
+<A href="tuscany-dashboard.html" title="Tuscany Dashboard">Dashboard</A><BR>
+<A href="issue-tracking.html" title="Issue Tracking">Found a Bug?</A><BR>
+<A href="privacy-policy.html" title="Privacy Policy">Privacy Policy</A></P>
+</DIV></DIV>
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>Community</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+<P><A href="getting-involved.html" title="Getting Involved">Get Involved</A><BR>
+<A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A><BR>
+<A href="committers.html" title="Committers">Committers</A><BR>
+<A href="chinese-portal.html" title="Chinese Portal">Chinese Portal </A> <SPAN class="image-wrap" style=""><IMG src="community.data/chinese.jpg" style="border: 0px solid black"></SPAN><BR>
+
+<A href="projects-using-tuscany.html" title="Projects Using Tuscany">Powered By</A></P>
+</DIV></DIV>
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>Tuscany SCA</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+<P><A href="sca-overview.html" title="SCA Overview">SCA Overview</A><BR>
+<A href="sca-java.html" title="SCA Java">SCA Java</A><BR>
+<A href="sca-native.html" title="SCA Native">SCA Native</A><BR>
+<A href="php-sca.html" title="PHP SCA">SCA PHP</A><BR>
+<A href="http://cwiki.apache.org/confluence/display/TUSCANY/Java%20SCA%20Tools" class="external-link" rel="nofollow">Tools</A></P>
+</DIV></DIV>
+<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>Subprojects</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
+
+<P><A href="sdo-overview.html" title="SDO Overview">SDO</A><BR>
+<A href="das-overview.html" title="DAS Overview">DAS</A></P>
+</DIV></DIV></TD>
+<TD class="confluenceTd" valign="top" width="85%">
+
+<H3><A name="Home-WelcometoApacheTuscany"></A>Welcome to Apache Tuscany</H3>
+<P>Apache Tuscany simplifies the task of developing <A href="http://en.wikipedia.org/wiki/Service-oriented_architecture" class="external-link" rel="nofollow">SOA</A> solutions by providing a comprehensive infrastructure for SOA development and management that is based on Service Component Architecture (SCA) standard. With SCA as it's foundation, Tuscany offers solution developers the following advantages: </P>
+<UL>
+    <LI>Provides a model for creating composite applications by defining the services in the fabric and their relationships with one another. The services can be implemented in any technology.</LI>
+
+    <LI>Enables service developers to create reusable services that only contain business logic. Protocols are pushed out of business logic and are handled through pluggable bindings. This lowers development cost.</LI>
+    <LI>Applications can easily adapt to infrastructure changes without recoding since protocols are handled via pluggable bindings and quality of services (transaction, security) are handled declaratively.</LI>
+    <LI>Existing applications can work with new SCA compositions. This allows for incremental growth towards a more flexible architecture, outsourcing or providing services to others.</LI>
+</UL>
+
+
+<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
+<TD class="confluenceTd" valign="top" width="65%">
+
+<P>In addition, Tuscany is integrated with various technologies and offers:</P>
+
+<UL>
+    <LI>a wide range of bindings (pluggable protocols)</LI>
+    <LI>various component types including and not limited to Java, C++, BPEL, Spring and scripting</LI>
+    <LI>an end to end service and data solution which includes support for Jaxb and SDO</LI>
+    <LI>a lightweight runtime that works standalone or with other application servers</LI>
+    <LI>a modular architecture that makes it easy to integrate with different technologies and to extend</LI>
+    <LI>Integration with web20 technologies</LI>
+
+</UL>
+
+
+<P>Apache Tuscany SCA is implemented in <A href="http://tuscany.apache.org/sca-java.html" class="external-link" rel="nofollow">Java</A> and <A href="http://tuscany.apache.org/sca-native.html" class="external-link" rel="nofollow">C+&#43; (referred to as Native) </A>. <A href="http://cwiki.apache.org/confluence/display/TUSCANY/SCA%20Overview" class="external-link" rel="nofollow">Learn more about SCA </A></P>
+
+<P>Please join us to create a practical SOA infrastructure that addresses the challenges which small to large scale businesses face.</P>
+
+<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR></TR></TBODY></TABLE></TD>
+<TD class="confluenceTd" valign="top" width="25%">
+<DIV class="panel" style="background-color: #D8D8E8;border-color: #BEBFD6;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #BEBFD6;background-color: #BEBFD6;"><B>Latest Tuscany Releases</B></DIV><DIV class="panelContent" style="background-color: #D8D8E8;">
+<UL>
+    <LI><A href="sca-java-2x-releases.html" title="SCA Java 2.x Releases"><B>SCA Java 2.0-M5</B> <EM>(June, 2010)</EM></A></LI>
+    <LI><A href="sca-java-travel-sample-1x-releases.html" title="SCA Java Travel Sample 1.x Releases"><B>SCA Java Travel Sample 1.0</B> <EM>(June 2010)</EM></A></LI>
+    <LI><A href="sca-java-releases.html" title="SCA Java Releases"><B>SCA Java 1.6</B> <EM>(Feb, 2010)</EM></A></LI>
+
+    <LI><A href="sdo-java-111.html" title="SDO Java 1.1.1"><B>SDO Java 1.1.1</B></A> <EM><A href="sdo-java-111.html" title="SDO Java 1.1.1"><EM>(July 2008)</EM></A></EM></LI>
+    <LI><A href="das-java-releases.html" title="DAS Java Releases"><B>DAS Java 1.0-incubating-beta2</B><EM>(Oct, 2007)</EM></A></LI>
+    <LI><A href="sca-native-incubator-m3.html" title="SCA Native Incubator-M3"><B>SCA Native Incubator-M3</B> <EM>(May, 2007)</EM></A></LI>
+</UL>
+</DIV></DIV>
+
+<DIV class="panel" style="background-color: #D8D8E8;border-color: #BEBFD6;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #BEBFD6;background-color: #BEBFD6;"><B>GSoC 2010</B></DIV><DIV class="panelContent" style="background-color: #D8D8E8;">
+<UL>
+    <LI><A href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310210&status=1&customfield_12310260=gsoc&sorter%2Ffield=issuekey&sorter%2Forder=DESC" class="external-link" rel="nofollow"><B>GSoC 2010 Project Ideas</B></A></LI>
+</UL>
+</DIV></DIV></TD></TR></TBODY></TABLE>
+
+<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
+<TD class="confluenceTd" valign="top" width="65%">
+<DIV class="panel" style="background-color: white;border-color: #BEBFD6;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #BEBFD6;background-color: #BEBFD6;"><B>Tuscany News Dashboard</B></DIV><DIV class="panelContent" style="background-color: white;">
+<DIV class="error"><SPAN class="error">Unknown macro: {rss}</SPAN> </DIV>
+</DIV></DIV></TD></TR></TBODY></TABLE>
+
+</TD></TR></TBODY></TABLE>
+                            </DIV>
+                        </DIV>
+                    </DIV>  
+                    <!-- pageContent macro end -->
+                    
+                </TD>
+            </TR>
+        </TABLE>
+
+        <!-- footer macro -->
+
+                <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </SCRIPT>
+        <SCRIPT type="text/javascript">
+           _uacct = "UA-1174707-5";
+           urchinTracker();
+        </SCRIPT>
+        
+                <A href="http://www.statcounter.com/" target="_blank"><IMG src="http://c26.statcounter.com/counter.php?sc_project=2619156&java=0&security=94bd7e7d&invisible=0" alt="website stats" border="0"></A>    
+
+        <DIV class="footer">
+            Copyright ? 2003-2010, The Apache Software Foundation&nbsp;&nbsp;
+        </DIV>
+        <!-- footer macro end -->
+
+    </BODY>
+</HTML>

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite?rev=1006259&r1=1006258&r2=1006259&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite Sun Oct 10 09:11:35 2010
@@ -23,6 +23,7 @@
 <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
            targetNamespace="http://jaxb.databindings.itest.sca.tuscany.apache.org/"
            xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
+           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
            name="StandardTypesService">
            
     <!-- Clients to test the service -->
@@ -77,4 +78,12 @@
             <binding.ws uri="http://localhost:8085/sts-ep-w" requires="MTOM"/>
         </service>
     </component>
+
+    <!-- Local cache of Tuscany home page -->
+    <component name="myWeb">
+        <tuscany:implementation.resource location="myContent"/>
+        <service name="Resource">
+            <tuscany:binding.http/>
+        </service>
+    </component>
 </composite>

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java?rev=1006259&r1=1006258&r2=1006259&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java Sun Oct 10 09:11:35 2010
@@ -1287,7 +1287,7 @@ public class StandardTypesDatabindingTes
     private void performTestNewDataHandler(StandardTypesServiceClient serviceClient) throws IOException {
         DataHandler[] dha = new DataHandler[3];
         dha[0] = new DataHandler("Some data", "text/plain");
-        dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html"));
+        dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html"));
         dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes()));
 
         for (int i = 0; i < dha.length; ++i) {
@@ -1301,7 +1301,7 @@ public class StandardTypesDatabindingTes
     private void performTestNewDataHandlerArray(StandardTypesServiceClient serviceClient) throws IOException {
         DataHandler[] dha = new DataHandler[3];
         dha[0] = new DataHandler("Some data", "text/plain");
-        dha[1] = new DataHandler(new URL("http://tuscany.apache.org/home.html"));
+        dha[1] = new DataHandler(new URL("http://localhost:8080/myWeb/home.html"));
         dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes()));
 
         DataHandler[] actual = serviceClient.getNewDataHandlerArrayForward(dha);