Adding a HTTP header to a SOAPpy request

R

r.grimm

Joined
Jun 21, 2011
Messages
2
Reaction score
0
And the http header is a server defined one, and i shall add this when i send client request, what should i do?
the code like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
endpoint = "http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
ns = "http://xxxxxxxxxxxxxxxxxx"
id = "<?xml version='1.0'?><ID>shfta</ID>"
proxy = SOAPpy.SOAPProxy(endpoint, namespace=ns)
result = proxy.somemethod(arg0=id, arg1=query)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top