diff options
Diffstat (limited to 'java')
-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"); |