import org.apache.axis.client.Call;
import org.apache.axis.client.Service;

public class WSCap3Client {
	

	   public static void main(String args[]){
	      try{
	         String urlWS = "http://localhost:8081/axis/WSCap3.jws";
    	  
	         Object[] params = {new String("D:\\Programas\\CAP3\\wscap3\\seq.dat")};

	         Service service = new Service();
	         Call call = (Call) service.createCall();
	         call.setTargetEndpointAddress(urlWS);
	         call.setOperationName("runCap3");
	         String saida = (String) call.invoke(params);
	         System.out.print(saida);
	      
	      }catch(Exception e){
	         System.out.println("Erro1: " + e.getMessage() + " " + e);
	      }
	   }

	}
}
