axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r414616 - in /webservices/axis2/trunk/c: rampart/include/ rampart/samples/client/echo/ rampart/src/core/ rampart/src/handlers/ rampart/src/util/ rampart/test/util/ samples/codegen/client/interop_doc1/ samples/codegen/client/interop_doc2/ sa...
Date Thu, 15 Jun 2006 15:25:33 GMT
Author: samisa
Date: Thu Jun 15 08:25:31 2006
New Revision: 414616

URL: http://svn.apache.org/viewvc?rev=414616&view=rev
Log:
Replaced tab characters

Modified:
    webservices/axis2/trunk/c/rampart/include/rampart_crypto_util.h
    webservices/axis2/trunk/c/rampart/include/rampart_handler_util.h
    webservices/axis2/trunk/c/rampart/include/rampart_mod.h
    webservices/axis2/trunk/c/rampart/include/rampart_util.h
    webservices/axis2/trunk/c/rampart/include/timestamp_token.h
    webservices/axis2/trunk/c/rampart/include/user_sec_param.h
    webservices/axis2/trunk/c/rampart/include/username_token.h
    webservices/axis2/trunk/c/rampart/samples/client/echo/echo.c
    webservices/axis2/trunk/c/rampart/src/core/mod_rampart.c
    webservices/axis2/trunk/c/rampart/src/handlers/rampart_out_handler.c
    webservices/axis2/trunk/c/rampart/src/util/rampart_crypto_util.c
    webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c
    webservices/axis2/trunk/c/rampart/src/util/rampart_util.c
    webservices/axis2/trunk/c/rampart/src/util/username_token.c
    webservices/axis2/trunk/c/rampart/test/util/test_sha.c
    webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_date.c
    webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_struct_array.c
    webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_string_array.c
    webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_struct.c
    webservices/axis2/trunk/c/samples/codegen/server/calculator/axis2_Calculator.c
    webservices/axis2/trunk/c/samples/codegen/server/interop_doc1/axis2_InteropTestPortTypeDocService.c
    webservices/axis2/trunk/c/samples/codegen/server/interop_doc2/axis2_WSDLInteropTestDocLitService.c
    webservices/axis2/trunk/c/test/itest/whitemesa/round1/round1_client.c
    webservices/axis2/trunk/c/test/itest/whitemesa/round2/round2_client.c
    webservices/axis2/trunk/c/util/src/base64_binary.c
    webservices/axis2/trunk/c/util/src/minizip/archive_extract.c
    webservices/axis2/trunk/c/util/test/util/test_string.c
    webservices/axis2/trunk/c/woden/src/wsdl20/woden_constants.h
    webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c

Modified: webservices/axis2/trunk/c/rampart/include/rampart_crypto_util.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rampart_crypto_util.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rampart_crypto_util.h (original)
+++ webservices/axis2/trunk/c/rampart/include/rampart_crypto_util.h Thu Jun 15 08:25:31 2006
@@ -45,11 +45,11 @@
   * @return calculated hash
   */ 
 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-	rampart_crypto_sha1(const axis2_env_t *env,
-				const axis2_char_t *nonce,
-	                	const axis2_char_t *created,
-	                	const axis2_char_t *password);
-												                                        
+   rampart_crypto_sha1(const axis2_env_t *env,
+            const axis2_char_t *nonce,
+                      const axis2_char_t *created,
+                      const axis2_char_t *password);
+                                                                            
 
 /* @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/rampart/include/rampart_handler_util.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rampart_handler_util.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rampart_handler_util.h (original)
+++ webservices/axis2/trunk/c/rampart/include/rampart_handler_util.h Thu Jun 15 08:25:31 2006
@@ -49,7 +49,7 @@
                                             
 AXIS2_EXTERN axis2_param_t* AXIS2_CALL
 rampart_get_security_param( const axis2_env_t *env,
-		                 axis2_msg_ctx_t *msg_ctx,
+                       axis2_msg_ctx_t *msg_ctx,
                          const axis2_char_t *parameter);
     
  /**
@@ -62,7 +62,7 @@
 AXIS2_EXTERN axis2_array_list_t* AXIS2_CALL
 rampart_get_actions( const axis2_env_t *env,
                                             const axis2_ctx_t *ctx,
-		                                    const axis2_param_t *param_x_flow_security);
+                                          const axis2_param_t *param_x_flow_security);
     
 
  

Modified: webservices/axis2/trunk/c/rampart/include/rampart_mod.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rampart_mod.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rampart_mod.h (original)
+++ webservices/axis2/trunk/c/rampart/include/rampart_mod.h Thu Jun 15 08:25:31 2006
@@ -37,7 +37,7 @@
  */   
 AXIS2_EXTERN axis2_handler_t* AXIS2_CALL
 rampart_in_handler_create(const axis2_env_t *env, 
-							axis2_qname_t *qname);
+                     axis2_qname_t *qname);
 
 /**
  * Creates Out handler
@@ -47,7 +47,7 @@
  */   
 AXIS2_EXTERN axis2_handler_t* AXIS2_CALL 
 rampart_out_handler_create(const axis2_env_t *env, 
-							  axis2_qname_t *qname);
+                       axis2_qname_t *qname);
     
 /** @} */
     

Modified: webservices/axis2/trunk/c/rampart/include/rampart_util.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rampart_util.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rampart_util.h (original)
+++ webservices/axis2/trunk/c/rampart/include/rampart_util.h Thu Jun 15 08:25:31 2006
@@ -35,20 +35,20 @@
   * @ingroup Rampart_Util
   */
 
-												                                        
+                                                                            
  /**
     * Generates the nonce. Nonce is a base64 encoded random string.
     * @return generated nonce
-    */ 	
+    */    
 
 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-	rampart_generate_nonce(const axis2_env_t *env);
+   rampart_generate_nonce(const axis2_env_t *env);
 
   /**
     * Generates the nonce. Nonce is a base64 encoded random string.
     * @param ttl Time to live. The time difference between created and expired in mili seconds.
     * @return generated nonce
-    **/ 	
+    **/    
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL 
 rampart_generate_time(const axis2_env_t *env, int ttl);
 

Modified: webservices/axis2/trunk/c/rampart/include/timestamp_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/timestamp_token.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/timestamp_token.h (original)
+++ webservices/axis2/trunk/c/rampart/include/timestamp_token.h Thu Jun 15 08:25:31 2006
@@ -29,7 +29,7 @@
 
 /*
  * Builds timestamp token.
- * @param env pointer to environment struct    	
+ * @param env pointer to environment struct       
  * @param ctx axis2 context
  * @param sec_node security node
  * @param sec_ns_obj Security namespace object

Modified: webservices/axis2/trunk/c/rampart/include/user_sec_param.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/user_sec_param.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/user_sec_param.h (original)
+++ webservices/axis2/trunk/c/rampart/include/user_sec_param.h Thu Jun 15 08:25:31 2006
@@ -42,24 +42,24 @@
      *  @return Status code
      */
     axis2_status_t (AXIS2_CALL *
-	free) (struct user_sec_param * user_sec_param,
+   free) (struct user_sec_param * user_sec_param,
            const axis2_env_t *env);                                   
-										   
-	axis2_char_t* (AXIS2_CALL *
-		get_user)(struct user_sec_param * user_sec_param,
-				const axis2_env_t *env);	
+                                 
+   axis2_char_t* (AXIS2_CALL *
+      get_user)(struct user_sec_param * user_sec_param,
+            const axis2_env_t *env);   
 } user_sec_param_ops_t;
 
 
 typedef struct user_sec_param
 {
-	/** Parameter related ops */
-	user_sec_param_ops_t *ops;
+   /** Parameter related ops */
+   user_sec_param_ops_t *ops;
 }user_sec_param_t;
 
 
 /**
- *	creates a user_sec_param struct
+ *   creates a user_sec_param struct
  *  returns a pointer to a user_sec_param struct
  *  @user   optional
  *  @password      optional  

Modified: webservices/axis2/trunk/c/rampart/include/username_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/username_token.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/username_token.h (original)
+++ webservices/axis2/trunk/c/rampart/include/username_token.h Thu Jun 15 08:25:31 2006
@@ -52,7 +52,7 @@
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
 rampart_get_value( const axis2_env_t *env,
                    axis2_ctx_t *ctx,
-		           const axis2_char_t *key);
+                 const axis2_char_t *key);
                    
   
 /**

Modified: webservices/axis2/trunk/c/rampart/samples/client/echo/echo.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/samples/client/echo/echo.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/samples/client/echo/echo.c (original)
+++ webservices/axis2/trunk/c/rampart/samples/client/echo/echo.c Thu Jun 15 08:25:31 2006
@@ -74,22 +74,22 @@
     */
 
     /*
-	un_property = axis2_property_create(env);
+   un_property = axis2_property_create(env);
     AXIS2_PROPERTY_SET_VALUE(un_property, env, "Raigama");
-	AXIS2_OPTIONS_SET_PROPERTY(options, env, "user", un_property);
+   AXIS2_OPTIONS_SET_PROPERTY(options, env, "user", un_property);
 
-	pw_property = axis2_property_create(env);
-	AXIS2_PROPERTY_SET_VALUE(pw_property, env, "RaigamaPW");
-	AXIS2_OPTIONS_SET_PROPERTY(options, env, "password", pw_property);
+   pw_property = axis2_property_create(env);
+   AXIS2_PROPERTY_SET_VALUE(pw_property, env, "RaigamaPW");
+   AXIS2_OPTIONS_SET_PROPERTY(options, env, "password", pw_property);
     
     */
-					
+               
     if(!client_home)
     {
-	    client_home = AXIS2_GETENV("AXIS2C_HOME");
+       client_home = AXIS2_GETENV("AXIS2C_HOME");
         printf("\nNo client_home specified. Using default %s", client_home);
     }
-		       
+             
     
     /* Set up deploy folder. It is from the deploy folder, the configuration is picked up 
      * using the axis2.xml file.

Modified: webservices/axis2/trunk/c/rampart/src/core/mod_rampart.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/core/mod_rampart.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/core/mod_rampart.c (original)
+++ webservices/axis2/trunk/c/rampart/src/core/mod_rampart.c Thu Jun 15 08:25:31 2006
@@ -112,7 +112,7 @@
 axis2_get_instance(axis2_module_t **inst,
                    const axis2_env_t *env)
 {
-	*inst = mod_rampart_create(env);
+   *inst = mod_rampart_create(env);
     if(!(*inst))
     {
         return AXIS2_FAILURE;
@@ -126,8 +126,8 @@
                       const axis2_env_t *env)
 {
     axis2_status_t status = AXIS2_FAILURE;
-	if (inst)
-	{
+   if (inst)
+   {
         status = mod_rampart_shutdown(inst, env);
     }
     return status;

Modified: webservices/axis2/trunk/c/rampart/src/handlers/rampart_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/handlers/rampart_out_handler.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/handlers/rampart_out_handler.c (original)
+++ webservices/axis2/trunk/c/rampart/src/handlers/rampart_out_handler.c Thu Jun 15 08:25:31 2006
@@ -99,7 +99,7 @@
     axis2_param_t *param_out_flow_security = NULL;
     axiom_node_t *sec_node =  NULL;    
     axiom_element_t *sec_ele = NULL;
-	axis2_array_list_t *action_list = NULL;
+   axis2_array_list_t *action_list = NULL;
     axis2_param_t *param_action = NULL;
     axis2_char_t *items = NULL;
 
@@ -170,8 +170,8 @@
         if(!items)
         {
             rampart_print_info(env,"No items ... ");
-	        return AXIS2_FAILURE;
-    	}
+           return AXIS2_FAILURE;
+       }
   
         sec_ns_obj =  axiom_namespace_create (env, RAMPART_WSSE_XMLNS,
                                       RAMPART_WSSE);   

Modified: webservices/axis2/trunk/c/rampart/src/util/rampart_crypto_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/rampart_crypto_util.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/rampart_crypto_util.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/rampart_crypto_util.c Thu Jun 15 08:25:31 2006
@@ -30,28 +30,28 @@
 #define SIZE_HASH 32
 
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL rampart_crypto_sha1(const axis2_env_t *env, 
-					const axis2_char_t *nonce,
-					const axis2_char_t *created,
-					const axis2_char_t *password)
-					
+               const axis2_char_t *nonce,
+               const axis2_char_t *created,
+               const axis2_char_t *password)
+               
 {
-	axis2_char_t *result = NULL;
-	char* input = NULL;
-	axis2_char_t* encoded_str=NULL;
+   axis2_char_t *result = NULL;
+   char* input = NULL;
+   axis2_char_t* encoded_str=NULL;
 
-	input= AXIS2_MALLOC(env->allocator, AXIS2_STRLEN(nonce) + 
-		    AXIS2_STRLEN(created) + AXIS2_STRLEN(password) + 1);
-	sprintf(input, "%s%s%s", nonce, created, password);
-	result = AXIS2_MALLOC(env->allocator, SHA_DIGEST_LENGTH + 1);
+   input= AXIS2_MALLOC(env->allocator, AXIS2_STRLEN(nonce) + 
+          AXIS2_STRLEN(created) + AXIS2_STRLEN(password) + 1);
+   sprintf(input, "%s%s%s", nonce, created, password);
+   result = AXIS2_MALLOC(env->allocator, SHA_DIGEST_LENGTH + 1);
     
-	SHA1(input,SHA_DIGEST_LENGTH, result);
-	result[SHA_DIGEST_LENGTH] = '\0';
-	  
-	encoded_str = AXIS2_MALLOC(env->allocator, axis2_base64_encode_len(SIZE_HASH));
-	axis2_base64_encode(encoded_str, result, AXIS2_STRLEN(result));
-	
+   SHA1(input,SHA_DIGEST_LENGTH, result);
+   result[SHA_DIGEST_LENGTH] = '\0';
+     
+   encoded_str = AXIS2_MALLOC(env->allocator, axis2_base64_encode_len(SIZE_HASH));
+   axis2_base64_encode(encoded_str, result, AXIS2_STRLEN(result));
+   
     AXIS2_FREE(env->allocator, input);
     AXIS2_FREE(env->allocator, result);
 
-	return encoded_str;
+   return encoded_str;
 }

Modified: webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c Thu Jun 15 08:25:31 2006
@@ -30,13 +30,13 @@
 
 AXIS2_EXTERN axis2_param_t* AXIS2_CALL
 rampart_get_security_param( const axis2_env_t *env,
-		                    axis2_msg_ctx_t *msg_ctx,
+                          axis2_msg_ctx_t *msg_ctx,
                          const axis2_char_t *parameter);
                          
 AXIS2_EXTERN axis2_array_list_t* AXIS2_CALL
 rampart_get_actions( const axis2_env_t *env,
                                             const axis2_ctx_t *ctx,
-		                                    const axis2_param_t *param_x_flow_security);
+                                          const axis2_param_t *param_x_flow_security);
                                             
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
 rampart_get_action_params( const axis2_env_t *env,
@@ -59,7 +59,7 @@
 
 axis2_param_t* AXIS2_CALL
 rampart_get_security_param( const axis2_env_t *env,
-		                    axis2_msg_ctx_t *msg_ctx,
+                          axis2_msg_ctx_t *msg_ctx,
                          const axis2_char_t *parameter)
 {
   

Modified: webservices/axis2/trunk/c/rampart/src/util/rampart_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/rampart_util.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/rampart_util.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/rampart_util.c Thu Jun 15 08:25:31 2006
@@ -33,34 +33,34 @@
 
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL rampart_generate_nonce(const axis2_env_t *env)
 {
-	int num;
-	char* rand_str = NULL;
-	axis2_char_t* encoded_str=NULL;
-	num=rand();
-	rand_str= AXIS2_MALLOC(env->allocator,sizeof(char)*16);
-	sprintf(rand_str, "%16d", num);
+   int num;
+   char* rand_str = NULL;
+   axis2_char_t* encoded_str=NULL;
+   num=rand();
+   rand_str= AXIS2_MALLOC(env->allocator,sizeof(char)*16);
+   sprintf(rand_str, "%16d", num);
 
 
     encoded_str = AXIS2_MALLOC(env->allocator, sizeof(char)*SIZE_NONCE);
     axis2_base64_encode(encoded_str,rand_str,AXIS2_STRLEN(rand_str));
     /* AXIS2_FREE(env->allocator, rand_str); */
-	return encoded_str;
+   return encoded_str;
 }
 
 
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL rampart_generate_time(const axis2_env_t *env, int ttl)
 {
-	char buffer[SIZE];
-	time_t curtime;
-	struct tm *loctime;
-	axis2_char_t* created_str=NULL;
+   char buffer[SIZE];
+   time_t curtime;
+   struct tm *loctime;
+   axis2_char_t* created_str=NULL;
  
-	curtime = time (NULL) + ttl;
-	loctime = localtime (&curtime);
-  	strftime (buffer, SIZE, "%Y-%m-%dT%H:%M:%SZ\n", loctime);
+   curtime = time (NULL) + ttl;
+   loctime = localtime (&curtime);
+     strftime (buffer, SIZE, "%Y-%m-%dT%H:%M:%SZ\n", loctime);
     created_str = AXIS2_STRDUP(buffer, env);
     
-	return created_str;
+   return created_str;
 }
 
 AXIS2_EXTERN int AXIS2_CALL 

Modified: webservices/axis2/trunk/c/rampart/src/util/username_token.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/username_token.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/username_token.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/username_token.c Thu Jun 15 08:25:31 2006
@@ -36,7 +36,7 @@
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
 rampart_get_value( const axis2_env_t *env,
                    axis2_ctx_t *ctx,
-		           const axis2_char_t *key);
+                 const axis2_char_t *key);
                    
                    
 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
@@ -82,12 +82,12 @@
 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
 rampart_get_value( const axis2_env_t *env,
         axis2_ctx_t *ctx,
-	    const axis2_char_t *key)
+       const axis2_char_t *key)
 
 {
-	axis2_property_t* property = NULL;
-	axis2_char_t* str_property = NULL;
-	
+   axis2_property_t* property = NULL;
+   axis2_char_t* str_property = NULL;
+   
     /*Get value from the dynamic settings... if not get it from the outflow security parameter*/
     
     property = AXIS2_CTX_GET_PROPERTY (ctx, env, key, AXIS2_FALSE);
@@ -99,7 +99,7 @@
 
     if(str_property)
     {
-    	return str_property;
+       return str_property;
     }else{
        /* printf(" Cannot find dynamic settings for %s ", key);*/
     }

Modified: webservices/axis2/trunk/c/rampart/test/util/test_sha.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/test/util/test_sha.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/test/util/test_sha.c (original)
+++ webservices/axis2/trunk/c/rampart/test/util/test_sha.c Thu Jun 15 08:25:31 2006
@@ -6,48 +6,48 @@
 
 axis2_env_t *test_init()
 {
-	axis2_allocator_t *allocator = axis2_allocator_init (NULL);
-	axis2_error_t *error = axis2_error_create (allocator);
-	axis2_env_t *env = axis2_env_create_with_error(allocator, error);
-	return env;
+   axis2_allocator_t *allocator = axis2_allocator_init (NULL);
+   axis2_error_t *error = axis2_error_create (allocator);
+   axis2_env_t *env = axis2_env_create_with_error(allocator, error);
+   return env;
 }
 
 int main()
 {
-	axis2_char_t* hash=NULL;
-	axis2_env_t *env = NULL;
-	
-	env = test_init();
+   axis2_char_t* hash=NULL;
+   axis2_env_t *env = NULL;
+   
+   env = test_init();
 
-	printf("--Testing started--------------------------------------------\n");
-	printf("\n--Testing hash-----------------------------------------------\n");
-	
-	hash=rampart_crypto_sha1(env, "WScqanjCEAC4mQoBE07sAQ==","2003-07-16T01:24:32Z","IloveDogs");
-	if(!hash){
-		printf("No hash generated :( ...\n");
-	}
-	printf("Hash = %s",hash);
+   printf("--Testing started--------------------------------------------\n");
+   printf("\n--Testing hash-----------------------------------------------\n");
+   
+   hash=rampart_crypto_sha1(env, "WScqanjCEAC4mQoBE07sAQ==","2003-07-16T01:24:32Z","IloveDogs");
+   if(!hash){
+      printf("No hash generated :( ...\n");
+   }
+   printf("Hash = %s",hash);
 #if 0
-	/*encode Base64*/
-	axis2_char_t* encodedStr=NULL;
+   /*encode Base64*/
+   axis2_char_t* encodedStr=NULL;
 
 
-	encodedStr = AXIS2_MALLOC(env->allocator, 20);
-	axis2_base64_encode_binary(encodedStr,hash,20);
-	
-	printf("Hash = %s \n",encodedStr);
+   encodedStr = AXIS2_MALLOC(env->allocator, 20);
+   axis2_base64_encode_binary(encodedStr,hash,20);
+   
+   printf("Hash = %s \n",encodedStr);
 #endif
-	printf("\n----Testing nonce------------------------------------------\n");
-	axis2_char_t* nonce=NULL;
-	nonce=rampart_generate_nonce(env);
-	printf("NONCE: %s",nonce);
+   printf("\n----Testing nonce------------------------------------------\n");
+   axis2_char_t* nonce=NULL;
+   nonce=rampart_generate_nonce(env);
+   printf("NONCE: %s",nonce);
 
-	printf("\n----Testing created----------------------------------------\n");
-	axis2_char_t* created=NULL;
-	created=rampart_generate_time(env, 300);
-	printf("CREATED: %s",created);
-	printf("\n----End of testings----------------------------------------\n");
-	return;
+   printf("\n----Testing created----------------------------------------\n");
+   axis2_char_t* created=NULL;
+   created=rampart_generate_time(env, 300);
+   printf("CREATED: %s",created);
+   printf("\n----End of testings----------------------------------------\n");
+   return;
 }
 
 

Modified: webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_date.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_date.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_date.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_date.c Thu Jun 15 08:25:31 2006
@@ -20,10 +20,10 @@
     axis2_char_t* return_date_str = NULL;
          
     endpoint_uri = 
-	    "http://localhost:9090/axis2/services/interop_doc1";
+       "http://localhost:9090/axis2/services/interop_doc1";
 
     env = axis2_env_create_all( "codegen_utest_blocking.log",
-		       AXIS2_LOG_LEVEL_TRACE);
+             AXIS2_LOG_LEVEL_TRACE);
 
     /* Set up deploy folder.*/
     client_home = AXIS2_GETENV("AXIS2C_HOME");
@@ -31,7 +31,7 @@
         client_home = "../../../deploy";
     
     stub = axis2_InteropTestPortTypeDocService_stub_create( env,
-		         client_home , endpoint_uri); 
+               client_home , endpoint_uri); 
 
     /* create the struct */
     echo_date = axis2_date_time_create (env); /* default to current date */

Modified: webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_struct_array.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_struct_array.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_struct_array.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/client/interop_doc1/test_echo_struct_array.c Thu Jun 15 08:25:31 2006
@@ -22,10 +22,10 @@
 
          
     endpoint_uri = 
-	    "http://localhost:9090/axis2/services/interop_doc1";
+       "http://localhost:9090/axis2/services/interop_doc1";
 
     env = axis2_env_create_all( "codegen_utest_blocking.log",
-		       AXIS2_LOG_LEVEL_TRACE);
+             AXIS2_LOG_LEVEL_TRACE);
 
     /* Set up deploy folder.*/
     client_home = AXIS2_GETENV("AXIS2C_HOME");
@@ -33,12 +33,12 @@
         client_home = "../../../deploy";
     
     stub = axis2_InteropTestPortTypeDocService_stub_create( env,
-		         client_home , endpoint_uri); 
+               client_home , endpoint_uri); 
 
     /* create the struct array */
     arr_size = 3;
     echo_struct_arr = ( axis2_SOAPStruct_t** ) malloc
-	    ( arr_size * sizeof ( axis2_SOAPStruct_t* ) );
+       ( arr_size * sizeof ( axis2_SOAPStruct_t* ) );
     
     echo_struct_arr[0] = axis2_SOAPStruct_create ( env );
     AXIS2_SOAPSTRUCT_SET_VARSTRING ( echo_struct_arr[0], env, "sturct0" );
@@ -63,14 +63,14 @@
     echo_out = axis2_echoStructArray(  stub, env, echo_in );
     
     ret_echo_struct_arr = 
-	    AXIS2_ECHOSTRUCTARRAYRESPONSE_GET_ECHOSTRUCTARRAYRETURN 
-	    ( echo_out, env ,&ret_arr_size);
+       AXIS2_ECHOSTRUCTARRAYRESPONSE_GET_ECHOSTRUCTARRAYRETURN 
+       ( echo_out, env ,&ret_arr_size);
     for ( i = 0;  i < ret_arr_size ; i ++ )
     {
       printf ( "recieved turn %d \n string %s\n int %d\n float %f\n\n", i,
-		       AXIS2_SOAPSTRUCT_GET_VARSTRING ( ret_echo_struct_arr[i], env ),
-		       AXIS2_SOAPSTRUCT_GET_VARINT ( ret_echo_struct_arr[i], env ),
-		       AXIS2_SOAPSTRUCT_GET_VARFLOAT ( ret_echo_struct_arr[i], env ) );
+             AXIS2_SOAPSTRUCT_GET_VARSTRING ( ret_echo_struct_arr[i], env ),
+             AXIS2_SOAPSTRUCT_GET_VARINT ( ret_echo_struct_arr[i], env ),
+             AXIS2_SOAPSTRUCT_GET_VARFLOAT ( ret_echo_struct_arr[i], env ) );
     }
     return 0;
 }

Modified: webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_string_array.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_string_array.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_string_array.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_string_array.c Thu Jun 15 08:25:31 2006
@@ -39,7 +39,7 @@
     array_in = axis2_ArrayOfstring_literal_create (env );
 
     AXIS2_ARRAYOFSTRING_LITERAL_SET_STRING( array_in, env,
-		    string_array, array_length );
+          string_array, array_length );
     
     /* create the input params using databinding */
     echo_in = axis2_echoStringArray_create ( env );
@@ -52,7 +52,7 @@
     array_out = AXIS2_ECHOSTRINGARRAYRESPONSE_GET_RETURN( echo_out, env );
 
     string_return_string_array = AXIS2_ARRAYOFSTRING_LITERAL_GET_STRING
-	    ( array_out, env, &return_array_length );
+       ( array_out, env, &return_array_length );
 
     for ( i = 0; i < return_array_length ; i ++ )
     {

Modified: webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_struct.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_struct.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_struct.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/client/interop_doc2/test_echo_struct.c Thu Jun 15 08:25:31 2006
@@ -34,7 +34,7 @@
         client_home = "../../../deploy";
     
     stub = axis2_WSDLInteropTestDocLitService_stub_create( env,
-		    client_home , endpoint_uri); 
+          client_home , endpoint_uri); 
 
     /* create the struct */
     struct_in = axis2_SOAPStruct_create( env );

Modified: webservices/axis2/trunk/c/samples/codegen/server/calculator/axis2_Calculator.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/server/calculator/axis2_Calculator.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/server/calculator/axis2_Calculator.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/server/calculator/axis2_Calculator.c Thu Jun 15 08:25:31 2006
@@ -11,7 +11,7 @@
 
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -23,7 +23,7 @@
         {
           /* Todo fill this with the necessary business logic */
           axis2_addResponse_t* add_out = NULL;
-    	  axis2_add_t* add_in = param0;
+         axis2_add_t* add_in = param0;
           axis2_addRequest_t* add_req = NULL;
           axis2_addResponse20_t* add_res = NULL;
 
@@ -33,24 +33,24 @@
           int val2 = 0;
 
 
-	  add_req = AXIS2_ADD_GET_ADD( add_in, env );
+     add_req = AXIS2_ADD_GET_ADD( add_in, env );
          
-	  val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
+     val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
           val2 = AXIS2_ADDREQUEST_GET_IN1 ( add_req, env );
 
           ret_val = val1 + val2;
 
           add_out = axis2_addResponse_create ( env );
-	  AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
+     AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
           
-	  add_res = axis2_addResponse20_create ( env );
-	  AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
-	  
+     add_res = axis2_addResponse20_create ( env );
+     AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
+     
           return add_res;
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -62,7 +62,7 @@
         {
           /* Todo fill this with the necessary business logic */
           axis2_addResponse_t* add_out = NULL;
-    	  axis2_add_t* add_in = param2;
+         axis2_add_t* add_in = param2;
           axis2_addRequest_t* add_req = NULL;
           axis2_addResponse20_t* add_res = NULL;
 
@@ -72,25 +72,25 @@
           int val2 = 0;
 
 
-	  add_req = AXIS2_ADD_GET_ADD( add_in, env );
+     add_req = AXIS2_ADD_GET_ADD( add_in, env );
          
-	  val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
+     val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
           val2 = AXIS2_ADDREQUEST_GET_IN1 ( add_req, env );
 
 
           ret_val = val1 / val2;
 
           add_out = axis2_addResponse_create ( env );
-	  AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
+     AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
           
-	  add_res = axis2_addResponse20_create ( env );
-	  AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
-	  
+     add_res = axis2_addResponse20_create ( env );
+     AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
+     
           return add_res;
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -102,7 +102,7 @@
         {
           /* Todo fill this with the necessary business logic */
           axis2_addResponse_t* add_out = NULL;
-    	  axis2_add_t* add_in = param4;
+         axis2_add_t* add_in = param4;
           axis2_addRequest_t* add_req = NULL;
           axis2_addResponse20_t* add_res = NULL;
 
@@ -112,25 +112,25 @@
           int val2 = 0;
 
 
-	  add_req = AXIS2_ADD_GET_ADD( add_in, env );
+     add_req = AXIS2_ADD_GET_ADD( add_in, env );
          
-	  val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
+     val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
           val2 = AXIS2_ADDREQUEST_GET_IN1 ( add_req, env );
 
 
           ret_val = val1 - val2;
 
           add_out = axis2_addResponse_create ( env );
-	  AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
+     AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
           
-	  add_res = axis2_addResponse20_create ( env );
-	  AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
-	  
+     add_res = axis2_addResponse20_create ( env );
+     AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
+     
           return add_res;
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -142,7 +142,7 @@
         {
           /* Todo fill this with the necessary business logic */
           axis2_addResponse_t* add_out = NULL;
-    	  axis2_add_t* add_in = param6;
+         axis2_add_t* add_in = param6;
           axis2_addRequest_t* add_req = NULL;
           axis2_addResponse20_t* add_res = NULL;
 
@@ -152,20 +152,20 @@
           int val2 = 0;
 
 
-	  add_req = AXIS2_ADD_GET_ADD( add_in, env );
+     add_req = AXIS2_ADD_GET_ADD( add_in, env );
          
-	  val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
+     val1 = AXIS2_ADDREQUEST_GET_IN0 ( add_req, env );
           val2 = AXIS2_ADDREQUEST_GET_IN1 ( add_req, env );
 
 
           ret_val = val1 * val2;
 
           add_out = axis2_addResponse_create ( env );
-	  AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
+     AXIS2_ADDRESPONSE_SET_ADDRETURN ( add_out, env, ret_val );
           
-	  add_res = axis2_addResponse20_create ( env );
-	  AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
-	  
+     add_res = axis2_addResponse20_create ( env );
+     AXIS2_ADDRESPONSE20_SET_ADDRESPONSE ( add_res, env, add_out );
+     
           return add_res;
         }
      

Modified: webservices/axis2/trunk/c/samples/codegen/server/interop_doc1/axis2_InteropTestPortTypeDocService.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/server/interop_doc1/axis2_InteropTestPortTypeDocService.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/server/interop_doc1/axis2_InteropTestPortTypeDocService.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/server/interop_doc1/axis2_InteropTestPortTypeDocService.c Thu Jun 15 08:25:31 2006
@@ -11,7 +11,7 @@
 
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -26,7 +26,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -41,7 +41,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -56,21 +56,21 @@
           axis2_echoDateResponse_t* echo_out = NULL;
           
           axis2_date_time_t* echo_date = NULL;  
-	  axis2_char_t* recieved_date_str  = NULL;
+     axis2_char_t* recieved_date_str  = NULL;
 
-	  echo_date = AXIS2_ECHODATE_GET_ARG_0_10 ( echo_in, env );
+     echo_date = AXIS2_ECHODATE_GET_ARG_0_10 ( echo_in, env );
 
           recieved_date_str = AXIS2_DATE_TIME_SERIALIZE_DATE_TIME(echo_date, env);
           printf ("echoing date %s\n", recieved_date_str );
 
           echo_out = axis2_echoDateResponse_create ( env );
-	  AXIS2_ECHODATERESPONSE_SET_ECHODATERETURN ( echo_out, env , echo_date);
+     AXIS2_ECHODATERESPONSE_SET_ECHODATERETURN ( echo_out, env , echo_date);
 
           return echo_out;
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -85,7 +85,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -100,7 +100,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -115,7 +115,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -130,7 +130,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -145,7 +145,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -160,7 +160,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -175,7 +175,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -190,7 +190,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -205,7 +205,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -219,31 +219,31 @@
          axis2_echoStructArray_t* echo_in =  param24;
          axis2_echoStructArrayResponse_t* echo_out = NULL;
 
-	 axis2_SOAPStruct_t** echo_struct_arr = NULL;
-	 int arr_size = 0;
+    axis2_SOAPStruct_t** echo_struct_arr = NULL;
+    int arr_size = 0;
 
-	 int i = 0;
+    int i = 0;
 
-	 echo_struct_arr = 
-		 AXIS2_ECHOSTRUCTARRAY_GET_ARG_0_7 ( echo_in, env, &arr_size );
+    echo_struct_arr = 
+       AXIS2_ECHOSTRUCTARRAY_GET_ARG_0_7 ( echo_in, env, &arr_size );
 
-	 for ( i = 0;  i < arr_size ; i ++ )
-	 {
-	      printf ( "echoing turn %d\n string %s\n int %d\n float %f\n\n", i,
-					AXIS2_SOAPSTRUCT_GET_VARSTRING ( echo_struct_arr[i], env ),
-					AXIS2_SOAPSTRUCT_GET_VARINT ( echo_struct_arr[i], env ),
-					AXIS2_SOAPSTRUCT_GET_VARFLOAT ( echo_struct_arr[i], env ) );
+    for ( i = 0;  i < arr_size ; i ++ )
+    {
+         printf ( "echoing turn %d\n string %s\n int %d\n float %f\n\n", i,
+               AXIS2_SOAPSTRUCT_GET_VARSTRING ( echo_struct_arr[i], env ),
+               AXIS2_SOAPSTRUCT_GET_VARINT ( echo_struct_arr[i], env ),
+               AXIS2_SOAPSTRUCT_GET_VARFLOAT ( echo_struct_arr[i], env ) );
          }
 
-	 echo_out = axis2_echoStructArrayResponse_create (env );
-	 AXIS2_ECHOSTRUCTARRAYRESPONSE_SET_ECHOSTRUCTARRAYRETURN 
-		 ( echo_out, env, echo_struct_arr, arr_size );
+    echo_out = axis2_echoStructArrayResponse_create (env );
+    AXIS2_ECHOSTRUCTARRAYRESPONSE_SET_ECHOSTRUCTARRAYRETURN 
+       ( echo_out, env, echo_struct_arr, arr_size );
          return echo_out;
 
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          

Modified: webservices/axis2/trunk/c/samples/codegen/server/interop_doc2/axis2_WSDLInteropTestDocLitService.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/server/interop_doc2/axis2_WSDLInteropTestDocLitService.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/server/interop_doc2/axis2_WSDLInteropTestDocLitService.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/server/interop_doc2/axis2_WSDLInteropTestDocLitService.c Thu Jun 15 08:25:31 2006
@@ -11,7 +11,7 @@
 
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -26,7 +26,7 @@
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -41,26 +41,26 @@
           axis2_echoStringArrayResponse_t* echo_out = NULL;
           axis2_ArrayOfstring_literal_t* array_in = NULL;
           axis2_ArrayOfstring_literal_t* array_out = NULL;
-	  char ** string_array = NULL;
-	  int string_array_length = 0;
+     char ** string_array = NULL;
+     int string_array_length = 0;
 
-	  array_in = AXIS2_ECHOSTRINGARRAY_GET_PARAM0( echo_in, env);
-	  string_array =AXIS2_ARRAYOFSTRING_LITERAL_GET_STRING (  array_in, env,
-			                      &string_array_length );
-
-	  array_out = axis2_ArrayOfstring_literal_create ( env );
-	  AXIS2_ARRAYOFSTRING_LITERAL_SET_STRING( array_out, env,
-			                       string_array, string_array_length );
-	  echo_out = axis2_echoStringArrayResponse_create ( env );
+     array_in = AXIS2_ECHOSTRINGARRAY_GET_PARAM0( echo_in, env);
+     string_array =AXIS2_ARRAYOFSTRING_LITERAL_GET_STRING (  array_in, env,
+                               &string_array_length );
+
+     array_out = axis2_ArrayOfstring_literal_create ( env );
+     AXIS2_ARRAYOFSTRING_LITERAL_SET_STRING( array_out, env,
+                                string_array, string_array_length );
+     echo_out = axis2_echoStringArrayResponse_create ( env );
 
-	  AXIS2_ECHOSTRINGARRAYRESPONSE_SET_RETURN ( echo_out, env , array_out );
+     AXIS2_ECHOSTRINGARRAYRESPONSE_SET_RETURN ( echo_out, env , array_out );
 
           return echo_out;
 
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -76,29 +76,29 @@
          axis2_SOAPStruct_t* struct_in = NULL;
          axis2_SOAPStruct_t* struct_out = NULL;
 
-	 float float_val = 0;
-	 int int_val = 0;
-	 char* string_val = NULL;
+    float float_val = 0;
+    int int_val = 0;
+    char* string_val = NULL;
 
-	 struct_in = AXIS2_ECHOSTRUCT_GET_PARAM0( echo_in, env);
+    struct_in = AXIS2_ECHOSTRUCT_GET_PARAM0( echo_in, env);
 
-     	 float_val = AXIS2_SOAPSTRUCT_GET_VARFLOAT ( struct_in, env);
+         float_val = AXIS2_SOAPSTRUCT_GET_VARFLOAT ( struct_in, env);
          int_val = AXIS2_SOAPSTRUCT_GET_VARINT ( struct_in, env);
          string_val = AXIS2_SOAPSTRUCT_GET_VARSTRING ( struct_in, env);    
 
-	 struct_out = axis2_SOAPStruct_create( env );
+    struct_out = axis2_SOAPStruct_create( env );
          AXIS2_SOAPSTRUCT_SET_VARFLOAT ( struct_out, env, float_val );
          AXIS2_SOAPSTRUCT_SET_VARINT ( struct_out, env, int_val );
          AXIS2_SOAPSTRUCT_SET_VARSTRING ( struct_out, env, string_val );
 
-	 echo_out = axis2_echoStructResponse_create ( env );
-	 AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN ( echo_out, env, struct_out );
+    echo_out = axis2_echoStructResponse_create ( env );
+    AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN ( echo_out, env, struct_out );
 
-          return echo_out;	  
+          return echo_out;     
         }
      
 
-		 
+       
         /**
          * Auto generated function definition
          
@@ -114,11 +114,11 @@
 
           char* echo_string = NULL;
 
-	  echo_string = AXIS2_ECHOSTRING_GET_PARAM0 ( echo_in, env );
+     echo_string = AXIS2_ECHOSTRING_GET_PARAM0 ( echo_in, env );
 
-	  echo_out = axis2_echoStringResponse_create ( env );
-	  AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN ( echo_out, env, echo_string );
+     echo_out = axis2_echoStringResponse_create ( env );
+     AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN ( echo_out, env, echo_string );
 
-	  return echo_out;
+     return echo_out;
         }
      

Modified: webservices/axis2/trunk/c/test/itest/whitemesa/round1/round1_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/itest/whitemesa/round1/round1_client.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/itest/whitemesa/round1/round1_client.c (original)
+++ webservices/axis2/trunk/c/test/itest/whitemesa/round1/round1_client.c Thu Jun 15 08:25:31 2006
@@ -55,7 +55,7 @@
     {
         printf ("\nUsage : %s [echo_operation] [echo_value] [XSD_type]\n",
                 argv[0]);
-		printf("use -h for help\n");
+      printf("use -h for help\n");
         return 0;
     }
 
@@ -68,7 +68,7 @@
     
     /* address = "http://localhost:7070/cgi-bin/interopserver"; */
     address = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
-	
+   
     sprintf (operation, "echo%s", echo_operation);
 
     printf ("Using endpoint : %s\n", address);
@@ -79,7 +79,7 @@
     env = axis2_env_create_all("echo.log", AXIS2_LOG_LEVEL_TRACE);
 
     /* Create EPR with given address */
-	
+   
     endpoint_ref = axis2_endpoint_ref_create(env, address);
     options = axis2_options_create(env);
     AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref);
@@ -126,7 +126,7 @@
                 (AXIOM_ELEMENT_GET_LOCALNAME (ret_ele, env),
                  echo_response_buff) != 0)
             {
-	        printf ( "%s != %s\n", AXIOM_ELEMENT_GET_LOCALNAME (ret_ele, env), echo_response_buff);
+           printf ( "%s != %s\n", AXIOM_ELEMENT_GET_LOCALNAME (ret_ele, env), echo_response_buff);
                 printf ("\nFAIL\n\n");
                 return AXIS2_FAILURE;
             }
@@ -213,7 +213,7 @@
                                    "types");
 
     operation_om_ele = axiom_element_create(env, NULL, echo_operation_buff,
-		                               ns4, &operation_om_node);
+                                     ns4, &operation_om_node);
    
     AXIOM_ELEMENT_DECLARE_NAMESPACE (operation_om_ele, env,
                                           operation_om_node, ns0);

Modified: webservices/axis2/trunk/c/test/itest/whitemesa/round2/round2_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/itest/whitemesa/round2/round2_client.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/itest/whitemesa/round2/round2_client.c (original)
+++ webservices/axis2/trunk/c/test/itest/whitemesa/round2/round2_client.c Thu Jun 15 08:25:31 2006
@@ -55,7 +55,7 @@
     {
         printf ("\nUsage : %s [echo_operation] [echo_value] [XSD_type]\n",
                 argv[0]);
-		printf("use -h for help\n");
+      printf("use -h for help\n");
         return 0;
     }
 
@@ -68,7 +68,7 @@
     
     /* address = "http://localhost:7070/asmx/simple.asmx"; */
     address = "http://www.mssoapinterop.org/asmx/simple.asmx";
-	
+   
     sprintf (operation, "echo%s", echo_operation);
 
     printf ("Using endpoint : %s\n", address);
@@ -79,7 +79,7 @@
     env = axis2_env_create_all("echo.log", AXIS2_LOG_LEVEL_TRACE);
 
     /* Create EPR with given address */
-	
+   
     endpoint_ref = axis2_endpoint_ref_create(env, address);
     options = axis2_options_create(env);
     AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref);
@@ -126,7 +126,7 @@
                 (AXIOM_ELEMENT_GET_LOCALNAME (ret_ele, env),
                  echo_response_buff) != 0)
             {
-	        printf ( "%s != %s\n", AXIOM_ELEMENT_GET_LOCALNAME (ret_ele, env), echo_response_buff);
+           printf ( "%s != %s\n", AXIOM_ELEMENT_GET_LOCALNAME (ret_ele, env), echo_response_buff);
                 printf ("\nFAIL\n\n");
                 return AXIS2_FAILURE;
             }
@@ -191,20 +191,20 @@
     sprintf (input_type_buff, "input%s", echo_operation);
     
     ns0 =  axiom_namespace_create (env,
-		    "http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+          "http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
     ns1 = axiom_namespace_create (env, 
-		    "http://www.w3.org/2001/XMLSchema-instance", "xsi");
+          "http://www.w3.org/2001/XMLSchema-instance", "xsi");
     ns2 = axiom_namespace_create (env, 
-		    "http://www.w3.org/2001/XMLSchema", "xsd");
+          "http://www.w3.org/2001/XMLSchema", "xsd");
     ns3 = axiom_namespace_create (env, 
-		    "http://schemas.xmlsoap.org/soap/encoding/","soapenc");
+          "http://schemas.xmlsoap.org/soap/encoding/","soapenc");
     ns4 = axiom_namespace_create (env, 
-		    "http://soapinterop.org/","tns");
+          "http://soapinterop.org/","tns");
     ns5 = axiom_namespace_create (env,
-		    "http://soapinterop.org/encodedTypes","types");
+          "http://soapinterop.org/encodedTypes","types");
 
     operation_om_ele = axiom_element_create(env, NULL, echo_operation_buff,
-		                               ns4, &operation_om_node);
+                                     ns4, &operation_om_node);
    
     AXIOM_ELEMENT_DECLARE_NAMESPACE (operation_om_ele, env,
                                           operation_om_node, ns0);

Modified: webservices/axis2/trunk/c/util/src/base64_binary.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/base64_binary.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/base64_binary.c (original)
+++ webservices/axis2/trunk/c/util/src/base64_binary.c Thu Jun 15 08:25:31 2006
@@ -88,11 +88,11 @@
     base64_binary_impl->plain_binary = NULL;
 
     base64_binary_impl->base64_binary.ops = 
-		AXIS2_MALLOC (env->allocator, sizeof(axis2_base64_binary_ops_t));
+      AXIS2_MALLOC (env->allocator, sizeof(axis2_base64_binary_ops_t));
     if(NULL == base64_binary_impl->base64_binary.ops)
     {
         axis2_base64_binary_free(&(base64_binary_impl->base64_binary), env);
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -120,7 +120,7 @@
     base64_binary_impl = (axis2_base64_binary_impl_t *) axis2_base64_binary_create(env);
     if(!base64_binary_impl)
     {
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;  
     }
     /* initialize variables */
@@ -130,7 +130,7 @@
     if(!base64_binary_impl->plain_binary)
     {
         axis2_base64_binary_free(&(base64_binary_impl->base64_binary), env);
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;  
     }
     memcpy ( base64_binary_impl ->plain_binary, plain_binary, plain_binary_len );
@@ -152,7 +152,7 @@
     base64_binary_impl = (axis2_base64_binary_impl_t *) axis2_base64_binary_create(env);
     if(!base64_binary_impl)
     {
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;  
     }
     /* initialize variables */
@@ -163,7 +163,7 @@
     if(!base64_binary_impl->plain_binary)
     {
         axis2_base64_binary_free(&(base64_binary_impl->base64_binary), env);
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;  
     }
     axis2_base64_decode_binary( base64_binary_impl-> plain_binary,
@@ -226,7 +226,7 @@
     if(!base64_binary_impl->plain_binary)
     {
         axis2_base64_binary_free(&(base64_binary_impl->base64_binary), env);
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;  
     }
     memcpy ( base64_binary_impl ->plain_binary, plain_binary, base64_binary_impl->plain_binary_len );
@@ -268,7 +268,7 @@
     if(!base64_binary_impl->plain_binary)
     {
         axis2_base64_binary_free(&(base64_binary_impl->base64_binary), env);
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return AXIS2_FAILURE;  
     }
     axis2_base64_decode_binary( base64_binary_impl-> plain_binary,
@@ -297,7 +297,7 @@
    if(!encoded_binary)
    {
         axis2_base64_binary_free(base64_binary, env);
-	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+   AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;  
    }
    axis2_base64_encode_binary ( encoded_binary,
@@ -309,7 +309,7 @@
 
 int AXIS2_CALL
 axis2_base64_binary_get_encoded_binary_len(axis2_base64_binary_t *base64_binary,
-		                        const axis2_env_t *env )
+                              const axis2_env_t *env )
 {
     axis2_base64_binary_impl_t *base64_binary_impl = NULL;
     char* encoded_binary = NULL;
@@ -319,18 +319,18 @@
 
     base64_binary_impl = AXIS2_INTF_TO_IMPL(base64_binary);
     encoded_binary_len = axis2_base64_encode_len(
-		                 base64_binary_impl-> plain_binary_len );    
+                       base64_binary_impl-> plain_binary_len );    
     return encoded_binary_len;
 }
 
 int AXIS2_CALL
 axis2_base64_binary_get_decoded_binary_len(axis2_base64_binary_t *base64_binary,
-		                        const axis2_env_t *env )
+                              const axis2_env_t *env )
 {
     axis2_base64_binary_impl_t *base64_binary_impl = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     base64_binary_impl = AXIS2_INTF_TO_IMPL(base64_binary);
-    return base64_binary_impl -> plain_binary_len;	
+    return base64_binary_impl -> plain_binary_len;   
 }

Modified: webservices/axis2/trunk/c/util/src/minizip/archive_extract.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/minizip/archive_extract.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/minizip/archive_extract.c (original)
+++ webservices/axis2/trunk/c/util/src/minizip/archive_extract.c Thu Jun 15 08:25:31 2006
@@ -252,9 +252,9 @@
    
     if (zipfilename!=NULL)
     {
-      	 zlib_filefunc_def ffunc;
-      	 strncpy(filename_try, zipfilename,MAXFILENAME-1);
-      	 filename_try[ MAXFILENAME ] = '\0';
+          zlib_filefunc_def ffunc;
+          strncpy(filename_try, zipfilename,MAXFILENAME-1);
+          filename_try[ MAXFILENAME ] = '\0';
       
          axis2_fill_win32_filefunc(&ffunc);
       

Modified: webservices/axis2/trunk/c/util/test/util/test_string.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/util/test_string.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/test/util/test_string.c (original)
+++ webservices/axis2/trunk/c/util/test/util/test_string.c Thu Jun 15 08:25:31 2006
@@ -5,13 +5,13 @@
 
 void test_strltrim(const axis2_env_t *env)
 {
-	axis2_char_t *s = AXIS2_STRDUP(" 	abcd efgh 	", env);
-	axis2_char_t *trimmed = NULL;
-	trimmed = AXIS2_STRLTRIM(env, s, " \t\r\n");
-	if (0 == AXIS2_STRCMP(trimmed, "abcd efgh 	"))
-		printf("AXIS2_STRLTRIM successful\n");
-	else
-		printf("AXIS2_STRLTRIM failed [%s]\n", trimmed);
+   axis2_char_t *s = AXIS2_STRDUP("    abcd efgh    ", env);
+   axis2_char_t *trimmed = NULL;
+   trimmed = AXIS2_STRLTRIM(env, s, " \t\r\n");
+   if (0 == AXIS2_STRCMP(trimmed, "abcd efgh    "))
+      printf("AXIS2_STRLTRIM successful\n");
+   else
+      printf("AXIS2_STRLTRIM failed [%s]\n", trimmed);
     if(trimmed)
         AXIS2_FREE(env->allocator, trimmed);
     if(s)
@@ -20,13 +20,13 @@
 
 void test_strrtrim(const axis2_env_t *env)
 {
-	axis2_char_t *s = AXIS2_STRDUP("abcd efgh 	", env);
-	axis2_char_t *trimmed = NULL;
-	trimmed = AXIS2_STRRTRIM(env, s, " \t\r\n");
-	if (0 == AXIS2_STRCMP(trimmed, " 	abcd efgh"))
-		printf("AXIS2_STRRTRIM successful\n");
-	else
-		printf("AXIS2_STRRTRIM failed [%s]\n", trimmed);
+   axis2_char_t *s = AXIS2_STRDUP("abcd efgh    ", env);
+   axis2_char_t *trimmed = NULL;
+   trimmed = AXIS2_STRRTRIM(env, s, " \t\r\n");
+   if (0 == AXIS2_STRCMP(trimmed, "    abcd efgh"))
+      printf("AXIS2_STRRTRIM successful\n");
+   else
+      printf("AXIS2_STRRTRIM failed [%s]\n", trimmed);
     if(trimmed)
         AXIS2_FREE(env->allocator, trimmed);
     if(s)
@@ -35,13 +35,13 @@
 
 void test_strtrim(const axis2_env_t *env)
 {
-	axis2_char_t *s = AXIS2_STRDUP(" 	abcd efgh 	", env);
-	axis2_char_t *trimmed = NULL;
-	trimmed = AXIS2_STRTRIM(env, s, " \t\r\n");
-	if (0 == AXIS2_STRCMP(trimmed, "abcd efgh"))
-		printf("AXIS2_STRTRIM successful\n");
-	else
-		printf("AXIS2_STRTRIM failed [%s]\n", trimmed);
+   axis2_char_t *s = AXIS2_STRDUP("    abcd efgh    ", env);
+   axis2_char_t *trimmed = NULL;
+   trimmed = AXIS2_STRTRIM(env, s, " \t\r\n");
+   if (0 == AXIS2_STRCMP(trimmed, "abcd efgh"))
+      printf("AXIS2_STRTRIM successful\n");
+   else
+      printf("AXIS2_STRTRIM failed [%s]\n", trimmed);
     if(trimmed)
         AXIS2_FREE(env->allocator, trimmed);
     if(s)

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/woden_constants.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/woden_constants.h?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/woden_constants.h (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/woden_constants.h Thu Jun 15 08:25:31 2006
@@ -146,9 +146,9 @@
 
 
 
-/*********************************** Constants*********************************/	
-	
-	
+/*********************************** Constants*********************************/   
+   
+   
 #ifdef __cplusplus
 }
 #endif

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c?rev=414616&r1=414615&r2=414616&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c Thu Jun 15 08:25:31 2006
@@ -255,16 +255,16 @@
     str_namespc = AXIS2_URI_TO_STRING(namespc, env, AXIS2_URI_UNP_OMITUSERINFO);
     if(NULL != str_namespc)
     {
-    	if(exts)
-    	{
-        	axis2_hash_set(wsdl_obj_impl->f_comp_exts, str_namespc, 
-                	AXIS2_HASH_KEY_STRING, exts);
-    	}
-    	else
-    	{
-        	axis2_hash_set(wsdl_obj_impl->f_comp_exts, str_namespc, 
-                	AXIS2_HASH_KEY_STRING, NULL);
-    	}
+       if(exts)
+       {
+           axis2_hash_set(wsdl_obj_impl->f_comp_exts, str_namespc, 
+                   AXIS2_HASH_KEY_STRING, exts);
+       }
+       else
+       {
+           axis2_hash_set(wsdl_obj_impl->f_comp_exts, str_namespc, 
+                   AXIS2_HASH_KEY_STRING, NULL);
+       }
     }
     return AXIS2_SUCCESS;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message