ZSI and SOAP headers

nosh
2004-03-24
2013-05-02
  • nosh
    nosh
    2004-03-24

    Hi,

    I am using wsdl2py to create python classes to access a SOAP web service. Some calls to this service require custom SOAP header elements to be set. However, I can't seem to figure out how to do this with the classes generated by wsdl2py. I have successfully used Apache Axis wsdl2java and the .NET soap classes to build clients that set the SOAP headers and make calls, and was hoping to use python and ZSI to do the same.

    Any pointers will be greatly appreciated!

    Thanks,

    --Nosh

     
    • Evan Kaufman
      Evan Kaufman
      2009-01-20

      I'm having this same issue, and saw a couple other posts about it, but none of them have a solution.  Did you ever have any luck?

      I'm trying to connect to Google's AdWords and AdSense APIs, which require header elements for a developerToken, applicationToken, etc. and I have yet to figure out how to add them to a request built off a wsdl2py stub.