FileDocCategorySizeDatePackage
EchoClient.javaAPI DocExample541Sat Apr 23 22:35:38 BST 2005None

EchoClient

public class EchoClient extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		Echo_Impl impl = new Echo_Impl();
		EchoService service = impl.getEchoServicePort();

		int i = service.echoInt( 42 );
		System.out.println( i == 42 );
		String s = service.echoString( "Hello!" );
		System.out.println( s.equals("Hello!") );
		MyObject myObj = service.echoMyObject( new MyObject(42, "Foo!") );
		System.out.println( myObj.getClass() );
		System.out.println( myObj.getStringValue() );