O
Odd-R.
I use the following piece of code to contact a webservice,
and read a wsdl file.
from SOAPpy import WSDL
from SOAPpy import URLopener
url= ' http://someserver/somewebservice
url1 = URLopener.URLopener(username='user',passwd='pass')
server=WSDL.Proxy(url1.open(url))
This yields no errors, and everyting is fine.
However, when I start calling the actual methods of
this webservice, I get this error
SOAPpy.Errors.HTTPError: <HTTPError 401 Unauthorized>
How can I avoid this?
Thanks in advance for all help!
and read a wsdl file.
from SOAPpy import WSDL
from SOAPpy import URLopener
url= ' http://someserver/somewebservice
url1 = URLopener.URLopener(username='user',passwd='pass')
server=WSDL.Proxy(url1.open(url))
This yields no errors, and everyting is fine.
However, when I start calling the actual methods of
this webservice, I get this error
SOAPpy.Errors.HTTPError: <HTTPError 401 Unauthorized>
How can I avoid this?
Thanks in advance for all help!