From 3067bfe35f2831ce79959d9a2b60149ebc0e53fe Mon Sep 17 00:00:00 2001 From: nandika Date: Wed, 8 Jun 2011 12:37:31 +0000 Subject: ntlm_post_with_check.c client sample updated git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1133371 13f79535-47bb-0310-9956-ffa450edef68 --- samples/client/ntlm/ntlm_post_with_check.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/samples/client/ntlm/ntlm_post_with_check.c b/samples/client/ntlm/ntlm_post_with_check.c index 4701b64..3732106 100755 --- a/samples/client/ntlm/ntlm_post_with_check.c +++ b/samples/client/ntlm/ntlm_post_with_check.c @@ -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. */ -- cgit v1.1-32-gdbae