summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorGravatar nandika2011-06-08 12:37:31 +0000
committerGravatar nandika2011-06-08 12:37:31 +0000
commit3067bfe35f2831ce79959d9a2b60149ebc0e53fe (patch)
tree30bd373bf89ad2e897d4a69330422da1cb72a0bc /samples
parent4229b550bcada23e2d519cd2272c0e54c7aa735c (diff)
downloadaxis2c-3067bfe35f2831ce79959d9a2b60149ebc0e53fe.tar.gz
axis2c-3067bfe35f2831ce79959d9a2b60149ebc0e53fe.tar.bz2
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
Diffstat (limited to 'samples')
-rwxr-xr-xsamples/client/ntlm/ntlm_post_with_check.c19
1 files 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. */