Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40503
| From | dieter <dieter@handshake.de> |
|---|---|
| Subject | Re: Python SUDS issue |
| Date | 2013-03-05 08:16 +0100 |
| References | <CANWwTF-c+r0mS_qGYkKvHcff7NSGM0QoUJaJG1nxFsxwpA=xLw@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2867.1362467803.2939.python-list@python.org> (permalink) |
VGNU Linux <vgnulinux@gmail.com> writes: > ... > Here is my code: > from suds.client import Client > wsdlurl = 'https://46.51.221.138/PBExternalServices/v1/soap?wsdl' > client = Client(wsdlurl) > print client > > And following is the error that occurs on trying to print client. > Traceback (most recent call last): > ... > dereference > midx, deps = x.dependencies() > File "C:\Python25\Lib\site-packages\suds\xsd\sxbasic.py", line 469, in > dependencies > raise TypeNotFound(self.ref) > suds.TypeNotFound: Type not found: '(GetAccountBalanceFaultResponse, > http://www.payback.net/lmsglobal/xsd/v1/types, )' Looks like a bug in the "WSDL" description of the web service. It seems to reference a type "GetAccountBalanceFaultResponse" associated with the namespace "http://www.payback.net/lmsglobal/xsd/v1/types", but "suds" cannot find the type. Maybe an "import" is missing in the "WSDL" description.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python SUDS issue dieter <dieter@handshake.de> - 2013-03-05 08:16 +0100
csiph-web