Adding a SOAP header to a SOAPpy request

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

  value1 value2

0


source to share


1 answer


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

      

+4


source







All Articles