Since the question is formulated, it's hard to guess what the intent (or even the intended semantics) is. Try the following to customize the headers:
import SOAPpy
headers = SOAPpy.Types.headerType()
headers.value1 = value2
or
[...]
headers.foo = value1
headers.bar = value2
source
to share