test
Class TestRest

java.lang.Object
  extended by test.TestRest

@Copyright
public class TestRest
extends java.lang.Object

Client for showing how to use the web services with REST.


Constructor Summary
TestRest()
           
 
Method Summary
static void invoke(java.lang.String url)
          Invoke the web service.
static void main(java.lang.String... args)
          The client program for testing the web service as a REST service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRest

public TestRest()
Method Detail

invoke

public static void invoke(java.lang.String url)
Invoke the web service.

Parameters:
url - The URL to use for the invocation.

main

public static void main(java.lang.String... args)
The client program for testing the web service as a REST service.

Parameters:
args - Only the first command-line argument is used. If it is specified, then it is the URL of the component in the container (usually http://localhost:8080/test). Otherwise, the default stand-alone URL is used as specified in TestImpl (http://localhost:7000/test).