axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1133371 - /axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post_with_check.c
Date Wed, 08 Jun 2011 12:37:31 GMT
Author: nandika
Date: Wed Jun  8 12:37:31 2011
New Revision: 1133371

URL: http://svn.apache.org/viewvc?rev=1133371&view=rev
Log:
ntlm_post_with_check.c client sample updated

Modified:
    axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post_with_check.c

Modified: axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post_with_check.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post_with_check.c?rev=1133371&r1=1133370&r2=1133371&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post_with_check.c (original)
+++ axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post_with_check.c Wed Jun  8 12:37:31
2011
@@ -29,22 +29,23 @@ main(
     char **argv)
 {
     const axutil_env_t *env = NULL;
-    const axis2_char_t *address = NULL;
+    axis2_char_t *address = NULL;
     axis2_endpoint_ref_t *endpoint_ref = NULL;
     axis2_options_t *options = NULL;
-    const axis2_char_t *client_home = NULL;
+    axis2_char_t *client_home = NULL;
     axis2_svc_client_t *svc_client = NULL;
     axiom_node_t *payload = NULL;
     axiom_node_t *ret_node = NULL;
-    const axis2_char_t *un = NULL;
-    const axis2_char_t *pw = NULL;
-    const axis2_char_t *flags = NULL;
-    const int fg = 0;
-    const axis2_char_t *domain = NULL;
-    const axis2_char_t *workstation = NULL;
+    axis2_char_t *un = NULL;
+    axis2_char_t *pw = NULL;
+    axis2_char_t *flags = NULL;
+    int fg = 0;
+    axis2_char_t *domain = NULL;
+    axis2_char_t *workstation = NULL;
     axis2_bool_t http_auth_required = AXIS2_FALSE;
     axis2_bool_t proxy_auth_required = AXIS2_FALSE;
     axutil_string_t *soap_action = NULL;
+	int i = 0;
 
     /* Set up the environment */
     env = axutil_env_create_all("ntlm_post_with_check.log", AXIS2_LOG_LEVEL_TRACE);
@@ -205,7 +206,7 @@ main(
     /* Setting Request as HTTP POST Request */
     axis2_options_set_http_method(options, env, AXIS2_HTTP_POST);
 
-    int i = 0;
+
     for(i = 0; i < 1; i++)
     {
         /* Build the SOAP request message payload using OM API. */



Mime
View raw message