Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 85933 invoked from network); 19 Feb 2008 11:13:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2008 11:13:42 -0000 Received: (qmail 21541 invoked by uid 500); 19 Feb 2008 11:13:36 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 21455 invoked by uid 500); 19 Feb 2008 11:13:36 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 21444 invoked by uid 500); 19 Feb 2008 11:13:36 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 21441 invoked by uid 99); 19 Feb 2008 11:13:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 03:13:36 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 11:12:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D4CEC1A9832; Tue, 19 Feb 2008 03:13:18 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r629067 - /webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c Date: Tue, 19 Feb 2008 11:13:18 -0000 To: axis2-cvs@ws.apache.org From: senaka@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080219111318.D4CEC1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: senaka Date: Tue Feb 19 03:13:12 2008 New Revision: 629067 URL: http://svn.apache.org/viewvc?rev=629067&view=rev Log: Fixing help message in echo_rest sample Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c?rev=629067&r1=629066&r2=629067&view=diff ============================================================================== --- webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c (original) +++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c Tue Feb 19 03:13:12 2008 @@ -65,14 +65,16 @@ } else if (0 == axutil_strcmp(argv[1], "-h")) { - printf("Usage : %s [endpoint_url]", argv[0]); - printf(" or either %s -mGET for HTTP GET\n", argv[0]); - printf(" or %s -mHEAD for HTTP HEAD\n", argv[0]); - printf(" or %s -mDELETE for HTTP DELETE\n", argv[0]); - printf(" or %s -mPUT for HTTP PUT\n", argv[0]); + printf("Usage : %s [endpoint_url] \n", argv[0]); + printf("\nNOTE: You can test for other HTTP methods by changing the"); + printf("services.xml of the echo service\n and providing the correct REST HTTP method "); + printf("and the location to be used for operation.\n "); + printf("Also note that you have to restart the server after changing the services.xml.\n"); + printf(" use %s -mGET for HTTP GET\n", argv[0]); + printf(" use %s -mHEAD for HTTP HEAD\n", argv[0]); + printf(" use %s -mDELETE for HTTP DELETE\n", argv[0]); + printf(" use %s -mPUT for HTTP PUT\n", argv[0]); printf(" use -h for help\n"); - printf("\nNOTE: please make sure to change the echo service's services.xml,\n "); - printf("if you have not, and restart the server before trying out this sample.\n"); return 0; } else --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org