axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject [Axis2]SOAP header blocks hash table- why?
Date Mon, 27 Feb 2006 23:46:30 GMT
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...

Mime
View raw message