0

Does anyone know how to do this? I need to add a header of the form:

value1 value2

user14128
  • 2,547
  • 4
  • 20
  • 16

1 Answers1

4

As the question is phrased, it's hard to guess what the intention (or even the intended semantics) is. For setting headers, try the following:

import SOAPpy
headers = SOAPpy.Types.headerType()
headers.value1 = value2

or

[...]
headers.foo = value1
headers.bar = value2
Steen
  • 6,573
  • 3
  • 39
  • 56