From vangheem at gmail.com Tue Sep 2 23:07:00 2008
From: vangheem at gmail.com (Nathan Van Gheem)
Date: Tue, 2 Sep 2008 18:07:00 -0500
Subject: [Fedora-suds-list] ref attribute issue for suds created types
Message-ID: <4308f0ba0809021607u4227cb84wc8426c6520ccb172@mail.gmail.com>
I'm working on implementing wsrp with suds and everything is going well
with the issues I've described from before, but I have a newly discovered
problem.
When there are attributes defined with the ref attr, suds chokes on me.
For instance,
>
does not have a type attribute defined for it and will choke and give a
TypeNotFound: Type not found: '_lang' error.
According to http://www.w3schools.com/Schema/el_attribute.asp for the ref
attribute,
> Optional. Specifies a reference to a named attribute. Name and ref
> attributes cannot both be present. *If ref is present, simpleType element,
> form, and type cannot be present *
So, it shouldn't need to have the type specified for it, right?
This is all within the wsrp specification so they could have defined
something incorrectly. Is there something I could do to get around this
while playing with the factory creation tool and calling the methods that
take the created factory objects?
The wsrp spec docs are here,
http://docs.oasis-open.org/wsrp/v2/wsrp-2.0-bindings.wsdl
http://docs.oasis-open.org/wsrp/v2/wsrp-2.0-interfaces.wsdl
http://docs.oasis-open.org/wsrp/v2/wsrp-2.0-types.xsd
-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From steffen at steidten.de Wed Sep 3 19:32:18 2008
From: steffen at steidten.de (Steffen Steidten)
Date: Wed, 03 Sep 2008 20:32:18 +0100
Subject: [Fedora-suds-list] ArrayOf_xsd_string not working as expected
Message-ID:
Hallo,
I'm having trouble to generate a service method's input consisting of
an array of strings. WSDL file see below, it works fine with ZSI.
What's wrong with my input variable? Is there a missing feature in suds,
I have to wait for?
Regards,
Steffen
The code is:
from suds.client import Client
clt = Client("file:///wmsservice.xml")
print clt
The output indicates a correctly handled wsdl file:
suds
version=0.2.8
service (WMSClientService)
prefixes:
ns0 = "urn:WMSClientAdapter"
methods (1):
generateEvent(ArrayOf_xsd_string in0, )
types (1):
ArrayOf_xsd_string
When sending the request
in0 = clt.factory.create("ArrayOf_xsd_string")
in0.value = ["x", "-A"]
clt.service.generateEvent(in0)
the following error is returned:
ERROR:suds.resolver:(value) not-found
Traceback (most recent call last):
File "testsuds.py", line 12, in
clt.service.generateEvent(in0)
File "C:\Util\Python25\lib\site-packages\suds\client.py", line
187, in __call__
result = self.client.invoke(self, args, kwargs)
File "C:\Util\Python25\lib\site-packages\suds\client.py", line
297, in invoke
msg = binding.get_message(method.name, args, soapheaders)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
line 77, in get_message
p = self.param(method_name, pdef, arg)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
line 155, in param
return marshaller.process(pdef[0], object, pdef[1])
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 505, in process
result = MBase.process(self, content)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 366, in process
self.append(root, content)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 384, in append
self.appender.append(parent, content)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 123, in append
appender.append(parent, content)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 286, in append
Appender.append(self, child, cont)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 184, in append
self.marshaller.append(parent, content)
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 383, in append
if self.start(content):
File
"C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 535, in start
raise TypeNotFound(content.tag)
suds.TypeNotFound: Type not found: 'value'
--------------- wmsservice.xml -------------------------------
From jortel at redhat.com Thu Sep 4 00:47:28 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Wed, 03 Sep 2008 20:47:28 -0400
Subject: [Fedora-suds-list] ArrayOf_xsd_string not working as expected
In-Reply-To:
References:
Message-ID: <48BF3020.4030002@redhat.com>
Hey Steffen,
Thanks for your interest in suds. One thing you might want to try is to
print ArrayOf_xsd_string after it is created to see what its structure
looks like. Based on the error, 'value' doesn't seem match the schema.
Also, if you can include a copy or public link to your wsdl, I can be
much more helpful.
Regards,
Jeff
Steffen Steidten wrote:
> Hallo,
>
> I'm having trouble to generate a service method's input consisting of
> an array of strings. WSDL file see below, it works fine with ZSI.
> What's wrong with my input variable? Is there a missing feature in suds,
> I have to wait for?
>
>
> Regards,
> Steffen
>
>
>
> The code is:
> from suds.client import Client
> clt = Client("file:///wmsservice.xml")
> print clt
>
> The output indicates a correctly handled wsdl file:
>
> suds
> version=0.2.8
> service (WMSClientService)
> prefixes:
> ns0 = "urn:WMSClientAdapter"
> methods (1):
> generateEvent(ArrayOf_xsd_string in0, )
> types (1):
> ArrayOf_xsd_string
>
>
> When sending the request
> in0 = clt.factory.create("ArrayOf_xsd_string")
> in0.value = ["x", "-A"]
> clt.service.generateEvent(in0)
>
> the following error is returned:
> ERROR:suds.resolver:(value) not-found
> Traceback (most recent call last):
> File "testsuds.py", line 12, in
> clt.service.generateEvent(in0)
> File "C:\Util\Python25\lib\site-packages\suds\client.py", line
> 187, in __call__
> result = self.client.invoke(self, args, kwargs)
> File "C:\Util\Python25\lib\site-packages\suds\client.py", line
> 297, in invoke
> msg = binding.get_message(method.name, args, soapheaders)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
> line 77, in get_message
> p = self.param(method_name, pdef, arg)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
> line 155, in param
> return marshaller.process(pdef[0], object, pdef[1])
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 505, in process
> result = MBase.process(self, content)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 366, in process
> self.append(root, content)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 384, in append
> self.appender.append(parent, content)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 123, in append
> appender.append(parent, content)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 286, in append
> Appender.append(self, child, cont)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 184, in append
> self.marshaller.append(parent, content)
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 383, in append
> if self.start(content):
> File
> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
> line 535, in start
> raise TypeNotFound(content.tag)
> suds.TypeNotFound: Type not found: 'value'
>
>
> --------------- wmsservice.xml -------------------------------
>
>
> xmlns:impl="urn:WMSClientAdapter" xmlns:intf="urn:WMSClientAdapter"
> xmlns:apachesoap="http://xml.apache.org/xml-soap"
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns="http://schemas.xmlsoap.org/wsdl/">
>
> targetNamespace="urn:WMSClientAdapter">
>
>
>
>
> wsdl:arrayType="xsd:string[]"/>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> message="impl:generateEventRequest"/>
>
> message="impl:generateEventResponse"/>
>
>
>
>
>
>
>
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
>
>
>
>
>
>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:WMSClientAdapter"/>
>
>
>
>
>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:WMSClientAdapter"/>
>
>
>
>
>
>
>
>
>
>
>
> location="http://localhost:7070/wmsWebService/services/WMSClient"/>
>
>
>
>
>
>
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From steffen at steidten.de Thu Sep 4 18:10:43 2008
From: steffen at steidten.de (Steffen Steidten)
Date: Thu, 04 Sep 2008 19:10:43 +0100
Subject: [Fedora-suds-list] ArrayOf_xsd_string not working as expected
In-Reply-To: <48BF3020.4030002@redhat.com>
Message-ID:
Jeff,
Thanks for your quick reply. The WSDL is attached (or see the last part
of my first mail if it dowsn't work).
The ArrayOf_xsd_string instance with the string array ["", "-A"] as
parameter seems to look good, as the following log shows (sorry, it's a
bit lengthy). It seems like the string array cannot be resolved properly.
Regards, Steffen
The log output comes here:
>>> in0.value = ["", "-A"]
>>> clt.service.generateEvent(in0)
1220458189.508:10:marshaller:process:processing:
(Content){
tag = "in0"
value =
(ArrayOf_xsd_string){
value[] =
"",
"-A",
}
type =
}
1220458189.508:10:marshaller:encode:encoding name=(ArrayOf_xsd_string)
1220458189.508:10:marshaller:node:created - node:
1220458189.508:10:marshaller:append:appending parent:
content:
(Content){
tag = "in0"
value =
(ArrayOf_xsd_string){
value[] =
"",
"-A",
}
type =
}
1220458189.508:10:marshaller:__metatype:type (ArrayOf_xsd_string) found
in metadata
1220458189.524:10:marshaller:start:starting content of type:
(Content){
tag = "in0"
value =
(ArrayOf_xsd_string){
value[] =
"",
"-A",
}
type =
}
1220458189.524:10:marshaller:__metatype:type (ArrayOf_xsd_string) found
in metadata
1220458189.524:10:marshaller:encode:encoding name=(ArrayOf_xsd_string)
1220458189.524:10:marshaller:node:created - node:
1220458189.524:10:marshaller:append:appending parent:
content:
(Content){
tag = "value"
value[] =
"",
"-A",
type = None
}
1220458189.524:10:marshaller:start:starting content of type: None
(Content){
tag = "value"
value[] =
"",
"-A",
type = None
}
1220458189.524:40:resolver:__find:(value) not-found
Traceback (most recent call last):
File "", line 1, in
File "U:\Util\Python25\lib\site-packages\suds\client.py", line
187, in __call__
result = self.client.invoke(self, args, kwargs)
File "U:\Util\Python25\lib\site-packages\suds\client.py", line
297, in invoke
msg = binding.get_message(method.name, args, soapheaders)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
line 77, in get_message
p = self.param(method_name, pdef, arg)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
line 155, in param
return marshaller.process(pdef[0], object, pdef[1])
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 503, in process
result = MBase.process(self, content)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 364, in process
self.append(root, content)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 382, in append
self.appender.append(parent, content)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 121, in append
appender.append(parent, content)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 284, in append
Appender.append(self, child, cont)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 182, in append
self.marshaller.append(parent, content)
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 381, in append
if self.start(content):
File
"U:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
line 533, in start
raise TypeNotFound(content.tag)
suds.TypeNotFound: Type not found: 'value'
Am 4.9.2008 schrieb "Jeff Ortel" :
>Hey Steffen,
>
>
>Thanks for your interest in suds. One thing you might want to try is to
>print ArrayOf_xsd_string after it is created to see what its structure
>looks like. Based on the error, 'value' doesn't seem match the schema.
>Also, if you can include a copy or public link to your wsdl, I can be
>much more helpful.
>
>
>Regards,
>
>Jeff
>
>
>Steffen Steidten wrote:
>> Hallo,
>>
>> I'm having trouble to generate a service method's input consisting of
>> an array of strings. WSDL file see below, it works fine with ZSI.
>> What's wrong with my input variable? Is there a missing feature in suds,
>> I have to wait for?
>>
>>
>> Regards,
>> Steffen
>>
>>
>>
>> The code is:
>> from suds.client import Client
>> clt = Client("file:///wmsservice.xml")
>> print clt
>>
>> The output indicates a correctly handled wsdl file:
>>
>> suds
>> version=0.2.8
>> service (WMSClientService)
>> prefixes:
>> ns0 = "urn:WMSClientAdapter"
>> methods (1):
>> generateEvent(ArrayOf_xsd_string in0, )
>> types (1):
>> ArrayOf_xsd_string
>>
>>
>> When sending the request
>> in0 = clt.factory.create("ArrayOf_xsd_string")
>> in0.value = ["x", "-A"]
>> clt.service.generateEvent(in0)
>>
>> the following error is returned:
>> ERROR:suds.resolver:(value) not-found
>> Traceback (most recent call last):
>> File "testsuds.py", line 12, in
>> clt.service.generateEvent(in0)
>> File "C:\Util\Python25\lib\site-packages\suds\client.py", line
>> 187, in __call__
>> result = self.client.invoke(self, args, kwargs)
>> File "C:\Util\Python25\lib\site-packages\suds\client.py", line
>> 297, in invoke
>> msg = binding.get_message(method.name, args, soapheaders)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
>> line 77, in get_message
>> p = self.param(method_name, pdef, arg)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\binding.py",
>> line 155, in param
>> return marshaller.process(pdef[0], object, pdef[1])
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 505, in process
>> result = MBase.process(self, content)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 366, in process
>> self.append(root, content)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 384, in append
>> self.appender.append(parent, content)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 123, in append
>> appender.append(parent, content)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 286, in append
>> Appender.append(self, child, cont)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 184, in append
>> self.marshaller.append(parent, content)
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 383, in append
>> if self.start(content):
>> File
>> "C:\Util\Python25\lib\site-packages\suds\bindings\marshaller.py",
>> line 535, in start
>> raise TypeNotFound(content.tag)
>> suds.TypeNotFound: Type not found: 'value'
>>
>>
>> --------------- wmsservice.xml -------------------------------
>>
>>
>> > xmlns:impl="urn:WMSClientAdapter" xmlns:intf="urn:WMSClientAdapter"
>> xmlns:apachesoap="http://xml.apache.org/xml-soap"
>> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> xmlns="http://schemas.xmlsoap.org/wsdl/">
>>
>> > targetNamespace="urn:WMSClientAdapter">
>>
>>
>>
>>
>> > wsdl:arrayType="xsd:string[]"/>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> > message="impl:generateEventRequest"/>
>>
>> > message="impl:generateEventResponse"/>
>>
>>
>>
>>
>>
>>
>>
>> > transport="http://schemas.xmlsoap.org/soap/http"/>
>>
>>
>>
>>
>>
>>
>>
>> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>> namespace="urn:WMSClientAdapter"/>
>>
>>
>>
>>
>>
>> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>> namespace="urn:WMSClientAdapter"/>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> > location="http://localhost:7070/wmsWebService/services/WMSClient"/>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> fedora-suds-list mailing list
>> fedora-suds-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-suds-list
>
>_______________________________________________
>fedora-suds-list mailing list
>fedora-suds-list at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-suds-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wmsservice.xml
Type: text/xml
Size: 2481 bytes
Desc: not available
URL:
From thierryschellenbach at gmail.com Sun Sep 7 11:28:58 2008
From: thierryschellenbach at gmail.com (Thierry Schellenbach)
Date: Sun, 7 Sep 2008 13:28:58 +0200
Subject: [Fedora-suds-list] using suds with the google adwords api
Message-ID: <135b1f340809070428n3d482456oc75cc0fd16170ef0@mail.gmail.com>
After a long struggle with ZSI and SoapPY i found suds.
It looks like a really good solution, code base is pretty clean as well.
I however can't seem to get it too work with the adwords api.
Im using the latest trunk checkout (r267)
Any suggestions as to what is causing this?
Code:
from suds.client import Client
wsdl = 'https://adwords.google.com/api/adwords/v12/CampaignService?wsdl'
c = Client(wsdl)
def headers(c):
headers = ad_settings.headers
tokens = []
for k,v in headers.items():
token = c.factory.create(k)
token.value = v
tokens.append(token)
return tokens
accounts = c.service.getAllAdWordsCampaigns(1, soapheaders=headers(c))
pprint(accounts)
Gives the error:
Traceback (most recent call last):
File "D:\development\workspace\pytm2\ytm\adwords\adwords_api_ytm\test.py",
line 164, in
main()
File "D:\development\workspace\pytm2\ytm\adwords\adwords_api_ytm\test.py",
line 29, in main
accounts = c.service.getAllAdWordsCampaigns(1, soapheaders=headers(c))
File "C:\Python25\lib\site-packages\suds\client.py", line 186, in __call__
result = self.client.invoke(self, args, kwargs)
File "C:\Python25\lib\site-packages\suds\client.py", line 296, in invoke
msg = binding.get_message(method.name, args, soapheaders)
File "C:\Python25\lib\site-packages\suds\bindings\binding.py", line 105,
in get_message
header = self.header(soapheaders)
File "C:\Python25\lib\site-packages\suds\bindings\binding.py", line 283,
in header
node = marshaller.process(value, type, tag)
File "C:\Python25\lib\site-packages\suds\bindings\marshaller.py", line
521, in process
result = MBase.process(self, content)
File "C:\Python25\lib\site-packages\suds\bindings\marshaller.py", line
372, in process
self.append(root, content)
File "C:\Python25\lib\site-packages\suds\bindings\marshaller.py", line
389, in append
if self.start(content):
File "C:\Python25\lib\site-packages\suds\bindings\marshaller.py", line
554, in start
if self.__skip(content):
File "C:\Python25\lib\site-packages\suds\bindings\marshaller.py", line
661, in __skip
if content.type.optional():
File "C:\Python25\lib\site-packages\suds\xsd\sxbasic.py", line 427, in
optional
return ( self.container.optional() or self.min == '0' )
AttributeError: 'NoneType' object has no attribute 'optional'
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Donald.Benne at graybar.com Tue Sep 9 17:20:51 2008
From: Donald.Benne at graybar.com (Benne, Donald)
Date: Tue, 9 Sep 2008 12:20:51 -0500
Subject: [Fedora-suds-list] Problem with nil datetime field
Message-ID: <1897E92A96C47648A6574CB9A51C640706EAE07C@SEBEV1PW.graybar.com>
Hello all,
We have an internal Remedy ARS system which we are trying to set web
services up on. Currently if the server sends back a datetime element
which is nil for a request, then we get a typeError: object of type
'NoneType' has no len(). According to the WSDL it looks like nil should
be valid for this element. I have attached the WSDL file and a debug log
showing the error. We can successfully use this same service from a
python client built using ZSI.
Note I'm specifically talking about the OpGet service and the
Scheduled_End_Date element coming back from that service.
Thanks,
Don
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CAS_ChangeTask2.wsdl
Type: application/octet-stream
Size: 57745 bytes
Desc: CAS_ChangeTask2.wsdl
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: suds.log
Type: application/octet-stream
Size: 688028 bytes
Desc: suds.log
URL:
From vangheem at gmail.com Tue Sep 9 17:55:05 2008
From: vangheem at gmail.com (Nathan Van Gheem)
Date: Tue, 9 Sep 2008 12:55:05 -0500
Subject: [Fedora-suds-list] Problem with nil datetime field
In-Reply-To: <1897E92A96C47648A6574CB9A51C640706EAE07C@SEBEV1PW.graybar.com>
References: <1897E92A96C47648A6574CB9A51C640706EAE07C@SEBEV1PW.graybar.com>
Message-ID: <4308f0ba0809091055x7af8fba4md2fbe43a5d375d64@mail.gmail.com>
Hey Benne,
Can you try the attached version of suds and let me know if that works for
you. If it does work, I'll submit the patch to Jeff and I'm sure he'll put
it in a release very soon.
Thanks,
Nathan
On Tue, Sep 9, 2008 at 12:20 PM, Benne, Donald wrote:
> Hello all,
> We have an internal Remedy ARS system which we are trying to set web
> services up on. Currently if the server sends back a datetime element
> which is nil for a request, then we get a typeError: object of type
> 'NoneType' has no len(). According to the WSDL it looks like nil should
> be valid for this element. I have attached the WSDL file and a debug log
> showing the error. We can successfully use this same service from a
> python client built using ZSI.
>
> Note I'm specifically talking about the OpGet service and the
> Scheduled_End_Date element coming back from that service.
>
> Thanks,
> Don
>
>
> _______________________________________________
> 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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: suds 2.zip
Type: application/zip
Size: 1071317 bytes
Desc: not available
URL:
From jortel at redhat.com Tue Sep 9 21:16:38 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 09 Sep 2008 17:16:38 -0400
Subject: [Fedora-suds-list] 0.2.9 released
Message-ID: <48C6E7B6.2070609@redhat.com>
All,
Suds version 0.2.9 released. See https://fedorahosted.org/suds for details.
Regards,
Jeff
From jortel at redhat.com Wed Sep 10 13:26:10 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Wed, 10 Sep 2008 09:26:10 -0400
Subject: [Fedora-suds-list] Why suds egg is so big?
Message-ID: <48C7CAF2.6040809@redhat.com>
Anyone know why ( python setup.py bdist_egg ) generates such a large
.egg file? The suds egg is almost 300k!
From vangheem at gmail.com Wed Sep 10 15:51:28 2008
From: vangheem at gmail.com (Nathan Van Gheem)
Date: Wed, 10 Sep 2008 10:51:28 -0500
Subject: [Fedora-suds-list] Why suds egg is so big?
In-Reply-To: <48C7CAF2.6040809@redhat.com>
References: <48C7CAF2.6040809@redhat.com>
Message-ID: <4308f0ba0809100851n2acfa4b5pf895c689a691859c@mail.gmail.com>
It looks like it is including the .pyc and .pyo files. BTW, what command
are you using to throw it up on the cheeseshop because it doesn't show the
download files for it on the site.
-Nathan
On Wed, Sep 10, 2008 at 8:26 AM, Jeff Ortel wrote:
> Anyone know why ( python setup.py bdist_egg ) generates such a large .egg
> file? The suds egg is almost 300k!
>
> _______________________________________________
> 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 matt at tplus1.com Thu Sep 11 19:23:06 2008
From: matt at tplus1.com (Matthew Wilson)
Date: Thu, 11 Sep 2008 15:23:06 -0400
Subject: [Fedora-suds-list] suds is great
Message-ID:
Hi,
I spent all day trying to find a way to write a python client to work
with a SOAP web service. I looked at ZSI and soaplib, and finally
found suds, which is exactly what I needed.
A few minor questions:
1. Why not include a setup.py file with the code? Or at least some
install directions that explain what to do.
2. Are there any tests for suds?
Matt
From vangheem at gmail.com Thu Sep 11 20:39:28 2008
From: vangheem at gmail.com (Nathan Van Gheem)
Date: Thu, 11 Sep 2008 15:39:28 -0500
Subject: [Fedora-suds-list] suds is great
In-Reply-To: <4308f0ba0809111326u5255d56ag22185bf25e06139a@mail.gmail.com>
References:
<4308f0ba0809111326u5255d56ag22185bf25e06139a@mail.gmail.com>
Message-ID: <4308f0ba0809111339o401d1a5cgf6d5ea348c0225a9@mail.gmail.com>
Sorry, forgot to click the "reply to all" button at this response....
1. Why not include a setup.py file with the code? Or at least some
> install directions that explain what to do.
>
Adding to this, I think you can use easy_install to install suds also.
-Nathan
---------- Forwarded message ----------
From: Nathan Van Gheem
Date: Thu, Sep 11, 2008 at 3:26 PM
Subject: Re: [Fedora-suds-list] suds is great
To: Matthew Wilson
Hi Matt,
> 1. Why not include a setup.py file with the code? Or at least some
> install directions that explain what to do.
>
I'm almost positive that the setup.py file is included. What package are
you using to install?
2. Are there any tests for suds?
Yes, there are tests for the project. If you download the project or check
it out of the svn, they are located in the tests directory. The way Jeff
has done testing thus far has been a more tedious approach. He has a bunch
of web services on his local machine that he runs the tests against. There
are no formal testing methods really being used though. This is both good
and bad for obvious reasons. On the good side, these are like functional
tests, which allows Jeff to change a lot of the code base without a bunch of
Unit Tests making his code rigid. Conversely, you can't actually runs the
tests on your own machine, and you're not really testing the code itself per
say(unit testing), but rather how the code works together as a whole.
If you're looking for tests to see how to use the library, I'd just have a
look at the README. That gives a pretty good example. Otherwise, Jeff's
code is very clean and easy to understand. Browsing it should not be too
much of a hassle.
I hope that clears up some things for you..
regard,
Nathan
On Thu, Sep 11, 2008 at 2:23 PM, Matthew Wilson wrote:
> Hi,
>
> I spent all day trying to find a way to write a python client to work
> with a SOAP web service. I looked at ZSI and soaplib, and finally
> found suds, which is exactly what I needed.
>
> A few minor questions:
>
> 1. Why not include a setup.py file with the code? Or at least some
> install directions that explain what to do.
> 2. Are there any tests for suds?
>
> Matt
>
> _______________________________________________
> 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 paulandersonusa at yahoo.com Tue Sep 16 04:09:33 2008
From: paulandersonusa at yahoo.com (paul anderson)
Date: Mon, 15 Sep 2008 21:09:33 -0700 (PDT)
Subject: [Fedora-suds-list] Suds hat-tip
Message-ID: <83233.83787.qm@web50909.mail.re2.yahoo.com>
Jeff, Jesper, Nathan
Very nice work on this; I'd been through a couple of others (SOAPpy etc. - each fine efforts), but didn't get what I was looking for.
This is a sharp piece of design - very nicely done. Client is a pleasure to use. The parameter-type factories - very nicely done. I've only scratched the surface yet, but have had useful results already
This is software as it should be "spoken" - hat tips to you and contributors at large.
From vangheem at gmail.com Tue Sep 16 12:23:07 2008
From: vangheem at gmail.com (Nathan Van Gheem)
Date: Tue, 16 Sep 2008 07:23:07 -0500
Subject: [Fedora-suds-list] Re: Suds hat-tip
In-Reply-To: <83233.83787.qm@web50909.mail.re2.yahoo.com>
References: <83233.83787.qm@web50909.mail.re2.yahoo.com>
Message-ID: <4308f0ba0809160523h52364bear4aec507861b741b1@mail.gmail.com>
I have hardly done anything for the project comparatively. I believe most
of the props go to Jeff.
On Mon, Sep 15, 2008 at 11:09 PM, paul anderson
wrote:
> Jeff, Jesper, Nathan
>
> Very nice work on this; I'd been through a couple of others (SOAPpy etc. -
> each fine efforts), but didn't get what I was looking for.
>
> This is a sharp piece of design - very nicely done. Client is a pleasure to
> use. The parameter-type factories - very nicely done. I've only scratched
> the surface yet, but have had useful results already
>
> This is software as it should be "spoken" - hat tips to you and
> contributors at large.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jortel at redhat.com Tue Sep 30 23:48:50 2008
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 30 Sep 2008 19:48:50 -0400
Subject: [Fedora-suds-list] Suds 0.3 released.
Message-ID: <48E2BAE2.7020800@redhat.com>
All,
Suds version 0.3 is released. See https://fedorahosted.org/suds/ for
details.
For those of you using suds to work with web services that define
multiple ports for the service, you really want to read section:
SERVICES WITH MULTIPLE PORTS in the suds README. In suds 0.2.9 and
earlier, the fact that you may have been working with services with
multiple ports was hidden from you. In order to properly handle
multi-port services, this had to change - a little. Don't worry, if
this affects you, dealing with this is easy ;-).
Regards,
Jeff