Why are we keeping the header blocks in a hash table in SOAP header struct?

We are using the key to be a number:
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);
   }

I see no use case to use this number to access the header blocks. IMHO, we can keep the stuff in an array list.

Samisa...

Reply via email to