473,326 Members | 2,182 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Need help with SOAPpy -- how to supply user credentials?

I just got SOAPpy 0.11.6 running under Python 2.3.5. I can do some
simple stuff like:

from SOAPpy import WSDL
wsdlFile = 'http://myserver/soap/XPlanner?wsdl'
server = WSDL.Proxy(wsdlFile)
print server.methods.keys()

The problem is, this (not surprisingly) prompts for a username and
password on the console. When I type them in, it works fine, but I'd
like to supply them instead of getting prompted interactively.

The SOAPpy distribution has a URLopener class which looks like it does
what I want, but I can't figure out how to tell WSDL.Proxy to use that
class instead of the default. What's the secret?
Sep 4 '06 #1
0 1321

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Yurj | last post by:
Hi all! I've to produce this xml as a soap request (I'm using SOAPpy): <soapenv:Body> <request soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <arg0> <item> <key...
0
by: Man | last post by:
Hello, I have a problem with SOAPpy and large data, ex: ********** SOAP server*********** def SOAPservice(self): objListReturn = for i in range(2000): objListReturn.append()
0
by: elsarfhem | last post by:
I have a problem with soappy when i try to send a python dictionary... i send something like this {'1':2,'3':4} and it returns something like this {'1':, '3':4} function on the server is simply an...
36
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
2
by: Odd-R. | last post by:
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 =...
0
by: Bartas | last post by:
Hi, I'am writting a simple SOAP client in python (2.4) using SOAPpy lib. I've met with this problem: when I want to send a list of complex type using some method from WebService(java,WAS), ...
0
by: Sameer Deshpande | last post by:
Hi, I am using python SOAPpy module to call a web service. Call to web service gets executed successfully. I am facing a problem if the call to WS results into redirect. I get "HTTPError:...
3
by: robin | last post by:
hello, i installed SOAPpy 0.12.0 and pyXML 0.8.4 in order to try out the google-search example in diveintopython http://diveintopython.org/soap_web_services/index.html however, i'v been trying...
0
by: pion | last post by:
Hello I'm trying to make a web service client in python, and so to start out, I found this simple example that are supposed to parse an wsdl file using SOAPPy. I'm using Windows and got SOAPPy...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.