[Fedora-suds-list] Web Fault with ColdFusion server

Nathan Van Gheem vangheem at gmail.com
Fri Aug 1 18:20:37 UTC 2008


Hi Gary,

    Can you try doing it without sending the name of the variables allow
with the request.  For instance,

> c.service.newsfeed('news', 'ECE', 3)
>


That should work

-Nathan

On Fri, Aug 1, 2008 at 10:33 AM, Gary Wilson Jr. <gary.wilson at gmail.com>wrote:

> 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
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-suds-list/attachments/20080801/e3bf0071/attachment.htm>


More information about the fedora-suds-list mailing list