X-Received: by 10.66.156.2 with SMTP id wa2mr2514476pab.0.1402328755230; Mon, 09 Jun 2014 08:45:55 -0700 (PDT) X-Received: by 10.140.47.201 with SMTP id m67mr23429qga.29.1402328755181; Mon, 09 Jun 2014 08:45:55 -0700 (PDT) Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!a13no210618igq.0!news-out.google.com!q9ni356qaj.0!nntp.google.com!j5no2767889qaq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Mon, 9 Jun 2014 08:45:55 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=148.141.32.190; posting-account=iEh54ggAAACvsbsto7W-HkOM4wRFMDmn NNTP-Posting-Host: 148.141.32.190 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5d97c876-edd8-40b4-b7e2-0f2f8ec6c52a@googlegroups.com> Subject: Suds 4.1 Beta Assertion Failure From: 1stpoint@gmail.com Injection-Date: Mon, 09 Jun 2014 15:45:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 2664 X-Received-Body-CRC: 3902246198 Xref: csiph.com comp.lang.python:73041 Hello group, I have been using Python suds to try to consume a web service. I am able to use tools like SOAPUI and it works but when I it in python I get Assertion Failure. Here is my code if __name__== '__main__': from suds.client import Client import logging logging.basicConfig(filename="suds.log",level=logging.INFO) logging.getLogger('suds.wsdl').setLevel(logging.DEBUG) obieeserver='http://hostname:port/analytics-ws/saw.dll/wsdl/v7' rptRef='myReport' paramRpt='' client = Client(obieeserver) sessionid = client.service['SAWSessionService'].logon('uid','pwd') print 'sessionid=',sessionid reportservice=client.service['ReportEditingService'] result=reportservice.generateReportSQL(rptRef, paramRpt, sessionid) print 'result=',type(result) Here is my output: sessionid= fq3c0f0ec7hrql07fspk7fdu4esih16pp4eql9a Traceback (most recent call last): File "obieetest.py", line 90, in result=reportservice.generateReportSQL(rptRef, paramRpt, sessionid) File "build\bdist.win32\egg\suds\client.py", line 542, in __call__ File "build\bdist.win32\egg\suds\client.py", line 602, in invoke File "build\bdist.win32\egg\suds\client.py", line 651, in send File "build\bdist.win32\egg\suds\client.py", line 688, in succeeded File "build\bdist.win32\egg\suds\bindings\binding.py", line 151, in get_reply File "build\bdist.win32\egg\suds\bindings\binding.py", line 182, in detect_fault suds.WebFault: Server raised fault: 'Assertion failure: criteria at line 296 of /net/adcnas420/export/ifarm_base/ifarm_views/aime_bifndn_430300/bifndn/analytics_web/main/project/webformatengine/formatengine.cpp'