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


Groups > comp.lang.python > #40503

Re: Python SUDS issue

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'namespace': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'bug': 0.10; "skip:' 30": 0.15; '"import"': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:issue': 0.16; 'skip:" 30': 0.20; 'trying': 0.21; 'import': 0.21; '"",': 0.22; 'occurs': 0.22; 'seems': 0.23; 'raise': 0.24; 'linux': 0.24; 'header:User-Agent:1': 0.26; 'looks': 0.26; '(most': 0.27; 'skip:" 50': 0.27; 'header:X -Complaints-To:1': 0.28; 'writes:': 0.29; 'maybe': 0.29; 'error': 0.30; 'file': 0.32; 'print': 0.32; 'traceback': 0.33; 'to:addr :python-list': 0.33; 'code:': 0.33; 'received:org': 0.36; 'but': 0.36; 'client': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'description': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'service.': 0.61; 'url:ip addr': 0.62; 'here': 0.65; 'received:217': 0.68; 'url:138': 0.84; 'url:v1': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: Python SUDS issue
Date Tue, 05 Mar 2013 08:16:28 +0100
References <CANWwTF-c+r0mS_qGYkKvHcff7NSGM0QoUJaJG1nxFsxwpA=xLw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e0909a.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:gTKG7HEIhkknregy4/BSL9GbElI=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2867.1362467803.2939.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362467803 news.xs4all.nl 6858 [2001:888:2000:d::a6]:51335
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40503

Show key headers only | View raw


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


Thread

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

csiph-web