package ca.deadman.gjtapi.raw.remote.webservices.test; import net.sourceforge.gjtapi.test.TestMakeCall; /* Copyright (c) 2003 Richard Deadman Inc. (www.deadman.ca) All rights reserved. This software is dual licenced under the GPL and a commercial license. If you wish to use under the GPL, the following license applies, otherwise please contact Deadman Consulting at sales@deadman.ca for commercial licensing. --- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** * Test script for the remote raw provider * Creation date: (2003-03-25 15:40:58) * @author: Richard Deadman */ public class TestWebServiceCall { /** * Starts the application. * @param args an array of command-line arguments */ public static void main(java.lang.String[] args) { // Report error if insufficient parameters passed in if (args.length < 3) { System.err.println("Usage: java ca.deadman.gjtapi.raw.remote.webservices.test.TestWebServiceCall host from to"); System.exit(1); } TestMakeCall.test("ca.deadman.gjtapi.raw.remote.webservices.WebProvider;server=" + args[0], args[1], args[2]); System.out.println("Shutting down client."); System.exit(0); } /** * Describe myself * @return a string representation of myself */ public String toString() { return "Simple test class for making a call from one address to another through a CORBA proxy"; } }