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 2006/04/29 11:54:04 UTC
svn commit: r398111 - in
/incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main:
java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldClient.java
resources/sca.module
Author: antelder
Date: Sat Apr 29 02:54:04 2006
New Revision: 398111
URL: http://svn.apache.org/viewcvs?rev=398111&view=rev
Log:
Get ws client working again
Modified:
incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldClient.java
incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/resources/sca.module
Modified: incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldClient.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldClient.java?rev=398111&r1=398110&r2=398111&view=diff
==============================================================================
--- incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldClient.java (original)
+++ incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldClient.java Sat Apr 29 02:54:04 2006
@@ -39,7 +39,7 @@
ModuleContext moduleContext = CurrentModuleContext.getContext();
// Locate the HelloWorld service component and invoke it
- HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldService");
+ HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldServiceComponent");
String value = helloworldService.getGreetings("World");
Modified: incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/resources/sca.module
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/resources/sca.module?rev=398111&r1=398110&r2=398111&view=diff
==============================================================================
--- incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/resources/sca.module (original)
+++ incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/resources/sca.module Sat Apr 29 02:54:04 2006
@@ -23,7 +23,7 @@
<component name="HelloWorldServiceComponent">
<implementation.java class="org.apache.tuscany.samples.helloworldwsclient.HelloWorldServiceComponentImpl"/>
<references>
- <v:hellowWorldService>HelloWorldService</v:hellowWorldService>
+ <v:helloWorldService>HelloWorldService</v:helloWorldService>
</references>
</component>