package tutorial.sample18;

import java.io.IOException;

import java.rmi.RemoteException;

import javax.xml.rpc.ServiceException;

public class HelloWorldService{

  private SimpleTestSoap testPort;

  public HelloWorldService() throws IOException, ServiceException{
    testPort = new SimpleTest_Impl().getSimpleTestSoap();
  }

  public String helloExternalWorld() throws RemoteException{
    return testPort.echoString( "hi external service" );
  }
}

