diff options
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));
|