summaryrefslogtreecommitdiffstats
path: root/samples/client/ntlm
diff options
context:
space:
mode:
authorGravatar damitha2011-06-01 16:09:36 +0000
committerGravatar damitha2011-06-01 16:09:36 +0000
commit97c2b8711363403b621b0ecd7cb913b42d77ff04 (patch)
tree4a09aeb21bb26db36ac23bb37a1873b9601cc03c /samples/client/ntlm
parent25a8a083f5243c9042eca403a3d1309c371d927b (diff)
downloadaxis2c-97c2b8711363403b621b0ecd7cb913b42d77ff04.tar.gz
axis2c-97c2b8711363403b621b0ecd7cb913b42d77ff04.tar.bz2
Updating the sample
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1130204 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'samples/client/ntlm')
-rwxr-xr-xsamples/client/ntlm/ntlm_post.c4
-rwxr-xr-xsamples/client/ntlm/ntlm_post_with_check.c8
2 files changed, 6 insertions, 6 deletions
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));
}
}