Submitting wsdl file instead of wsdl url
by Igor Ostriž
Hello guys,
is there a way to submit a file into Client(...) instead of wsdl?
I have situation just like that (wsdl given as a part of sdk, and device
does not publish wsdl as a part of the service)
--
Igor Ostriž
15 years, 1 month
fedorahosted is down
by Jeff Ortel
All,
The fedora hosted infrastructure has been down for a few days and is
expected to be back online shortly. This outage means that the Suds
wiki and svn repo are temporarily unavailable.
I'll send out another email when it is back up.
Regards,
Jeff
15 years, 1 month
Web Fault with ColdFusion server
by Gary Wilson Jr.
Here's what I'm getting today...
>>> from suds.client import Client
>>> engr = Client('http://www.engr.utexas.edu/feeds/newsXML.cfc?wsdl')
>>> engr.service.newsfeed(newstype='news', dept='ECE', maxReturn=3)
2008-08-01 10:22:58,150 [ERROR] send() @client.py:310
<SOAP-ENV:Envelope xmlns:intf="http://feeds"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<intf:newsfeed/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/suds/client.py", line 166, in
__call__
raise e
suds.WebFault: Server raised fault:
'coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UndefinedVariableException : Variable NEWSTYPE is
undefined.]'
Yesterday, I was getting a similar error but a different variable...
>>> engr.service.newsfeed(newstype='news', dept='ECE', maxReturn=3)
...
suds.WebFault: Server raised fault:
'coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UndefinedVariableException : Variable MAXRETURN is
undefined.]
Is there something about this WSDL that suds isn't liking? I'm told by
the maintainer of the service that the following is working in PHP:
<?php
require_once('nusoap.php');
$wsdl="http://www.engr.utexas.edu/feeds/newsXML.cfc?wsdl";
$client=new soapClient($wsdl, 'wsdl');
$param=array('newstype'=>'press', 'dept'=>'', 'maxReturn'=>'5');
echo $client->call('newsfeed', $param);
?>
Thanks,
Gary
15 years, 2 months
SoapFault missing attributes (Fault Description, Fault Code) on the client side
by Rizwan Raza
Guys:
I am deliberately raising a SOAP fault from a web service method with
some 'Description' and 'Code' which I intend to see on the client
side.
Below is what I got. It does not contain the SOAP fault description
and Code. It just says "Server raised fault"
Traceback (most recent call last):
File "C:\Python24\lib\logging\__init__.py", line 706, in emit
msg = self.format(record)
File "C:\Python24\lib\logging\__init__.py", line 592, in format
return fmt.format(record)
File "C:\Python24\lib\logging\__init__.py", line 385, in format
s = self._fmt % record.__dict__
KeyError: 'funcName'
Traceback (most recent call last):
File "WSTest01.py", line 24, in ?
print serviceProxy.FindCalendarsByName('LCCME_OPTIONS','','','','','')
File "build\bdist.win32\egg\suds\client.py", line 166, in __call__
suds.WebFault: Server raised fault: '(faultstring){
_lang = "en-US"
}'
Is there a way to capture SOAP fault description and various other parameters?
Thanks
15 years, 2 months