<div dir="ltr">Hi Gary,<br><br>    Can you try doing it without sending the name of the variables allow with the request.  For instance,<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
c.service.newsfeed('news', 'ECE', 3)<br></blockquote><br><br>That should work<br><br>-Nathan<br><br><div class="gmail_quote">On Fri, Aug 1, 2008 at 10:33 AM, Gary Wilson Jr. <span dir="ltr"><<a href="mailto:gary.wilson@gmail.com">gary.wilson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Here's what I'm getting today...<br>
<br>
>>> from suds.client import Client<br>
>>> engr = Client('<a href="http://www.engr.utexas.edu/feeds/newsXML.cfc?wsdl" target="_blank">http://www.engr.utexas.edu/feeds/newsXML.cfc?wsdl</a>')<br>
>>> engr.service.newsfeed(newstype='news', dept='ECE', maxReturn=3)<br>
2008-08-01 10:22:58,150 [ERROR] send() @client.py:310<br>
<SOAP-ENV:Envelope xmlns:intf="<a href="http://feeds" target="_blank">http://feeds</a>" xmlns:SOAP-ENC="<a href="http://schemas.xmlsoap.org/soap/encoding/" target="_blank">http://schemas.xmlsoap.org/soap/encoding/</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:SOAP-ENV="<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://schemas.xmlsoap.org/soap/envelope/</a>"><br>

   <SOAP-ENV:Header/><br>
   <SOAP-ENV:Body><br>
      <intf:newsfeed/><br>
   </SOAP-ENV:Body><br>
</SOAP-ENV:Envelope><br>
<br>
Traceback (most recent call last):<br>
  File "<stdin>", line 1, in <module><br>
  File "/usr/lib/python2.5/site-packages/suds/client.py", line 166, in __call__<br>
    raise e<br>
suds.WebFault: Server raised fault: 'coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.UndefinedVariableException : Variable NEWSTYPE is undefined.]'<br>
<br>
Yesterday, I was getting a similar error but a different variable...<br>
<br>
>>> engr.service.newsfeed(newstype='news', dept='ECE', maxReturn=3)<br>
...<br>
suds.WebFault: Server raised fault: 'coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.UndefinedVariableException : Variable MAXRETURN is undefined.]<br>
<br>
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:<br>
<br>
<?php<br>
require_once('nusoap.php');<br>
$wsdl="<a href="http://www.engr.utexas.edu/feeds/newsXML.cfc?wsdl" target="_blank">http://www.engr.utexas.edu/feeds/newsXML.cfc?wsdl</a>";<br>
$client=new soapClient($wsdl, 'wsdl');<br>
$param=array('newstype'=>'press', 'dept'=>'', 'maxReturn'=>'5');<br>
echo $client->call('newsfeed', $param);<br>
?><br>
<br>
Thanks,<br>
Gary<br>
<br>
_______________________________________________<br>
fedora-suds-list mailing list<br>
<a href="mailto:fedora-suds-list@redhat.com" target="_blank">fedora-suds-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-suds-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-suds-list</a><br>
</blockquote></div><br></div>