diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-23 11:30:15 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-23 11:30:15 +0000 |
commit | e43a1a12d2abc13f21b90147f27d81b58cd1765c (patch) | |
tree | b0d90596152e00fb776a4e2415144c78a8a8c36f /sca-java-2.x/trunk/samples/helloworld-scaclient/src | |
parent | c5ca487ee9973f4dcd2f78f23c5f9ee195e29b6a (diff) |
Add a println so you can see the service is called
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@937256 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/helloworld-scaclient/src')
-rw-r--r-- | sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java b/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java index d73db91632..8160e09797 100644 --- a/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java +++ b/sca-java-2.x/trunk/samples/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java @@ -28,12 +28,12 @@ public class HelloworldSCAClient { public static void main(String[] args) throws NoSuchDomainException, NoSuchServiceException {
- if (args.length != 3) {
+ if (args.length != 2) {
System.out.println("Missing args");
System.out.println("HelloworldSCAClient <domain URI> <name>");
System.exit(1);
}
- String domainURI = args[0];
+ String domainURI= args[0];
String name = args[1];
SCAClientFactory factory = SCAClientFactory.newInstance(URI.create(domainURI));
|