import java.rmi.RemoteException; import javax.xml.rpc.ServiceException; import localhost.axis.HelloWorld_jws.*; public class HelloWorldStaticClient { public static void main(String[ ] args) throws ServiceException, RemoteException { HelloWorldService locator = new HelloWorldServiceLocator(); HelloWorld stub = locator.getHelloWorld(); String returnValue = stub.test("toto"); System.out.println(returnValue); } }