Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40501
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <vgnulinux@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.016 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'python': 0.09; '__init__': 0.09; 'cc:addr:python-list': 0.10; "skip:' 30": 0.15; 'googling': 0.16; 'guys,': 0.16; 'open\xa0': 0.16; 'subject:issue': 0.16; 'mon,': 0.16; 'wrote:': 0.17; '8bit%:3': 0.17; 'typing': 0.17; 'load': 0.19; 'module': 0.19; 'email addr:gmail.com>': 0.20; 'skip:" 40': 0.20; 'trying': 0.21; 'import': 0.21; 'occurs': 0.22; 'help.': 0.22; 'cc:2**0': 0.23; 'raise': 0.24; 'linux': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; '(most': 0.27; 'am,': 0.27; 'displays': 0.27; 'skip:" 50': 0.27; 'skip:& 60': 0.27; 'tree': 0.27; 'message-id:@mail.gmail.com': 0.27; 'url:mailman': 0.29; '8bit%:5': 0.29; 'skip:& 10': 0.29; 'error': 0.30; 'url:python': 0.32; 'file': 0.32; 'print': 0.32; 'url:listinfo': 0.32; 'page.': 0.33; 'traceback': 0.33; 'code:': 0.33; 'hi,': 0.33; 'skip:& 20': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'thanks': 0.34; 'open': 0.35; 'pm,': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'received:74.125': 0.36; 'url:org': 0.36; 'client': 0.36; 'skip:t 40': 0.37; 'quite': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'skip:" 10': 0.40; 'url:mail': 0.40; 'your': 0.60; 'url:ip addr': 0.62; 'services.': 0.63; 'here': 0.65; '2013': 0.84; '220,': 0.84; 'confusing': 0.84; 'url:138': 0.84; 'url:v1': 0.84; 'browser:': 0.91; 'joel': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=a+GtoAmAupKlGmah0+wqXbg28O6fZXE4dVt0qjKelc4=; b=qGxeIqnohyaHWh9+Xob2Uxoq1HJ2v3BKMh1lv2gAjWCBV3kNxDUNyl4HBmFITzYLut fspn26BM2qxIg7iwgprBM8odfdfTGlKGGXA7JdpiAITnPPBDaeoJwzRcYvJ3fs9fTzAf KdeepSpeYnWbfCdmW7xXhaSuyy/MgIvwSThdCdIENWd39j+Bqpo5L8hYjDTzUIVxvdK9 jWoBNjvM+1Q+svxC4anS6LU4YCCp+nEYH0Mggl0fbVim6UsxVyg2gTMUaZGtoHc7F/K2 xZCPFpiTkPwmTnHr6kR3uu93N6cbQGRQw57W1IfEPj+DVUtg5ZJWpsZHGUCDD8qvgQGn FZLA== |
| MIME-Version | 1.0 |
| X-Received | by 10.14.5.6 with SMTP id 6mr66444879eek.42.1362459735964; Mon, 04 Mar 2013 21:02:15 -0800 (PST) |
| In-Reply-To | <CAPM-O+zEq5LbLqTzrX_Jkq0rROrVG-Jv658qVXX049rSr3i84Q@mail.gmail.com> |
| References | <CANWwTF-c+r0mS_qGYkKvHcff7NSGM0QoUJaJG1nxFsxwpA=xLw@mail.gmail.com> <CAPM-O+zEq5LbLqTzrX_Jkq0rROrVG-Jv658qVXX049rSr3i84Q@mail.gmail.com> |
| Date | Tue, 5 Mar 2013 10:32:15 +0530 |
| Subject | Re: Python SUDS issue |
| From | VGNU Linux <vgnulinux@gmail.com> |
| To | Joel Goldstick <joel.goldstick@gmail.com> |
| Content-Type | multipart/alternative; boundary=047d7b67098f95634904d72660e3 |
| Cc | "python-list@python.org" <python-list@python.org> |
| 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.2866.1362459737.2939.python-list@python.org> (permalink) |
| Lines | 168 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1362459737 news.xs4all.nl 6874 [2001:888:2000:d::a6]:58422 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:40501 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi, Typing URL in the browser displays document tree as a web page. Is it right or there is something wrong with it ? Regards, VGNU On Mon, Mar 4, 2013 at 6:45 PM, Joel Goldstick <joel.goldstick@gmail.com>wrote: > > > > On Mon, Mar 4, 2013 at 5:37 AM, VGNU Linux <vgnulinux@gmail.com> wrote: > >> Hi Guys, >> I am pretty new to web services. >> After some googling found that python suds is a suitable module to create >> web service client. I am trying to create a client but its giving me an >> error which is quite confusing for me. >> >> Here is my code: >> from suds.client import Client >> wsdlurl = 'https://46.51.221.138/PBExternalServices/v1/soap?wsdl' >> > > > What happens when you type this in your browser: > 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): >> File "trysuds.py", line 3, in <module> >> client = Client(wsdlurl) >> File "C:\Python25\Lib\site-packages\suds\client.py", line 112, in >> __init__ >> self.wsdl = reader.open(url) >> File "C:\Python25\Lib\site-packages\suds\reader.py", line 152, in open >> d = self.fn(url, self.options) >> File "C:\Python25\Lib\site-packages\suds\wsdl.py", line 159, in __init__ >> self.build_schema() >> File "C:\Python25\Lib\site-packages\suds\wsdl.py", line 220, in >> build_schema >> self.schema = container.load(self.options) >> File "C:\Python25\Lib\site-packages\suds\xsd\schema.py", line 95, in >> load >> child.dereference() >> File "C:\Python25\Lib\site-packages\suds\xsd\schema.py", line 323, in >> 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, )' >> >> Appreciate your help. >> Thanks in advance, >> VGNU >> >> -- >> http://mail.python.org/mailman/listinfo/python-list >> >> > > > -- > Joel Goldstick > http://joelgoldstick.com >
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python SUDS issue VGNU Linux <vgnulinux@gmail.com> - 2013-03-05 10:32 +0530
csiph-web