You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2008/02/19 12:13:18 UTC

svn commit: r629067 - /webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c

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