471,616 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,616 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 1278

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Yurj | last post: by
reply views Thread by Man | last post: by
reply views Thread by elsarfhem | last post: by
2 posts views Thread by Odd-R. | last post: by
reply views Thread by Sameer Deshpande | last post: by
3 posts views Thread by robin | last post: by
reply views Thread by pion | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by ZEDKYRIE | last post: by

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.