diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-09 23:30:14 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-09 23:30:14 +0000 |
commit | 58a8ca68a790cce2f3653ba2121d4e49a70d0228 (patch) | |
tree | 3b53e810e9c5ed1a8617dc7afd9ae375451482e5 | |
parent | 33207a361ec0e83a36cd60bb9a623d4a88fc4a61 (diff) |
Adjust the dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@763836 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/sca/modules/binding-ws-jaxws/pom.xml | 15 | ||||
-rw-r--r-- | java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java | 2 |
2 files changed, 12 insertions, 5 deletions
diff --git a/java/sca/modules/binding-ws-jaxws/pom.xml b/java/sca/modules/binding-ws-jaxws/pom.xml index a878f65b3b..05124bbb20 100644 --- a/java/sca/modules/binding-ws-jaxws/pom.xml +++ b/java/sca/modules/binding-ws-jaxws/pom.xml @@ -102,7 +102,14 @@ <groupId>org.apache.tuscany.sca</groupId> <artifactId>tuscany-host-http</artifactId> <version>2.0-SNAPSHOT</version> - <scope>runtime</scope> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-databinding</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>compile</scope> </dependency> <dependency> @@ -155,9 +162,9 @@ </goals> <configuration> <tasks> - <mkdir dir="${project.build.directory}/jaxws-source/wsdl/" /> + <mkdir dir="${basedir}/src/test/resources/wsdl/" /> <get src="http://www.webservicex.net/WeatherForecast.asmx?wsdl" - dest="${project.build.directory}/jaxws-source/wsdl/WeatherForecast.wsdl" verbose="true" + dest="${basedir}/src/test/resources/wsdl/WeatherForecast.wsdl" verbose="true" usetimestamp="true" /> </tasks> </configuration> @@ -251,7 +258,7 @@ </goals> <configuration> <packageName>com.example.weather</packageName> - <wsdlDirectory>${project.build.directory}/jaxws-source/wsdl</wsdlDirectory> + <wsdlDirectory>${basedir}/src/test/resources/wsdl</wsdlDirectory> <wsdlFiles> <wsdlFile>WeatherForecast.wsdl</wsdlFile> </wsdlFiles> diff --git a/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java b/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java index 40b0b8f6dc..38dc930f10 100644 --- a/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java +++ b/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java @@ -39,7 +39,7 @@ public class WeatherForecastClient { public static void main(String[] args) throws Exception { - String location = ContributionLocationHelper.getContributionLocation("WeatherForecast.composite"); + String location = ContributionLocationHelper.getContributionLocation(WeatherForecastImpl.class); Node node = NodeFactory.newInstance().createNode("WeatherForecast.composite", new Contribution("c1", location)); node.start(); WeatherForecastSoap weatherService = node.getService(WeatherForecastSoap.class, "WeatherForecastService"); |