Author: rfeng
Date: Thu Apr 9 23:30:14 2009
New Revision: 763836
URL: http://svn.apache.org/viewvc?rev=763836&view=rev
Log:
Adjust the dependencies
Modified:
tuscany/java/sca/modules/binding-ws-jaxws/pom.xml
tuscany/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java
tuscany/java/sca/modules/binding-ws-jaxws/src/test/resources/ (props
changed)
Modified: tuscany/java/sca/modules/binding-ws-jaxws/pom.xml
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-ws-jaxws/pom.xml?rev=763836&r1=763835&r2=763836&view=diff
==============================================================================
--- tuscany/java/sca/modules/binding-ws-jaxws/pom.xml (original)
+++ tuscany/java/sca/modules/binding-ws-jaxws/pom.xml Thu Apr 9 23:30:14 2009
@@ -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>
Modified:
tuscany/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java?rev=763836&r1=763835&r2=763836&view=diff
==============================================================================
---
tuscany/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java
(original)
+++
tuscany/java/sca/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java
Thu Apr 9 23:30:14 2009
@@ -39,7 +39,7 @@
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");
Propchange: tuscany/java/sca/modules/binding-ws-jaxws/src/test/resources/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Apr 9 23:30:14 2009
@@ -0,0 +1 @@
+wsdl