Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40503 > unrolled thread

Re: Python SUDS issue

Started bydieter <dieter@handshake.de>
First post2013-03-05 08:16 +0100
Last post2013-03-05 08:16 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python SUDS issue dieter <dieter@handshake.de> - 2013-03-05 08:16 +0100

#40503 — Re: Python SUDS issue

Fromdieter <dieter@handshake.de>
Date2013-03-05 08:16 +0100
SubjectRe: Python SUDS issue
Message-ID<mailman.2867.1362467803.2939.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web