From 97c2b8711363403b621b0ecd7cb913b42d77ff04 Mon Sep 17 00:00:00 2001 From: damitha Date: Wed, 1 Jun 2011 16:09:36 +0000 Subject: Updating the sample git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1130204 13f79535-47bb-0310-9956-ffa450edef68 --- samples/client/ntlm/ntlm_post.c | 4 ++-- samples/client/ntlm/ntlm_post_with_check.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'samples/client/ntlm') diff --git a/samples/client/ntlm/ntlm_post.c b/samples/client/ntlm/ntlm_post.c index cb76f6f..fdc7d19 100755 --- a/samples/client/ntlm/ntlm_post.c +++ b/samples/client/ntlm/ntlm_post.c @@ -45,7 +45,7 @@ main( axutil_string_t *soap_action = NULL; /* Set up the environment */ - env = axutil_env_create_all("ntlm_auth_client.log", AXIS2_LOG_LEVEL_TRACE); + env = axutil_env_create_all("ntlm_post.log", AXIS2_LOG_LEVEL_TRACE); /* Set end point reference of ntlm service */ address = "http://172.16.176.132:80/myservice/Service1.asmx"; @@ -134,7 +134,7 @@ main( /* Set http-auth information */ if (un && pw) { - axis2_options_set_ntlm_http_auth_info(options, env, un, pw, &fg, domain, workstation, + axis2_options_set_ntlm_http_auth_info(options, env, un, pw, fg, domain, workstation, AXIS2_HTTP_AUTH_TYPE_NTLM); } diff --git a/samples/client/ntlm/ntlm_post_with_check.c b/samples/client/ntlm/ntlm_post_with_check.c index 8835d58..4701b64 100755 --- a/samples/client/ntlm/ntlm_post_with_check.c +++ b/samples/client/ntlm/ntlm_post_with_check.c @@ -47,7 +47,7 @@ main( axutil_string_t *soap_action = NULL; /* Set up the environment */ - env = axutil_env_create_all("ntlm_auth_client_with_check.log", AXIS2_LOG_LEVEL_TRACE); + env = axutil_env_create_all("ntlm_post_with_check.log", AXIS2_LOG_LEVEL_TRACE); /* Set end point reference of ntlm service */ address = "http://172.16.176.132:80/myservice/Service1.asmx"; @@ -135,7 +135,7 @@ main( /* Sending dummy authentication info */ if (un && pw) { - axis2_options_set_ntlm_proxy_auth_info(options, env, "", "", NULL, NULL, NULL, NULL); + axis2_options_set_ntlm_proxy_auth_info(options, env, "", "", 0, NULL, NULL, NULL); } if(flags) { @@ -167,7 +167,7 @@ main( /* Set proxy-auth information */ if (un && pw) { - axis2_options_set_ntlm_proxy_auth_info(options, env, un, pw, &fg, domain, workstation, + axis2_options_set_ntlm_proxy_auth_info(options, env, un, pw, fg, domain, workstation, axis2_svc_client_get_auth_type(svc_client, env)); } @@ -180,7 +180,7 @@ main( /* Set http-auth information */ if (un && pw) { - axis2_options_set_ntlm_http_auth_info(options, env, un, pw, &fg, domain, workstation, + axis2_options_set_ntlm_http_auth_info(options, env, un, pw, fg, domain, workstation, axis2_svc_client_get_auth_type(svc_client, env)); } } -- cgit v1.1-32-gdbae