From: Lukasz S. <szy...@gm...> - 2012-06-29 19:13:06
|
I can probably ask for documentation or start playing around with it to see what I can get. I tried the following: url='xxxx' from SOAPpy import WSDL server=WSDL.Proxy(url) callInfo=server.methods['GetUsernamePassword'] but I get SOAPpy.wstools.Utility.ParseError: (u'Failed to load document http://xxxx/LoginService.svc?xsd=xsd3', 'maximum recursion depth exceeded while calling a Python object') ok so I thought I maybe upgrade to latest version so I did easy_install ZSI, got the ZSI-2.0-rc3,..is this the latest version? but now the url doesn't even want to work for the original ServiceProxy: ZSI-2.0_rc3-py2.6.egg/ZSI/wstools/WSDLTools.py", line 1116, in getAddressBinding 'No address binding found in port.' ZSI.wstools.WSDLTools.WSDLError: No address binding found in port. >>> Any idea what this might be about? It worked just fine in Debian stable version: 2.1~a1-3 (I'm not sure how they version it since official is 2.0. Is there some kind of parameter I need to specify to serviceproxy so that it knows " address binding found in port" Thanks, Lucas On 6/23/12, Lukasz Szybalski <szy...@gm...> wrote: > Hello, > > Hello, > > How do I get a list of parameters of a function. I can find a function name > but I don't know what I can pass to it, or what the function needs me to > pass in. How can I do that? > > > I know how to get a list of functions: > > url='http:.....' > > from ZSI.ServiceProxy import ServiceProxy as sps=sp(url)#To Enable > traceback uncomment below#import > sys#s=sp(url,tracefile=sys.stdout)dir(s)#Above will print a list the > methods, and other functions you have available#Below will print > available methods and their names:from ZSI.schema import GEDprint > s._methods.keys() > -- Need Quality Hardwood Floors at reasonable prices? http://www.azrichardflooring.com/ http://lucasmanual.com/ <http://lucasmanual.com/blog/> |