From jortel at redhat.com Fri Aug 1 14:03:09 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Fri, 01 Aug 2008 10:03:09 -0400
Subject: [Fedora-suds-list] Suds 0.2.5 released
Message-ID: <4893179D.8080701@redhat.com>
All,
Suds 0.2.5 released. See https://fedorahosted.org/suds for details.
Regards,
Jeff
From gary.wilson at gmail.com Fri Aug 1 15:33:04 2008
From: gary.wilson at gmail.com (Gary Wilson Jr.)
Date: Fri, 01 Aug 2008 10:33:04 -0500
Subject: [Fedora-suds-list] Web Fault with ColdFusion server
Message-ID: <48932CB0.1000602@gmail.com>
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
Traceback (most recent call last):
File "", line 1, in
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:
'press', 'dept'=>'', 'maxReturn'=>'5');
echo $client->call('newsfeed', $param);
?>
Thanks,
Gary
From rizwan.raza at gmail.com Fri Aug 1 16:03:02 2008
From: rizwan.raza at gmail.com (Rizwan Raza)
Date: Fri, 1 Aug 2008 11:03:02 -0500
Subject: [Fedora-suds-list] SoapFault missing attributes (Fault Description,
Fault Code) on the client side
Message-ID: <65e8f6b40808010903g4d6d67a6wb08f1e710d4fc10e@mail.gmail.com>
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
From rizwan.raza at gmail.com Fri Aug 1 17:16:27 2008
From: rizwan.raza at gmail.com (Rizwan Raza)
Date: Fri, 1 Aug 2008 12:16:27 -0500
Subject: [Fedora-suds-list] Web Fault with ColdFusion server
In-Reply-To: <48932CB0.1000602@gmail.com>
References: <48932CB0.1000602@gmail.com>
Message-ID: <65e8f6b40808011016i701a1195wf0ecefc6c08891c0@mail.gmail.com>
Gary:
This is not the resolution to your question, just another query. When
you get a web fault do you get to see the description and the fault
code from the Python Client?
Thanks
On 8/1/08, Gary Wilson Jr. 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
> 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/">
>
>
>
>
>
>
> Traceback (most recent call last):
> File "", line 1, in
> 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:
>
> 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
>
From vangheem at gmail.com Fri Aug 1 18:20:37 2008
From: vangheem at gmail.com (Nathan Van Gheem)
Date: Fri, 1 Aug 2008 13:20:37 -0500
Subject: [Fedora-suds-list] Web Fault with ColdFusion server
In-Reply-To: <48932CB0.1000602@gmail.com>
References: <48932CB0.1000602@gmail.com>
Message-ID: <4308f0ba0808011120u5be47358l2362802f8819dbf2@mail.gmail.com>
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. 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
>
>
>
>
>
>
>
> Traceback (most recent call last):
> File "", line 1, in
> 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:
>
> 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:
From jortel at redhat.com Fri Aug 1 19:25:39 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Fri, 01 Aug 2008 15:25:39 -0400
Subject: [Fedora-suds-list] SoapFault missing attributes (Fault
Description, Fault Code) on the client side
In-Reply-To: <65e8f6b40808010903g4d6d67a6wb08f1e710d4fc10e@mail.gmail.com>
References: <65e8f6b40808010903g4d6d67a6wb08f1e710d4fc10e@mail.gmail.com>
Message-ID: <48936333.7070100@redhat.com>
Rizwan,
The WebFault has an attribute named (fault) which is a object
representation of exact fault returned by the server.
If you believe there is data missing, please turn up logging by placing:
#import logging
logger('suds.client').setLevel(logging.DEBUG)
in your code using the suds client.
Then retry and send me the soap reply containing the fault XML and I
will be glad to take a look.
Regards,
Jeff
Rizwan Raza wrote:
> 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
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From gary.wilson at gmail.com Fri Aug 1 19:56:27 2008
From: gary.wilson at gmail.com (Gary Wilson Jr.)
Date: Fri, 01 Aug 2008 14:56:27 -0500
Subject: [Fedora-suds-list] Web Fault with ColdFusion server
In-Reply-To: <4308f0ba0808011120u5be47358l2362802f8819dbf2@mail.gmail.com>
References: <48932CB0.1000602@gmail.com>
<4308f0ba0808011120u5be47358l2362802f8819dbf2@mail.gmail.com>
Message-ID: <48936A6B.3010707@gmail.com>
Nathan Van Gheem wrote:
> 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
Indeed it does!
Naturally, I wanted to use keyword arguments here because the
str(client) had them in the method description. It would be nice if
keyword arguments could be popped off and used as position arguments
before calling the service method.
I'm not complaining though :) Thanks for the quick responses.
Gary
From jortel at redhat.com Tue Aug 5 21:26:33 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 05 Aug 2008 17:26:33 -0400
Subject: [Fedora-suds-list] Suds 0.2.6 released.
Message-ID: <4898C589.9000503@redhat.com>
All,
Suds 0.2.6 released. See https://fedorahosted.org/suds/ for details.
Regards,
Jeff
From rizwan.raza at gmail.com Mon Aug 18 14:56:04 2008
From: rizwan.raza at gmail.com (Rizwan Raza)
Date: Mon, 18 Aug 2008 09:56:04 -0500
Subject: [Fedora-suds-list] Suds 0.2.6 released.
In-Reply-To: <4898C589.9000503@redhat.com>
References: <4898C589.9000503@redhat.com>
Message-ID: <65e8f6b40808180756w6e5b0d4r5c5f92f54fc63ef7@mail.gmail.com>
The url below is not working. Did you guys move the content?
On 8/5/08, Jeff Ortel wrote:
>
> All,
>
> Suds 0.2.6 released. See https://fedorahosted.org/suds/ for details.
>
> Regards,
>
> Jeff
>
> _______________________________________________
> 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:
From jortel at redhat.com Tue Aug 19 14:01:11 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 19 Aug 2008 10:01:11 -0400
Subject: [Fedora-suds-list] fedorahosted is down
Message-ID: <48AAD227.9060703@redhat.com>
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
From jortel at redhat.com Tue Aug 19 16:28:12 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 19 Aug 2008 12:28:12 -0400
Subject: [Fedora-suds-list] fedorahosted - back online
Message-ID: <48AAF49C.2080404@redhat.com>
From cameron.am at gmail.com Thu Aug 21 17:00:13 2008
From: cameron.am at gmail.com (Cameron Morrison)
Date: Thu, 21 Aug 2008 18:00:13 +0100
Subject: [Fedora-suds-list] Calling service on different url from WSLD?
Message-ID: <611cee900808211000y4a399b04k64f48b476802acbe@mail.gmail.com>
Hi All,
I have a WSDL at
http://my.internal.testing.domain.com/service.asmx?WSDL, and I would
like to use that WSDL to define the suds Client etc, but actually need
to call http://production_domain.com/service.asmx. Does suds support
a way of doing this?
Cheers,
Cam
From favourxx1 at katamail.com Sat Aug 23 10:27:33 2008
From: favourxx1 at katamail.com (favour)
Date: Sat, 23 Aug 2008 12:27:33 +0200
Subject: [Fedora-suds-list] HELLO
Message-ID: <4841.1219487253@katamail.com>
An HTML attachment was scrubbed...
URL:
From igor.ostriz at gmail.com Thu Aug 28 08:26:03 2008
From: igor.ostriz at gmail.com (=?UTF-8?Q?Igor_Ostri=C5=BE?=)
Date: Thu, 28 Aug 2008 10:26:03 +0200
Subject: [Fedora-suds-list] Submitting wsdl file instead of wsdl url
Message-ID: <21efcd110808280126u5fd4d131q6c15a9629d1d1cf@mail.gmail.com>
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pcaro at yaco.es Thu Aug 28 08:36:21 2008
From: pcaro at yaco.es (Pablo Caro Revuelta)
Date: Thu, 28 Aug 2008 10:36:21 +0200
Subject: [Fedora-suds-list] Submitting wsdl file instead of wsdl url
In-Reply-To: <21efcd110808280126u5fd4d131q6c15a9629d1d1cf@mail.gmail.com>
References: <21efcd110808280126u5fd4d131q6c15a9629d1d1cf@mail.gmail.com>
Message-ID: <200808281036.21984.pcaro@yaco.es>
El Jueves 28 Agosto 2008, Igor Ostri? escribi?:
> 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)
Try "file://servicedescription.wsdl" It runs for me.
--
Pablo Caro Revuelta
pcaro at yaco.es
Yaco Sistemas S.L.
http://www.yaco.es
C/ Rioja 5, 41001 Sevilla (Espa?a)
Tel?fono: 954 50 00 57
Fax 954 50 09 29
Este mensaje y sus documentos anexos son confidenciales y dirigidos
exclusivamente a los destinatarios de los mismos. Si por error, ha recibido
este mensaje y no es el destinatario, por favor, notif?queselo al remitente y
no use, informe, distribuya, imprima, copie o difunda este mensaje por ning?n
medio.
This message and any attached files are confidential. They are for the
intended recipients only. If an error has misdirected this e-mail to you,
please, notify the author and do not use, disclose, distribute, copy, print
or relay this e-mail.
From igor.ostriz at gmail.com Thu Aug 28 09:17:49 2008
From: igor.ostriz at gmail.com (=?UTF-8?Q?Igor_Ostri=C5=BE?=)
Date: Thu, 28 Aug 2008 11:17:49 +0200
Subject: [Fedora-suds-list] Re: Submitting wsdl file instead of wsdl url
In-Reply-To: <21efcd110808280126u5fd4d131q6c15a9629d1d1cf@mail.gmail.com>
References: <21efcd110808280126u5fd4d131q6c15a9629d1d1cf@mail.gmail.com>
Message-ID: <21efcd110808280217o37216641l9db048c73f98759c@mail.gmail.com>
On Thu, Aug 28, 2008 at 10:26 AM, Igor Ostri? wrote:
> 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?
>
Yes, I've tried 'file://LocationService.wsdl', but it does not help:
File "C:\Python25\lib\urllib2.py", line 1233, in open_local_file
(not port and socket.gethostbyname(host) in self.get_names()):
gaierror: (11001, 'getaddrinfo failed')
maybe it's windows...
:-(
--
IO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: