axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r1130204 - in /axis/axis2/c/core/trunk/samples/client/ntlm: ntlm_post.c ntlm_post_with_check.c
Date Wed, 01 Jun 2011 16:09:37 GMT
Author: damitha
Date: Wed Jun  1 16:09:36 2011
New Revision: 1130204

URL: http://svn.apache.org/viewvc?rev=1130204&view=rev
Log:
Updating the sample

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

Modified: axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post.c?rev=1130204&r1=1130203&r2=1130204&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post.c (original)
+++ axis/axis2/c/core/trunk/samples/client/ntlm/ntlm_post.c Wed Jun  1 16:09:36 2011
@@ -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);
     }
 

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=1130204&r1=1130203&r2=1130204&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  1 16:09:36
2011
@@ -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));
         }
     }



Mime
View raw message