Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 42621 invoked from network); 5 Sep 2003 18:00:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Sep 2003 18:00:48 -0000 Received: (qmail 89696 invoked by uid 500); 5 Sep 2003 17:59:28 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 89640 invoked by uid 500); 5 Sep 2003 17:59:27 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 89605 invoked by uid 500); 5 Sep 2003 17:59:27 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Date: 5 Sep 2003 17:52:01 -0000 Message-ID: <20030905175201.30919.qmail@minotaur.apache.org> From: gdaniels@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/samples/echo TestClient.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N gdaniels 2003/09/05 10:52:00 Modified: java/samples/echo TestClient.java Log: Enable username/password options for the echo test client. Revision Changes Path 1.72 +11 -0 xml-axis/java/samples/echo/TestClient.java Index: TestClient.java =================================================================== RCS file: /home/cvs/xml-axis/java/samples/echo/TestClient.java,v retrieving revision 1.71 retrieving revision 1.72 diff -u -r1.71 -r1.72 --- TestClient.java 22 Apr 2003 19:33:20 -0000 1.71 +++ TestClient.java 5 Sep 2003 17:52:00 -0000 1.72 @@ -56,6 +56,7 @@ package samples.echo ; import org.apache.axis.AxisFault; +import org.apache.axis.client.Stub; import org.apache.axis.types.HexBinary; import org.apache.axis.types.NegativeInteger; import org.apache.axis.types.NonNegativeInteger; @@ -194,6 +195,14 @@ } } + void setUser(String user) { + ((Stub)binding).setUsername(user); + } + + void setPassword(String password) { + ((Stub)binding).setPassword(password); + } + /** * Execute all tests. */ @@ -774,6 +783,8 @@ // set up the call object client.setURL(opts.getURL()); + client.setUser(opts.getUser()); + client.setPassword(opts.getPassword()); if (testPerformance) { long startTime = System.currentTimeMillis();