[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-dev
Subject:    svn commit: r381605 -
From:       nandika () apache ! org
Date:       2006-02-28 9:31:01
Message-ID: 20060228093101.74946.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: nandika
Date: Tue Feb 28 01:30:59 2006
New Revision: 381605

URL: http://svn.apache.org/viewcvs?rev=381605&view=rev
Log:
bug fixed in add header_block method 

Modified:
    webservices/axis2/trunk/c/modules/xml/soap/soap_header.c

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_header.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_header.c?rev=381605&r1=381604&r2=381605&view=diff
 ==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_header.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_header.c Tue Feb 28 01:30:59 2006
@@ -264,27 +264,11 @@
     AXIS2_PARAM_CHECK((*env)->error, localname, NULL);
     AXIS2_PARAM_CHECK((*env)->error, ns, NULL);
     header_impl = AXIS2_INTF_TO_IMPL(header);
-    
     header_block = axis2_soap_header_block_create_with_parent(env, localname, ns, \
                header);
-    
     header_block_node = AXIS2_SOAP_HEADER_BLOCK_GET_BASE_NODE(
                             header_block, env);
-        
     AXIS2_OM_NODE_SET_BUILD_STATUS(header_block_node, env, AXIS2_TRUE);
     key = (axis2_char_t*)AXIS2_MALLOC((*env)->allocator, sizeof(axis2_char_t)*10);
-    sprintf(key,"%d", header_impl->hbnumber++);
-    if(header_impl->header_blocks)
-    {
-        axis2_hash_set(header_impl->header_blocks,
-             key , AXIS2_HASH_KEY_STRING, header_block);
-    }
-    else
-    {
-            header_impl->header_blocks = axis2_hash_make(env);
-            axis2_hash_set(header_impl->header_blocks,
-                key , AXIS2_HASH_KEY_STRING, header_block);
-    }
-    
     return header_block;
 } 
 axis2_hash_t* AXIS2_CALL 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic