From prey at soundratt.com Sat Jun 6 20:07:31 2009
From: prey at soundratt.com (prey)
Date: Sat, 06 Jun 2009 20:07:31 +0000
Subject: [Fedora-suds-list] Wsoman auctions herself with Ferrari
Message-ID: <0694374593318207111290695350@soundratt.com>
A non-text attachment was scrubbed...
Name: writ.rtf
Type: application/octet-stream
Size: 356 bytes
Desc: not available
URL:
From fetuses at witsun.com Sun Jun 7 10:33:54 2009
From: fetuses at witsun.com (Godson)
Date: Sun, 07 Jun 2009 10:33:54 +0000
Subject: [Fedora-suds-list] Loud cheers banned at soccer's blind Wolrd Cup
Message-ID:
A non-text attachment was scrubbed...
Name: beaverize.rtf
Type: application/octet-stream
Size: 356 bytes
Desc: not available
URL:
From circumpolar at pretax.hu Sun Jun 7 12:00:44 2009
From: circumpolar at pretax.hu (Pirone Rede)
Date: Sun, 07 Jun 2009 12:00:44 +0000
Subject: [Fedora-suds-list] Chilean stripper arrested for subway ploe dances
Message-ID: <1947344794943927704384@pretax.hu>
A non-text attachment was scrubbed...
Name: neutrality.rtf
Type: application/octet-stream
Size: 356 bytes
Desc: not available
URL:
From tummy at ceeeta.pt Mon Jun 8 05:25:15 2009
From: tummy at ceeeta.pt (Hunckler)
Date: Mon, 08 Jun 2009 05:25:15 +0000
Subject: [Fedora-suds-list] Old oil boats get glam makeover as yacht etnders
Message-ID:
A non-text attachment was scrubbed...
Name: automat.rtf
Type: application/octet-stream
Size: 356 bytes
Desc: not available
URL:
From upendra.m at hexagrid.com Tue Jun 9 14:27:49 2009
From: upendra.m at hexagrid.com (Upendra Moturi)
Date: Tue, 9 Jun 2009 19:57:49 +0530
Subject: [Fedora-suds-list] help needed
Message-ID: <8041c7b10906090727n1ecc5681n96610b4d4a066dc@mail.gmail.com>
Hi,
I have a webservice with axis2.My webservice server is in java.I want client
to be written in python.
Client with java is working fine.
In python i am just trying to list the methods and it throws errors.
*Errors:*
Traceback (most recent call last):
File "test.py", line 6, in
client = Client(url)
File "build/bdist.linux-i686/egg/suds/client.py", line 109, in __init__
File "build/bdist.linux-i686/egg/suds/servicedefinition.py", line 52, in
__init__
File "build/bdist.linux-i686/egg/suds/servicedefinition.py", line 132, in
paramtypes
File "build/bdist.linux-i686/egg/suds/xsd/sxbasic.py", line 156, in
resolve
suds.TypeNotFound: Type not found: '(ServerRegistrationDao,
http://dao.web.rpma.hx.com/xsd, )'
*My pyhton client is:*
from suds.client import Client
#from suds.xsd.sxbasic import Import
#Import.bind('http://schemas.xmlsoap.org/soap/encoding/')
url = '
http://192.168.155.140:8080/webservice/services/ServerRegistrationService?wsdl'
client = Client(url)
print client
I have attached my wsdl .
Please help me
Thank you.
--
Thanks and Regards,
Upendra.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ServerRegistrationService.wsdl
Type: text/xml
Size: 12799 bytes
Desc: not available
URL:
From jortel at redhat.com Tue Jun 9 21:00:52 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 09 Jun 2009 16:00:52 -0500
Subject: [Fedora-suds-list] help needed
In-Reply-To: <8041c7b10906090727n1ecc5681n96610b4d4a066dc@mail.gmail.com>
References: <8041c7b10906090727n1ecc5681n96610b4d4a066dc@mail.gmail.com>
Message-ID: <4A2ECD84.50902@redhat.com>
Hey Upendra,
The problem here is that schema (http://services.web.rpma.hx.com) references a complex
type named: ServerRegistrationDao which is defined in schema
(http://dao.web.rpma.hx.com/xsd) but fails to import the other namespace. Even though
they are in the same WSDL, rules apply.
The doctor ( http://jortel.fedorapeople.org/suds/doc/suds.xsd.doctor-module.html ) classes
in suds are designed to fix broken wsdl/schemas. In a perfect world, the authors of this
schema would fix this but I wouldn't hold your breath.
See suggested fix below. It worked for me.
Regards,
Jeff
Upendra Moturi wrote:
> Hi,
> I have a webservice with axis2.My webservice server is in java.I want
> client to be written in python.
> Client with java is working fine.
> In python i am just trying to list the methods and it throws errors.
>
> _*Errors:*_
>
> Traceback (most recent call last):
> File "test.py", line 6, in
> client = Client(url)
> File "build/bdist.linux-i686/egg/suds/client.py", line 109, in __init__
> File "build/bdist.linux-i686/egg/suds/servicedefinition.py", line 52,
> in __init__
> File "build/bdist.linux-i686/egg/suds/servicedefinition.py", line 132,
> in paramtypes
> File "build/bdist.linux-i686/egg/suds/xsd/sxbasic.py", line 156, in
> resolve
> suds.TypeNotFound: Type not found: '(ServerRegistrationDao,
> http://dao.web.rpma.hx.com/xsd, )'
>
> _*My pyhton client is:*_
> from suds.client import Client
> #from suds.xsd.sxbasic import Import
> #Import.bind('http://schemas.xmlsoap.org/soap/encoding/')
> url = '
> http://192.168.155.140:8080/webservice/services/ServerRegistrationService?wsdl'
from suds.xsd.doctor import ImportDoctor, Import
imp = Import('http://dao.web.rpma.hx.com/xsd')
imp.filter.add('http://services.web.rpma.hx.com')
d = ImportDoctor(imp)
client = Client(url, schemadoctor=d)
print client
> - client = Client(url)
> print client
>
> I have attached my wsdl .
> Please help me
> Thank you.
>
> --
> Thanks and Regards,
> Upendra.M
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From bo.laurent at canonical.com Wed Jun 10 06:54:12 2009
From: bo.laurent at canonical.com (Bo Laurent)
Date: Tue, 9 Jun 2009 23:54:12 -0700
Subject: [Fedora-suds-list] Reference wsdl as local file?
Message-ID: <6441D986-2056-4BB6-8C99-5D622BCD2A0C@canonical.com>
I wonder if there is a way to reference the wsdl as a local file (not
with an absolute url starting at filesystem root)?
I'm working with Salesforce.com, and they don't make their wsdls easy
to fetch programmatically (because it exposes schema customizations,
so publishing would undermine organization privacy).
Bo
From davidglick at onenw.org Wed Jun 10 07:04:17 2009
From: davidglick at onenw.org (David Glick)
Date: Wed, 10 Jun 2009 00:04:17 -0700
Subject: [Fedora-suds-list] Reference wsdl as local file?
In-Reply-To: <6441D986-2056-4BB6-8C99-5D622BCD2A0C@canonical.com>
References: <6441D986-2056-4BB6-8C99-5D622BCD2A0C@canonical.com>
Message-ID:
On Jun 9, 2009, at 11:54 PM, Bo Laurent wrote:
> I wonder if there is a way to reference the wsdl as a local file
> (not with an absolute url starting at filesystem root)?
You can just pass a file:/// URL when you instantiate the Client.
That does require an absolute path, but it shouldn't be hard to get
the absolute path of the current working directory using the Python
stdlib (sorry, don't remember how off-hand) if you need to convert a
relative path.
David Glick
Web Developer
ONE/Northwest
New tools and strategies for engaging people in protecting the
environment
http://www.onenw.org
davidglick at onenw.org
work: (206) 286-1235 x32
mobile: (206) 679-3833
Subscribe to ONEList, our email newsletter!
Practical advice for effective online engagement
http://www.onenw.org/full_signup
From lothringen at thealldays.com Thu Jun 11 22:53:43 2009
From: lothringen at thealldays.com (McElhannon Tellefson)
Date: Thu, 11 Jun 2009 22:53:43 +0000
Subject: [Fedora-suds-list] Pesky Road Bollards (Or..Dont chase that bus,
youu&'ll wreck your car)
Message-ID: <2869e6147a5d04665f20090611185502@thealldays.com>
Hfi, my photo attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urinous.png
Type: image/png
Size: 12248 bytes
Desc: not available
URL:
From fictions at trux.org Sat Jun 13 20:20:53 2009
From: fictions at trux.org (fictions)
Date: Sat, 13 Jun 2009 20:20:53 +0000
Subject: [Fedora-suds-list] Great sex - Better Performance and More
Satiswfying Ocrgasms For Men and Women With These Herbs!
Message-ID: <4A3409A3.1403929@trux.org>
Chhina's president ditches suit and tbie in energy-saving drive
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 552.gif
Type: image/gif
Size: 10328 bytes
Desc: not available
URL:
From letdowns at coloriance.com Sun Jun 14 17:34:07 2009
From: letdowns at coloriance.com (Fernandez)
Date: Sun, 14 Jun 2009 17:34:07 +0000
Subject: [Fedora-suds-list] Sex, It Taeks Convicjtion
Message-ID: <9062340750386268@coloriance.com>
Mourinhov's terrier dog returns to Portugval
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 676.jpg
Type: image/jpg
Size: 29058 bytes
Desc: not available
URL:
From cdebbo at sandvine.com Mon Jun 15 00:56:54 2009
From: cdebbo at sandvine.com (Craig Debbo)
Date: Sun, 14 Jun 2009 20:56:54 -0400
Subject: [Fedora-suds-list] add NS to attribute in start element?
Message-ID: <490204FF0C10C0429FC328CADD550691F04682@EXCHANGE-1.sandvine.com>
When I create the following type (which is listed as a valid type when I
run 'print client'),
csvFormat = client.factory.create('ns0:CsvAttachmentFormat')
Suds generates this,
...
Unfortunately my SOAP server will only accept either,
or,
How do I get Suds to either add the namespace to the attribute or else
not have any attribute at all for the start element? Is there some
additional binding or option to control this?
Thanks
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From darrell at garnix.org Mon Jun 15 03:19:26 2009
From: darrell at garnix.org (Darrell Fuhriman)
Date: Sun, 14 Jun 2009 20:19:26 -0700
Subject: [Fedora-suds-list] arrayType tag not being added
Message-ID: <7B282C14-61E8-445B-9FFD-8D733155F8DD@garnix.org>
I'm trying to use the soap service provided here:
https://node.deq.state.or.us/PNWHostTest/node.asmx?WSDL
Using the code below, I am able to authenticate, but when I call
GetStations, I get an error back from the server.
I've tracked the problem down to a missing tag on the 'parameters'
attribute.
I'm getting:
And what I should be getting is:
(complete query is attached)
I'm using the current SVN version, though I've also tried 0.3.5.
class DEQDB:
def __init__(self):
url = 'https://node.deq.state.or.us/PNWHostTest/node.asmx?WSDL'
self.client = Client(url)
self.username = 'XXXXX'
self.password = 'YYYYY'
self.token=''
def authenticate(self):
self.token=self.client.service.Authenticate(userId=self.username,
credential = self.password,authenticationMethod = 'basic')
if self.token == '':
raise AuthenticationError,"Invalid credentials passed to remote"
def stationList(self):
params=self.client.factory.create('ArrayOfString')
params
.item
=
['1
','300
','','','','','','','','','','','','','','','','','','','','','','','','','','','','','']
print params
list
=
self
.client
.service.Query(securityToken=self.token,request='GetStations',rowId=0,
maxRows = 10,parameters=params)
return list
deq=DEQDB()
deq.authenticate()
print deq.stationList()
If I specify params._arrayType= 'ns2:string[31]', then the tag
appears, but without the SOAP-ENC, or any other namespace prefix,
which still causes an error on the other side.
Any suggestions on how to make this work?
Darrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: query.xml
Type: text/xml
Size: 2424 bytes
Desc: not available
URL:
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print_client.out
Type: application/octet-stream
Size: 2869 bytes
Desc: not available
URL:
-------------- next part --------------
From bungalow at kempcanada.com Mon Jun 15 11:30:25 2009
From: bungalow at kempcanada.com (bungalow)
Date: Mon, 15 Jun 2009 11:30:25 +0000
Subject: [Fedora-suds-list] What Women Want in eBd - Learn to Satisfy Your
Woman the Right Way (A Girl's Guide too Love and Lust)
Message-ID: <6E24D4C5@kempcanada.com>
Self-professed 'drunken piratee' runs for U.S. Congress onn lobbying reform plank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 97.jpg
Type: image/jpg
Size: 36617 bytes
Desc: not available
URL:
From jortel at redhat.com Mon Jun 15 20:31:49 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Mon, 15 Jun 2009 15:31:49 -0500
Subject: [Fedora-suds-list] Suds options update
Message-ID: <4A36AFB5.8070906@redhat.com>
All,
In revision 520, I renamed the 'schemadoctor' option to simply 'doctor'. Sorry for any
inconvenience to those of you using trunk or 0.3.6 beta.
Added new option named "xstq" which controls how xsi:type attribute values are
qualified/unqualified. By default the option is true and works on most servers. However,
JAXB based (and some other) servers can't handle the namespace prefix in the xsi:type
value so I made this configurable. I've reviewed the specs over-and-over for the past
year or so and I can't find a rule that defines when the value for xsi:type should be
qualified. The value is defined as QName which may or may not be qualified. Any better
ideas very welcome :)
Regards,
Jeff
From maskings at ancotech.nl Tue Jun 16 13:11:54 2009
From: maskings at ancotech.nl (maskings)
Date: Tue, 16 Jun 2009 11:11:54 -0200 (MSD)
Subject: [Fedora-suds-list] Guys Please Your Women in Bed - Tgop Tips to
Pleasing Your Woman and Have Her Coming Bacck!
Message-ID: <49eb246542667f60uHy8S2c8SJ@ancotech.nl>
Man Accused of Biting the Saame Man Tjwice
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moneymaker.jpg
Type: image/jpg
Size: 14628 bytes
Desc: not available
URL:
From list.suds at calidris.co.uk Tue Jun 16 12:26:59 2009
From: list.suds at calidris.co.uk (Tim Sawyer)
Date: Tue, 16 Jun 2009 13:26:59 +0100 (BST)
Subject: [Fedora-suds-list] Processing Complex Returns
Message-ID: <27780.195.59.98.162.1245155219.squirrel@www.hotmandarins.co.uk>
Hi Folks,
I have a web service that returns the following:
falsefalse0falsefalsefalsefalsefalsefalse
I'm trying to write a test, using suds, of this web service. I'm calling
the web service, and then doing this to the results, which isn't working:
self.assertEqual(lResponseParameter.ApplicationTrace.Application, False)
self.assertEqual(lResponseParameter.ApplicationTrace.CCode, False)
self.assertEqual(lResponseParameter.ApplicationTrace.CCodeLevel, '0')
self.assertEqual(lResponseParameter.ApplicationTrace.Concurrency, False)
self.assertEqual(lResponseParameter.ApplicationTrace.Gateway, False)
self.assertEqual(lResponseParameter.ApplicationTrace.GatewayPerformance,
False)
self.assertEqual(lResponseParameter.ApplicationTrace.PLSQLCode, False)
self.assertEqual(lResponseParameter.ApplicationTrace.Security, False)
The error I get is:
AttributeError: 'function' object has no attribute 'Application'
I think it appears to think that ApplicationTrace is an __init__ function?
logging.info(lResponseParameter.ApplicationTrace)
gives:
INFO:root:
so the data does appear to be there.
Any clues as to what I'm not understanding anyone?
Cheers,
Tim.
From chrisspen at gmail.com Tue Jun 16 19:46:10 2009
From: chrisspen at gmail.com (Chris Spencer)
Date: Tue, 16 Jun 2009 15:46:10 -0400
Subject: [Fedora-suds-list] Clearing Cached Schema
Message-ID:
I've just started evaluating SUPS to implement a simple WSDL client,
but I've run into a dead end when I changed a method name in my
schema. Apparently, even though I'm disabling the cache with
client.set_options(cache=None), it's still managed to cache the old
schema. How can I truly disable all caching, and clear any currently
cached wsdl schema? Where does SUPS store cached data on Windows?
Regards,
Chris
From jortel at redhat.com Tue Jun 16 20:06:10 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 16 Jun 2009 15:06:10 -0500
Subject: [Fedora-suds-list] Clearing Cached Schema
In-Reply-To:
References:
Message-ID: <4A37FB32.8050703@redhat.com>
Hey Chris,
Welcome to suds!
Chris Spencer wrote:
> I've just started evaluating SUPS to implement a simple WSDL client,
> but I've run into a dead end when I changed a method name in my
> schema. Apparently, even though I'm disabling the cache with
> client.set_options(cache=None), it's still managed to cache the old
> schema.
You need to set the cache option to None in the Client constructor because that is when
the wsdl and schemas are processed.
Try:
>
> client = Client(url, cache=None)
>
How can I truly disable all caching, and clear any currently
> cached wsdl schema?
This ^^ should work.
Where does SUPS store cached data on Windows?
No idea although you should be able to find by searching for a suds directory.
Can one of you windows users comment on this?
>
> Regards,
> Chris
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From jortel at redhat.com Tue Jun 16 20:16:52 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 16 Jun 2009 15:16:52 -0500
Subject: [Fedora-suds-list] Processing Complex Returns
In-Reply-To: <27780.195.59.98.162.1245155219.squirrel@www.hotmandarins.co.uk>
References: <27780.195.59.98.162.1245155219.squirrel@www.hotmandarins.co.uk>
Message-ID: <4A37FDB4.2050208@redhat.com>
Hey Tim,
Suds provides an objectification of the XML defined for the service (method) parameters
and returned objects. So, in this case it looks like the method returns an
ApplicationTrace object (based on the information you provided). Assuming you've assigned
this to a variable such as:
>
> trace = client.service.getApplicationTrace(...)
>
Then, trace looks like this:
>
> print trace
>
(ApplicationTrace){ <-------- The () indicates that class.
Application = False
CCode = False
CCodeLevel = "0"
Concurrency = False
Gateway = False
GatewayPerformance = False
Performance = False
PLSQLCode = False
Security = False
TraceOverrideList = ""
}
So, the following should work:
>
> self.assertEqual(trace.Application, True)
>
-or-
>
> If trace.Application:
> print "The application is true"
>
.. And so on.
Hopes this helps,
Jeff
Tim Sawyer wrote:
> Hi Folks,
>
> I have a web service that returns the following:
>
>
>
>
> xmlns:tns="http://ws.company.com/wsdl"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> false
> false
> 0
> false
> false
> false
> false
> false
> false
>
>
>
>
>
> I'm trying to write a test, using suds, of this web service. I'm calling
> the web service, and then doing this to the results, which isn't working:
>
> self.assertEqual(lResponseParameter.ApplicationTrace.Application, False)
> self.assertEqual(lResponseParameter.ApplicationTrace.CCode, False)
> self.assertEqual(lResponseParameter.ApplicationTrace.CCodeLevel, '0')
> self.assertEqual(lResponseParameter.ApplicationTrace.Concurrency, False)
> self.assertEqual(lResponseParameter.ApplicationTrace.Gateway, False)
> self.assertEqual(lResponseParameter.ApplicationTrace.GatewayPerformance,
> False)
> self.assertEqual(lResponseParameter.ApplicationTrace.PLSQLCode, False)
> self.assertEqual(lResponseParameter.ApplicationTrace.Security, False)
>
> The error I get is:
>
> AttributeError: 'function' object has no attribute 'Application'
>
> I think it appears to think that ApplicationTrace is an __init__ function?
>
> logging.info(lResponseParameter.ApplicationTrace)
>
> gives:
>
> INFO:root: Application = False
> CCode = False
> CCodeLevel = "0"
> Concurrency = False
> Gateway = False
> GatewayPerformance = False
> Performance = False
> PLSQLCode = False
> Security = False
> TraceOverrideList = ""
> }>
>
> so the data does appear to be there.
>
> Any clues as to what I'm not understanding anyone?
>
> Cheers,
>
> Tim.
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From chrisspen at gmail.com Tue Jun 16 20:18:15 2009
From: chrisspen at gmail.com (Chris Spencer)
Date: Tue, 16 Jun 2009 16:18:15 -0400
Subject: [Fedora-suds-list] Clearing Cached Schema
In-Reply-To: <4A37FB32.8050703@redhat.com>
References:
<4A37FB32.8050703@redhat.com>
Message-ID:
On Tue, Jun 16, 2009 at 4:06 PM, Jeff Ortel wrote:
>
> You need to set the cache option to None in the Client constructor because
> that is when the wsdl and schemas are processed.
>
> Try:
>
>>
>> client = Client(url, cache=None)
That works!
>
> Where does SUPS store cached data on Windows?
>
> No idea although you should be able to find by searching for a suds
> directory.
> Can one of you windows users comment on this?
After a little digging, I managed to find this. It should be in
something like C:/Documents and Settings//Local
Settings/Temp/suds
Thanks for the help.
Chris
From jortel at redhat.com Tue Jun 16 20:26:08 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 16 Jun 2009 15:26:08 -0500
Subject: [Fedora-suds-list] arrayType tag not being added
In-Reply-To: <7B282C14-61E8-445B-9FFD-8D733155F8DD@garnix.org>
References: <7B282C14-61E8-445B-9FFD-8D733155F8DD@garnix.org>
Message-ID: <4A37FFE0.5020402@redhat.com>
Hey Darrell,
Currently suds doesn't set the arrayType attribute for rpc/encoded arrays. So far, most
servers I've dealt with don't seem to care. But, seems like yours does :-/
Let me see what's involved in adding this functionality and get back to you.
Regards,
Jeff
Darrell Fuhriman wrote:
>
> I'm trying to use the soap service provided here:
>
> https://node.deq.state.or.us/PNWHostTest/node.asmx?WSDL
>
> Using the code below, I am able to authenticate, but when I call
> GetStations, I get an error back from the server.
>
> I've tracked the problem down to a missing tag on the 'parameters'
> attribute.
>
> I'm getting:
>
>
> And what I should be getting is:
> SOAP-ENC:arrayType="ns2:string[31]">
>
> (complete query is attached)
>
> I'm using the current SVN version, though I've also tried 0.3.5.
>
> class DEQDB:
> def __init__(self):
> url = 'https://node.deq.state.or.us/PNWHostTest/node.asmx?WSDL'
> self.client = Client(url)
> self.username = 'XXXXX'
> self.password = 'YYYYY'
> self.token=''
>
> def authenticate(self):
> self.token=self.client.service.Authenticate(userId=self.username,
> credential = self.password,authenticationMethod = 'basic')
> if self.token == '':
> raise AuthenticationError,"Invalid credentials passed to remote"
>
> def stationList(self):
> params=self.client.factory.create('ArrayOfString')
>
> params.item=['1','300','','','','','','','','','','','','','','','','','','','','','','','','','','','','','']
>
> print params
>
> list=self.client.service.Query(securityToken=self.token,request='GetStations',rowId=0,
> maxRows = 10,parameters=params)
> return list
>
> deq=DEQDB()
> deq.authenticate()
> print deq.stationList()
>
> If I specify params._arrayType= 'ns2:string[31]', then the tag appears,
> but without the SOAP-ENC, or any other namespace prefix, which still
> causes an error on the other side.
>
> Any suggestions on how to make this work?
>
> Darrell
>
>
> ------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From darrell at garnix.org Tue Jun 16 20:58:13 2009
From: darrell at garnix.org (Darrell Fuhriman)
Date: Tue, 16 Jun 2009 13:58:13 -0700
Subject: [Fedora-suds-list] arrayType tag not being added
In-Reply-To: <4A37FFE0.5020402@redhat.com>
References: <7B282C14-61E8-445B-9FFD-8D733155F8DD@garnix.org>
<4A37FFE0.5020402@redhat.com>
Message-ID:
>
> Currently suds doesn't set the arrayType attribute for rpc/encoded
> arrays. So far, most servers I've dealt with don't seem to care.
> But, seems like yours does :-/
FWIW, it's actually required in the 1.1 spec...
> Let me see what's involved in adding this functionality and get back
> to you.
Thanks! :)
d.
From daniel.chaowang at gmail.com Thu Jun 18 03:32:18 2009
From: daniel.chaowang at gmail.com (Daniel)
Date: Thu, 18 Jun 2009 11:32:18 +0800
Subject: [Fedora-suds-list] an SAX exception when create SUDS Client
Message-ID: <57fe16f60906172032m5d124346yabb63bb26e9b0217@mail.gmail.com>
hi list,
I am running SUDS 0.3.5 with python 2.6 on Windows, and sometimes got
following errors when creating Client:
File "ylbcrawler.py", line 69, in process_page
crawler = wscrawler.WSCrawler(WS_URL, AGENT, logger)
File "D:\work\code\IndexGen\scratch1\chaowan\Lab\marmot\wscrawler.py",
line 14, in __init__
self.ws_client = Client(self.ws_url)
File "build\bdist.win32\egg\suds\client.py", line 106, in __init__
File "build\bdist.win32\egg\suds\wsdl.py", line 171, in __init__
File "build\bdist.win32\egg\suds\sax\parser.py", line 123, in parse
File "C:\Python26\lib\xml\sax\__init__.py", line 33, in parse
parser.parse(source)
File "C:\Python26\lib\xml\sax\expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python26\lib\xml\sax\xmlreader.py", line 125, in parse
self.close()
File "C:\Python26\lib\xml\sax\expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "C:\Python26\lib\xml\sax\expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "C:\Python26\lib\xml\sax\handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: /tmp/suds\suds-831200760.http:1:0: no
element found
Then WSCrawler is used in another application, where its new instances will
be created many times.
This exception often arises after some successful creations.
It seems error when parsing by the tmp file's content.
The Client is created as this:
class WSCrawler(object):
def __init__(self, ws_url, agent, logger):
self.ws_url = ws_url
self.agent = agent
self.retry = 0
self.MAX_RETRY = 5
self.ws_client = Client(self.ws_url)
self.logger = logger
self.ws_url is a web service address published by C# app, which is like "
http://xxx.xxx.xx.xxx/Service1.asmx?wsdl".
Thanks,
Chao
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From webmaster at rtb.org.uk Thu Jun 18 13:02:50 2009
From: webmaster at rtb.org.uk (Tim Sawyer)
Date: Thu, 18 Jun 2009 14:02:50 +0100 (BST)
Subject: [Fedora-suds-list] Processing Complex Returns
Message-ID: <27260.195.59.98.162.1245330170.squirrel@www.hotmandarins.co.uk>
Thanks Jeff.
Oddly, this works on one of my tests:
lResponseParameter = lWebService.execute()
self.assertEqual(lResponseParameter.Person.ID, '196868')
self.assertEqual(lResponseParameter.Person.Firstname, 'Harry')
self.assertEqual(lResponseParameter.Person.Surname, 'Smith')
but not another
lResponseParameter = lWebService.execute()
self.assertEqual(lResponseParameter.ApplicationTrace.Application, False)
self.assertEqual(lResponseParameter.ApplicationTrace.CCode, False)
Not really sure why, I've kind of ignored this for now. I'll see how it
goes as I develop more tests, see if I can pin down exactly when it
happens.
I'm using execute() to call suds's server.TxnName method, passing in the
correct parameters. I'm actually trying to write a wrapper so that I can
run these tests both with suds and with iron python as a .net client.
It's working for basic services, and I'm slowly trying to test some more
complex ones.
I'm now struggling with array type calls. With my iron python tests, I do
the following in my test to create a list of AgreementStatus objects to
pass to the web service:
lWebService = self.loadWsdl('pdi-web-services.CheckDecision')
lWebService.UserName = 'user'
lWebService.Password = 'password'
lWebService.SecurityToken = None
lAgreementStatus = lWebService.create('AgreementStatus')
lAgreementStatus.AgreementNumber = 'CPP245231'
lWebService.AgreementStatusList = (lAgreementStatus,)
lResponseParameter = lWebService.execute()
With suds this produces XML that looks like this:
CPP245231userpassword
Which appears to be missing the container XML for each item in the
AgreementStatusList. I'd expect to see:
CPP245231
as a structure, which is what OxygenXML editor produces when I have it
look at the WSDL and generate XML for the web service call.
How can I get this? (hopefully without changing my test code so that it
breaks the iron python tests!)
Thanks,
Tim.
---------- Forwarded Message ----------
Subject: Re: [Fedora-suds-list] Processing Complex Returns
Date: Tuesday 16 Jun 2009
From: Jeff Ortel
To: Tim Sawyer
Hey Tim,
Suds provides an objectification of the XML defined for the service
(method) parameters and returned objects. So, in this case it looks like
the method returns an ApplicationTrace object (based on the information
you provided). Assuming you've assigned this to a variable such as:
>
> trace = client.service.getApplicationTrace(...)
>
Then, trace looks like this:
>
> print trace
>
(ApplicationTrace){ <-------- The () indicates that class.
Application = False
CCode = False
CCodeLevel = "0"
Concurrency = False
Gateway = False
GatewayPerformance = False
Performance = False
PLSQLCode = False
Security = False
TraceOverrideList = ""
}
So, the following should work:
>
> self.assertEqual(trace.Application, True) >
-or-
>
> If trace.Application:
> print "The application is true"
>
.. And so on.
Hopes this helps,
Jeff
Tim Sawyer wrote:
> Hi Folks,
>
> I have a web service that returns the following:
>
> xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
>
> xmlns:tns="http://ws.company.com/wsdl"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Trace> false
> false
> 0
> false
> false
> false
> false
> false
> false
>
>
>
>
>
> I'm trying to write a test, using suds, of this web service. I'm
> calling the web service, and then doing this to the results, which isn't
working:
>
> self.assertEqual(lResponseParameter.ApplicationTrace.Application,
> False) self.assertEqual(lResponseParameter.ApplicationTrace.CCode,
> False)
> self.assertEqual(lResponseParameter.ApplicationTrace.CCodeLevel, '0')
> self.assertEqual(lResponseParameter.ApplicationTrace.Concurrency,
> False) self.assertEqual(lResponseParameter.ApplicationTrace.Gateway,
> False)
> self.assertEqual(lResponseParameter.ApplicationTrace.GatewayPerformanc
> e,
> False)
> self.assertEqual(lResponseParameter.ApplicationTrace.PLSQLCode, False)
> self.assertEqual(lResponseParameter.ApplicationTrace.Security, False)
>
> The error I get is:
>
> AttributeError: 'function' object has no attribute 'Application'
>
> I think it appears to think that ApplicationTrace is an __init__ function?
>
> logging.info(lResponseParameter.ApplicationTrace)
>
> gives:
>
> INFO:root: Application = False
> CCode = False
> CCodeLevel = "0"
> Concurrency = False
> Gateway = False
> GatewayPerformance = False
> Performance = False
> PLSQLCode = False
> Security = False
> TraceOverrideList = ""
> }>
>
> so the data does appear to be there.
>
> Any clues as to what I'm not understanding anyone?
>
> Cheers,
>
> Tim.
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
-------------------------------------------------------
From bo.laurent at canonical.com Thu Jun 18 16:24:55 2009
From: bo.laurent at canonical.com (Bo Laurent)
Date: Thu, 18 Jun 2009 09:24:55 -0700
Subject: [Fedora-suds-list] broken links on docs page
Message-ID: <46FE5520-09B7-4274-93B5-3ADB14DCE231@canonical.com>
Many of the links on this page are broken:
https://fedorahosted.org/suds/wiki/Documentation
For instance in the following line, "options" links to http://jortel.fedorapeople.org/suds/doc/suds.options.Options-class.html
, which is a 404.
> The suds client has many options that may be used to control the
> behavior of the library. They are as follows:
>
As a new user of suds, I would like to read all the docs that are
available.
Can these broken links be fixed?
Bo
From jortel at redhat.com Thu Jun 18 17:07:01 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Thu, 18 Jun 2009 12:07:01 -0500
Subject: [Fedora-suds-list] broken links on docs page
In-Reply-To: <46FE5520-09B7-4274-93B5-3ADB14DCE231@canonical.com>
References: <46FE5520-09B7-4274-93B5-3ADB14DCE231@canonical.com>
Message-ID: <4A3A7435.3000205@redhat.com>
Looks like I broke the makefile a rev (or two) ago and all of the epydocs were missing on
the project site :-/ Thanks for pointing this out.
I fixed the makefile and re-pushed the docs. Try it now.
Bo Laurent wrote:
> Many of the links on this page are broken:
> https://fedorahosted.org/suds/wiki/Documentation
>
> For instance in the following line, "options" links to
> http://jortel.fedorapeople.org/suds/doc/suds.options.Options-class.html,
> which is a 404.
>> The suds client has many options that may be used to control the
>> behavior of the library. They are as follows:
>>
>
>
> As a new user of suds, I would like to read all the docs that are
> available.
>
> Can these broken links be fixed?
>
> Bo
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From bruce.edge at gmail.com Sat Jun 20 00:02:18 2009
From: bruce.edge at gmail.com (Bruce Edge)
Date: Fri, 19 Jun 2009 17:02:18 -0700
Subject: [Fedora-suds-list] https authentication failing
Message-ID: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
I'm having a problem with https basic authentication
Is there something I'm doing wrong here?
security = Security()
token = UsernameToken('username', 'password')
security.tokens.append(token)
url = 'https://targetboc:8443/service-war/dpmcore?wsdl'
c = Client(url, wsse=security)
print c.service
# OK so far
c.service.getOemKey(wsse=security)
# fails with
Traceback (most recent call last):
File "", line 1, in
File "wsenv.py", line 22, in
c.service.getOemKey(wsse=security)
File "suds/client.py", line 240, in __call__
return target.call(*args, **kwargs)
File "suds/client.py", line 379, in call
return method(*args, **kwargs)
File "suds/client.py", line 240, in __call__
return target.call(*args, **kwargs)
File "suds/client.py", line 422, in call
return client.invoke(args, kwargs)
File "suds/client.py", line 480, in invoke
result = self.send(msg)
File "suds/client.py", line 504, in send
reply = transport.send(request)
File "suds/transport/https.py", line 64, in send
return HttpTransport.send(self, request)
File "suds/transport/http.py", line 78, in send
fp = self.__open(u2request)
File "suds/transport/http.py", line 99, in __open
return self.urlopener.open(u2request)
File "/usr/lib/python2.6/urllib2.py", line 383, in open
response = self._open(req, data)
File "/usr/lib/python2.6/urllib2.py", line 401, in _open
'_open', req)
File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 1138, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open
raise URLError(err)
URLError:
>>>
I tried the beta with the same result.
I know the service is OK because I can do this:
curl -ku username:password
https://localhost:8443/service-war/dpmcore/getOemKey
LSI
Thanks, Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From unmobiliseds at llova.com Sat Jun 20 03:44:49 2009
From: unmobiliseds at llova.com (Moat Dobies)
Date: Sat, 20 Jun 2009 03:44:49 -0000
Subject: [Fedora-suds-list] The oLve Hotels of Jaapn
Message-ID:
The Lhove Hotels off Japan (www meds70 net)
Statue offf Dennis the Menace Stolen
From david at nortoncrew.com Sat Jun 20 15:46:16 2009
From: david at nortoncrew.com (David Norton)
Date: Sat, 20 Jun 2009 11:46:16 -0400
Subject: [Fedora-suds-list] https authentication failing
In-Reply-To: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
References: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
Message-ID:
Hello Bruce,
Does the WSDL specify a different URL for the service? I have had to
use the following code because the WSDLs I'm using specify "localhost:
8080":
client = Client(url+"?wsdl")
client.wsdl.service.setlocation(url)
Best,
David Norton
On Jun 19, 2009, at 8:02 PM, Bruce Edge wrote:
> I'm having a problem with https basic authentication
>
> Is there something I'm doing wrong here?
>
> security = Security()
> token = UsernameToken('username', 'password')
> security.tokens.append(token)
> url = 'https://targetboc:8443/service-war/dpmcore?wsdl'
> c = Client(url, wsse=security)
> print c.service
>
> # OK so far
>
> c.service.getOemKey(wsse=security)
>
> # fails with
>
> Traceback (most recent call last):
> File "", line 1, in
> File "wsenv.py", line 22, in
> c.service.getOemKey(wsse=security)
> File "suds/client.py", line 240, in __call__
> return target.call(*args, **kwargs)
> File "suds/client.py", line 379, in call
> return method(*args, **kwargs)
> File "suds/client.py", line 240, in __call__
> return target.call(*args, **kwargs)
> File "suds/client.py", line 422, in call
> return client.invoke(args, kwargs)
> File "suds/client.py", line 480, in invoke
> result = self.send(msg)
> File "suds/client.py", line 504, in send
> reply = transport.send(request)
> File "suds/transport/https.py", line 64, in send
> return HttpTransport.send(self, request)
> File "suds/transport/http.py", line 78, in send
> fp = self.__open(u2request)
> File "suds/transport/http.py", line 99, in __open
> return self.urlopener.open(u2request)
> File "/usr/lib/python2.6/urllib2.py", line 383, in open
> response = self._open(req, data)
> File "/usr/lib/python2.6/urllib2.py", line 401, in _open
> '_open', req)
> File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.6/urllib2.py", line 1138, in https_open
> return self.do_open(httplib.HTTPSConnection, req)
> File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open
> raise URLError(err)
> URLError:
> >>>
>
> I tried the beta with the same result.
>
> I know the service is OK because I can do this:
>
> curl -ku username:password https://localhost:8443/service-war/dpmcore/getOemKey
> LSI
> getOemKeyResponse>
>
>
> Thanks, Bruce
> _______________________________________________
> 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 systemizer at haohann.com.tw Sat Jun 20 20:41:37 2009
From: systemizer at haohann.com.tw (Braddy)
Date: Sat, 20 Jun 2009 19:41:37 -0100
Subject: [Fedora-suds-list] Lack off Female Lirbido
Message-ID: <19C0D4470163DEB1@haohann.com.tw>
aLck of Female Liibido (www meds30 org)
Statlion Owner Kills Rival in Ghas price Fight
From Bruce.Edge at lsi.com Sat Jun 20 20:21:04 2009
From: Bruce.Edge at lsi.com (Edge, Bruce)
Date: Sat, 20 Jun 2009 14:21:04 -0600
Subject: [Fedora-suds-list] https authentication failing
In-Reply-To:
References: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
Message-ID:
If that was the problem wouldn't the client instantiation fail?
I'm able to inatantiate a client and do a:
print client.service
But then any methods called on the service fail.
-Bruce
Sent from my iPhone
On Jun 20, 2009, at 8:46 AM, David Norton > wrote:
Hello Bruce,
Does the WSDL specify a different URL for the service? I have had to use the following code because the WSDLs I'm using specify "localhost:8080":
client = Client(url+"?wsdl")
client.wsdl.service.setlocation(url)
Best,
David Norton
On Jun 19, 2009, at 8:02 PM, Bruce Edge wrote:
I'm having a problem with https basic authentication
Is there something I'm doing wrong here?
security = Security()
token = UsernameToken('username', 'password')
security.tokens.append(token)
url = 'https://targetboc:8443/service-war/dpmcore?wsdl'
c = Client(url, wsse=security)
print c.service
# OK so far
c.service.getOemKey(wsse=security)
# fails with
Traceback (most recent call last):
File "", line 1, in
File "wsenv.py", line 22, in
c.service.getOemKey(wsse=security)
File "suds/client.py", line 240, in __call__
return target.call(*args, **kwargs)
File "suds/client.py", line 379, in call
return method(*args, **kwargs)
File "suds/client.py", line 240, in __call__
return target.call(*args, **kwargs)
File "suds/client.py", line 422, in call
return client.invoke(args, kwargs)
File "suds/client.py", line 480, in invoke
result = self.send(msg)
File "suds/client.py", line 504, in send
reply = transport.send(request)
File "suds/transport/https.py", line 64, in send
return HttpTransport.send(self, request)
File "suds/transport/http.py", line 78, in send
fp = self.__open(u2request)
File "suds/transport/http.py", line 99, in __open
return self.urlopener.open(u2request)
File "/usr/lib/python2.6/urllib2.py", line 383, in open
response = self._open(req, data)
File "/usr/lib/python2.6/urllib2.py", line 401, in _open
'_open', req)
File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 1138, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open
raise URLError(err)
URLError:
>>>
I tried the beta with the same result.
I know the service is OK because I can do this:
curl -ku username:password https://localhost:8443/service-war/dpmcore/getOemKey
LSI
Thanks, Bruce
_______________________________________________
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 countably at dalbosco.cl Sun Jun 21 08:19:13 2009
From: countably at dalbosco.cl (countably)
Date: Sun, 21 Jun 2009 08:19:13 +0000
Subject: [Fedora-suds-list] eDaling With Low eFmale Libido
Message-ID: <66990607654852308824@dalbosco.cl>
Dealing Wtih Low Female Libbido (www meds25 com)
Jupiter growing another reed sppot
From bruce.edge at gmail.com Sun Jun 21 14:08:28 2009
From: bruce.edge at gmail.com (Bruce Edge)
Date: Sun, 21 Jun 2009 07:08:28 -0700
Subject: FW: [Fedora-suds-list] https authentication failing
In-Reply-To:
References: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
Message-ID: <45c43ef50906210708y11b23b8fj17ee5008a3e14654@mail.gmail.com>
Here's the output with debugging turned up. The end result is still:
Status report
message
description*This
request requires HTTP authentication ().*
Also, if I use client = Client(url+"?wsdl") as you suggested, then the
"?wsdl" string is repeated twice, so I dropped that.
I get the same result using
client = Client(url, wsse=security)
and
client = Client(url, username="name", password="password")
The print client.service still works, but the method call (getOemKey)
doesn't.
Note the funky formatting is from ipython.
In [40]: client.service.getOemKey()
DEBUG:suds.client:sending to (
https://kaan-01.wlv.lsi.com:8443/service-war/dpmcore?wsdl) <- correct url
message:
dpmpassword43901aefc25cc1bd455e7d3cc3c58d7b2009-06-21T06:53:14.146074
DEBUG:suds.client:headers = {'SOAPAction': u'"
http://lsi.com/dpm/core/getOemKey"', 'Content-Type': 'text/xml'}
ERROR:suds.client:
dpmpassword43901aefc25cc1bd455e7d3cc3c58d7b2009-06-21T06:53:14.146074
DEBUG:suds.client:http failed:
Apache Tomcat/6.0.18 - Error report
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/import/gin/bedge/dev_kaan/Apps/ws/test/ in ()
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in __call__(self,
*args, **kwargs)
238 def __call__(self, *args, **kwargs):
239 target = self.__wrapped__
--> 240 return target.call(*args, **kwargs)
241
242 def __str__(self):
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in call(self, *args,
**kwargs)
377 """
378 method = self.resolve(self.name(), strict=False)
--> 379 return method(*args, **kwargs)
380
381
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in __call__(self,
*args, **kwargs)
238 def __call__(self, *args, **kwargs):
239 target = self.__wrapped__
--> 240 return target.call(*args, **kwargs)
241
242 def __str__(self):
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in call(self, *args,
**kwargs)
420 return (500, e)
421 else:
--> 422 return client.invoke(args, kwargs)
423
424 def faults(self):
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in invoke(self,
args, kwargs)
478 self.method.qname, timer)
479 timer.start()
--> 480 result = self.send(msg)
481 timer.stop()
482 metrics.log.debug(
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in send(self, msg)
509 else:
510 log.error(self.last_sent())
--> 511 result = self.failed(binding, e)
512 return result
513
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in failed(self,
binding, error)
566 return (status, None)
567 if self.options.faults:
--> 568 raise Exception((status, reason))
569 else:
570 return (status, None)
Exception: (401, u'Unauthorized')
Again, here's the full code:
import suds
from suds.wsse import *
from suds.client import Client
import logging
logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.client').setLevel(logging.DEBUG)
security = Security()
token = UsernameToken('username', 'password')
security.tokens.append(token)
url = 'https://kaan-01.wlv.lsi.com:8443/service-war/dpmcore?wsdl'
client = Client(url, wsse=security)
print client.service
client.wsdl.service.setlocation(url)
client.service.getOemKey(wsse=security)
-Bruce
On Sat, Jun 20, 2009 at 11:29 PM, Edge, Bruce wrote:
>
> ________________________________________
> From: David Norton [david at nortoncrew.com]
> Sent: Saturday, June 20, 2009 3:15 PM
> To: Edge, Bruce
> Subject: Re: [Fedora-suds-list] https authentication failing
>
> Try turning up debugging:
>
>
> import logging
> logging.basicConfig(level=logging.INFO)
>
>
>
> logging.getLogger('suds.client').setLevel(logging.DEBUG)
>
>
> That should tell you what URL it is trying to connect to when it makes the
> getOemKey() call.
>
> David
>
> On Jun 20, 2009, at 4:21 PM, Edge, Bruce wrote:
>
> If that was the problem wouldn't the client instantiation fail?
> I'm able to inatantiate a client and do a:
> print client.service
> But then any methods called on the service fail.
>
> -Bruce
>
> Sent from my iPhone
>
> On Jun 20, 2009, at 8:46 AM, David Norton david at nortoncrew.com>> wrote:
>
> Hello Bruce,
>
> Does the WSDL specify a different URL for the service? I have had to use
> the following code because the WSDLs I'm using specify "localhost:8080":
>
> client = Client(url+"?wsdl")
> client.wsdl.service.setlocation(url)
>
> Best,
> David Norton
>
> On Jun 19, 2009, at 8:02 PM, Bruce Edge wrote:
>
> I'm having a problem with https basic authentication
>
> Is there something I'm doing wrong here?
>
> security = Security()
> token = UsernameToken('username', 'password')
> security.tokens.append(token)
> url = '
> https://targetboc:8443/service-war/dpmcore?wsdl'
> c = Client(url, wsse=security)
> print c.service
>
> # OK so far
>
> c.service.getOemKey(wsse=security)
>
> # fails with
>
> Traceback (most recent call last):
> File "", line 1, in
> File "wsenv.py", line 22, in
> c.service.getOemKey(wsse=security)
> File "suds/client.py", line 240, in __call__
> return target.call(*args, **kwargs)
> File "suds/client.py", line 379, in call
> return method(*args, **kwargs)
> File "suds/client.py", line 240, in __call__
> return target.call(*args, **kwargs)
> File "suds/client.py", line 422, in call
> return client.invoke(args, kwargs)
> File "suds/client.py", line 480, in invoke
> result = self.send(msg)
> File "suds/client.py", line 504, in send
> reply = transport.send(request)
> File "suds/transport/https.py", line 64, in send
> return HttpTransport.send(self, request)
> File "suds/transport/http.py", line 78, in send
> fp = self.__open(u2request)
> File "suds/transport/http.py", line 99, in __open
> return self.urlopener.open(u2request)
> File "/usr/lib/python2.6/urllib2.py", line 383, in open
> response = self._open(req, data)
> File "/usr/lib/python2.6/urllib2.py", line 401, in _open
> '_open', req)
> File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.6/urllib2.py", line 1138, in https_open
> return self.do_open(httplib.HTTPSConnection, req)
> File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open
> raise URLError(err)
> URLError:
> >>>
>
> I tried the beta with the same result.
>
> I know the service is OK because I can do this:
>
> curl -ku username:password <
> https://localhost:8443/service-war/dpmcore/getOemKey>
> https://localhost:8443/service-war/dpmcore/getOemKey
> xmlns="http://lsi.com/dpm/core/types"
> xmlns:ns2="http://lsi.com/dpm/types
> ">LSI
>
>
> Thanks, Bruce
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com fedora-suds-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bruce.edge at gmail.com Sun Jun 21 18:38:34 2009
From: bruce.edge at gmail.com (Bruce Edge)
Date: Sun, 21 Jun 2009 11:38:34 -0700
Subject: [Fedora-suds-list] https authentication failing
In-Reply-To:
References: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
Message-ID: <45c43ef50906211138n6a937253tf988310b40946032@mail.gmail.com>
I have a clue as to why the client instantiation works but the method calls
fail.
If I instantiate the client using the external IP it works:
client = Client('
https://kaan-01.wlv.lsi.com:8443/service-war/dpmcore?wsdl', wsse=security)
However if I use the localhost addr, it fails: (see after trace for possible
explanation)
client = Client('https://127.0.0.1:8443/service-war/dpmcore?wsdl',
wsse=security)
---------------------------------------------------------------------------
URLError Traceback (most recent call last)
/import/gin/bedge/dev_kaan/Apps/ws/test/ in ()
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/client.pyc in __init__(self,
url, **kwargs)
104 options.set(**kwargs)
105 self.options = options
--> 106 self.wsdl = Definitions(url, options)
107 self.service = Wrapper(Service(self))
108 self.factory = Factory(self.wsdl)
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/wsdl.pyc in __init__(self, url,
options)
169 log.debug('reading wsdl at: %s ...', url)
170 p = Parser(options.transport)
--> 171 root = p.parse(url=url).root()
172 WObject.__init__(self, root)
173 self.id = objid(self)
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/sax/parser.pyc in parse(self,
file, url, string)
131 return handler.nodes[0]
132 if url is not None:
--> 133 fp = self.transport.open(Request(url))
134 sax.parse(fp)
135 timer.stop()
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/transport/https.pyc in
open(self, request)
58 def open(self, request):
59 self.__addcredentials(request)
---> 60 return HttpTransport.open(self, request)
61
62 def send(self, request):
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/transport/http.pyc in
open(self, request)
60 u2request = u2.Request(url)
61 self.__setproxy(url, u2request)
---> 62 fp = self.__open(u2request)
63 return cache.put(url, fp)
64 except u2.HTTPError, e:
/import/gin/bedge/dev_kaan/Apps/ws/test/suds/transport/http.pyc in
__open(self, u2request)
97 return u2.urlopen(u2request)
98 else:
---> 99 return self.urlopener.open(u2request)
100
101 def __setproxy(self, url, u2request):
/usr/lib/python2.6/urllib2.pyc in open(self, fullurl, data, timeout)
381 req = meth(req)
382
--> 383 response = self._open(req, data)
384
385 # post-process response
/usr/lib/python2.6/urllib2.pyc in _open(self, req, data)
399 protocol = req.get_type()
400 result = self._call_chain(self.handle_open, protocol,
protocol +
--> 401 '_open', req)
402 if result:
403 return result
/usr/lib/python2.6/urllib2.pyc in _call_chain(self, chain, kind, meth_name,
*args)
359 func = getattr(handler, meth_name)
360
--> 361 result = func(*args)
362 if result is not None:
363 return result
/usr/lib/python2.6/urllib2.pyc in https_open(self, req)
1136
1137 def https_open(self, req):
-> 1138 return self.do_open(httplib.HTTPSConnection, req)
1139
1140 https_request = AbstractHTTPHandler.do_request_
/usr/lib/python2.6/urllib2.pyc in do_open(self, http_class, req)
1103 r = h.getresponse()
1104 except socket.error, err: # XXX what error?
-> 1105 raise URLError(err)
1106
1107 # Pick apart the HTTPResponse object to get the addinfourl
After obtaining a client reference using the external IP, with logging
enabled it shows that it's using the localhost address, which fails when
used for client instantiation:
In [18]: client.service.getOemKey(wsse=security)
DEBUG:suds.client:sending to (*https://localhost:8443/service-war/dpmcore*)
<<-- should be using external IP here.
message:
dpmpassword
DEBUG:suds.client:headers = {'SOAPAction': u'"
http://lsi.com/dpm/core/getOemKey"', 'Content-Type': 'text/xml'}
So, I'm guessing that this would work if the client did not swap the
external IP used in the client instantiation with the localhost addr used in
the method call.
Although, why does the localhost addr not work?
The localhost addr works fine when used with other clients, like curl, so
it's not the service:
$> curl -ku dpm:password
https://localhost:8443/service-war/dpmcore/getOemKey
*DUMMY KEY DATA*#
-Bruce
On Sat, Jun 20, 2009 at 8:46 AM, David Norton wrote:
> Hello Bruce,
> Does the WSDL specify a different URL for the service? I have had to use
> the following code because the WSDLs I'm using specify "localhost:8080":
>
> client = Client(url+"?wsdl")
> client.wsdl.service.setlocation(url)
>
> Best,
> David Norton
>
> On Jun 19, 2009, at 8:02 PM, Bruce Edge wrote:
>
> I'm having a problem with https basic authentication
>
> Is there something I'm doing wrong here?
>
> security = Security()
> token = UsernameToken('username', 'password')
> security.tokens.append(token)
> url = 'https://targetboc:8443/service-war/dpmcore?wsdl'
> c = Client(url, wsse=security)
> print c.service
>
> # OK so far
>
> c.service.getOemKey(wsse=security)
>
> # fails with
>
> Traceback (most recent call last):
> File "", line 1, in
> File "wsenv.py", line 22, in
> c.service.getOemKey(wsse=security)
> File "suds/client.py", line 240, in __call__
> return target.call(*args, **kwargs)
> File "suds/client.py", line 379, in call
> return method(*args, **kwargs)
> File "suds/client.py", line 240, in __call__
> return target.call(*args, **kwargs)
> File "suds/client.py", line 422, in call
> return client.invoke(args, kwargs)
> File "suds/client.py", line 480, in invoke
> result = self.send(msg)
> File "suds/client.py", line 504, in send
> reply = transport.send(request)
> File "suds/transport/https.py", line 64, in send
> return HttpTransport.send(self, request)
> File "suds/transport/http.py", line 78, in send
> fp = self.__open(u2request)
> File "suds/transport/http.py", line 99, in __open
> return self.urlopener.open(u2request)
> File "/usr/lib/python2.6/urllib2.py", line 383, in open
> response = self._open(req, data)
> File "/usr/lib/python2.6/urllib2.py", line 401, in _open
> '_open', req)
> File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.6/urllib2.py", line 1138, in https_open
> return self.do_open(httplib.HTTPSConnection, req)
> File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open
> raise URLError(err)
> URLError:
> >>>
>
> I tried the beta with the same result.
>
> I know the service is OK because I can do this:
>
> curl -ku username:password
> https://localhost:8443/service-war/dpmcore/getOemKey
> xmlns="http://lsi.com/dpm/core/types" xmlns:ns2="http://lsi.com/dpm/types">LSI
>
>
>
> Thanks, Bruce
> _______________________________________________
> 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 kernel at icpuzzle.com Mon Jun 22 04:50:44 2009
From: kernel at icpuzzle.com (Pettinelli)
Date: Mon, 22 Jun 2009 04:50:44 +0000
Subject: [Fedora-suds-list] Why Doo oWmen Fake Orgasms - Extremely Essential
Reasons Every Man Must Be Aware Of
Message-ID: <4A3F0BEA-2726774@icpuzzle.com>
Why Do Women Fake Orgasms - Extremely Essential Reasons Every Maan uMst Be Aware Of (www shop47 net)
Jesus Chryysleer
From jortel at redhat.com Mon Jun 22 13:45:28 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Mon, 22 Jun 2009 08:45:28 -0500
Subject: [Fedora-suds-list] https authentication failing
In-Reply-To:
References: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
Message-ID: <4A3F8AF8.8040900@redhat.com>
Hey Bruce,
Can you paste the node from the wsdl?
-jeff
Edge, Bruce wrote:
> If that was the problem wouldn't the client instantiation fail?
> I'm able to inatantiate a client and do a:
> print client.service
> But then any methods called on the service fail.
>
> -Bruce
>
> Sent from my iPhone
>
> On Jun 20, 2009, at 8:46 AM, David Norton > wrote:
>
>> Hello Bruce,
>>
>> Does the WSDL specify a different URL for the service? I have had to
>> use the following code because the WSDLs I'm using specify
>> "localhost:8080":
>>
>> client = Client(url+"?wsdl")
>> client.wsdl.service.setlocation(url)
>>
>> Best,
>> David Norton
>>
>> On Jun 19, 2009, at 8:02 PM, Bruce Edge wrote:
>>
>>> I'm having a problem with https basic authentication
>>>
>>> Is there something I'm doing wrong here?
>>>
>>> security = Security()
>>> token = UsernameToken('username', 'password')
>>> security.tokens.append(token)
>>> url = '
>>> https://targetboc:8443/service-war/dpmcore?wsdl'
>>> c = Client(url, wsse=security)
>>> print c.service
>>>
>>> # OK so far
>>>
>>> c.service.getOemKey(wsse=security)
>>>
>>> # fails with
>>>
>>> Traceback (most recent call last):
>>> File "", line 1, in
>>> File "wsenv.py", line 22, in
>>> c.service.getOemKey(wsse=security)
>>> File "suds/client.py", line 240, in __call__
>>> return target.call(*args, **kwargs)
>>> File "suds/client.py", line 379, in call
>>> return method(*args, **kwargs)
>>> File "suds/client.py", line 240, in __call__
>>> return target.call(*args, **kwargs)
>>> File "suds/client.py", line 422, in call
>>> return client.invoke(args, kwargs)
>>> File "suds/client.py", line 480, in invoke
>>> result = self.send(msg)
>>> File "suds/client.py", line 504, in send
>>> reply = transport.send(request)
>>> File "suds/transport/https.py", line 64, in send
>>> return HttpTransport.send(self, request)
>>> File "suds/transport/http.py", line 78, in send
>>> fp = self.__open(u2request)
>>> File "suds/transport/http.py", line 99, in __open
>>> return self.urlopener.open(u2request)
>>> File "/usr/lib/python2.6/urllib2.py", line 383, in open
>>> response = self._open(req, data)
>>> File "/usr/lib/python2.6/urllib2.py", line 401, in _open
>>> '_open', req)
>>> File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
>>> result = func(*args)
>>> File "/usr/lib/python2.6/urllib2.py", line 1138, in https_open
>>> return self.do_open(httplib.HTTPSConnection, req)
>>> File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open
>>> raise URLError(err)
>>> URLError:
>>> >>>
>>>
>>> I tried the beta with the same result.
>>>
>>> I know the service is OK because I can do this:
>>>
>>> curl -ku username:password
>>> https://localhost:8443/service-war/dpmcore/getOemKey
>>> >> xmlns=" http://lsi.com/dpm/core/types"
>>> xmlns:ns2="
>>> http://lsi.com/dpm/types">LSI
>>>
>>>
>>>
>>> Thanks, Bruce
>>> _______________________________________________
>>> 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
From bruce.edge at lsi.com Mon Jun 22 15:33:01 2009
From: bruce.edge at lsi.com (Bruce Edge)
Date: Mon, 22 Jun 2009 08:33:01 -0700
Subject: [Fedora-suds-list] https authentication failing
In-Reply-To: <4A3F8AF8.8040900@redhat.com>
References: <45c43ef50906191702g5d5784bbl6618f46b589e36eb@mail.gmail.com>
<4A3F8AF8.8040900@redhat.com>
Message-ID: <45c43ef50906220833v7a8a56f4saec4d4be51227df6@mail.gmail.com>
On Mon, Jun 22, 2009 at 6:45 AM, Jeff Ortel wrote:
> Hey Bruce,
>
> Can you paste the node from the wsdl?
>
> -jeff
>
Here's the service def node:
I did get it working.
This works:
url = 'https://localhost:8443/service-war/dpmcore?wsdl'
client = Client(url, username="username", password="password")
client.service.getOemKey()
This does not:
security = Security()
token = UsernameToken('username', 'password')
security.tokens.append(token)
url = 'https://kaan-01.wlv.lsi.com:8443/service-war/dpmcore?wsdl'
client = Client(url, wsse=security)
client.service.getOemKey()
I was making it harder than it needed to be. What is the difference is
between these above two client authentication mechanisms?
Will either one of these support digest passwords some time in the future?
One last somewhat off-topic question, (for today anyway) Is there a way to
easily obfuscate the userid/passwd in code?
Can we use suds with ssl certs and something like an authorized keys file?
Thanks
-Bruce
>
> Edge, Bruce wrote:
>
>> If that was the problem wouldn't the client instantiation fail?
>> I'm able to inatantiate a client and do a:
>> print client.service
>> But then any methods called on the service fail.
>>
>> -Bruce
>>
>> Sent from my iPhone
>>
>> On Jun 20, 2009, at 8:46 AM, David Norton > david at nortoncrew.com>> wrote:
>>
>> Hello Bruce,
>>>
>>> Does the WSDL specify a different URL for the service? I have had to use
>>> the following code because the WSDLs I'm using specify "localhost:8080":
>>>
>>> client = Client(url+"?wsdl")
>>> client.wsdl.service.setlocation(url)
>>>
>>> Best,
>>> David Norton
>>>
>>> On Jun 19, 2009, at 8:02 PM, Bruce Edge wrote:
>>>
>>> I'm having a problem with https basic authentication
>>>>
>>>> Is there something I'm doing wrong here?
>>>>
>>>> security = Security()
>>>> token = UsernameToken('username', 'password')
>>>> security.tokens.append(token)
>>>> url = '
>>>> https://targetboc:8443/service-war/dpmcore?wsdl'
>>>>
>>>> c = Client(url, wsse=security)
>>>> print c.service
>>>>
>>>> # OK so far
>>>>
>>>> c.service.getOemKey(wsse=security)
>>>>
>>>> # fails with
>>>>
>>>> Traceback (most recent call last):
>>>> File "", line 1, in
>>>> File "wsenv.py", line 22, in
>>>> c.service.getOemKey(wsse=security)
>>>> File "suds/client.py", line 240, in __call__
>>>> return target.call(*args, **kwargs)
>>>> File "suds/client.py", line 379, in call
>>>> return method(*args, **kwargs)
>>>> File "suds/client.py", line 240, in __call__
>>>> return target.call(*args, **kwargs)
>>>> File "suds/client.py", line 422, in call
>>>> return client.invoke(args, kwargs)
>>>> File "suds/client.py", line 480, in invoke
>>>> result = self.send(msg)
>>>> File "suds/client.py", line 504, in send
>>>> reply = transport.send(request)
>>>> File "suds/transport/https.py", line 64, in send
>>>> return HttpTransport.send(self, request)
>>>> File "suds/transport/http.py", line 78, in send
>>>> fp = self.__open(u2request)
>>>> File "suds/transport/http.py", line 99, in __open
>>>> return self.urlopener.open(u2request)
>>>> File "/usr/lib/python2.6/urllib2.py", line 383, in open
>>>> response = self._open(req, data)
>>>> File "/usr/lib/python2.6/urllib2.py", line 401, in _open
>>>> '_open', req)
>>>> File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
>>>> result = func(*args)
>>>> File "/usr/lib/python2.6/urllib2.py", line 1138, in https_open
>>>> return self.do_open(httplib.HTTPSConnection, req)
>>>> File "/usr/lib/python2.6/urllib2.py", line 1105, in do_open
>>>> raise URLError(err)
>>>> URLError:
>>>> >>>
>>>>
>>>> I tried the beta with the same result.
>>>>
>>>> I know the service is OK because I can do this:
>>>>
>>>> curl -ku username:password <
>>>> https://localhost:8443/service-war/dpmcore/getOemKey>
>>>> https://localhost:8443/service-war/dpmcore/getOemKey
>>>> >>> xmlns=" http://lsi.com/dpm/core/types"
>>>> xmlns:ns2=" http://lsi.com/dpm/types">LSI
>>>>
>>>>
>>>>
>>>> Thanks, Bruce
>>>> _______________________________________________
>>>> fedora-suds-list mailing list
>>>> fedora-suds-list at redhat.com>>> 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
>>
>
> _______________________________________________
> 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 reservist at vejtasa.cz Mon Jun 22 16:18:05 2009
From: reservist at vejtasa.cz (reservist)
Date: Mon, 22 Jun 2009 15:18:05 -0100
Subject: [Fedora-suds-list] Spicing Up Your sex Lfie Wtih Sports
Message-ID: <3HsDMh52Uxufo2@vejtasa.cz>
Spiccing Upp Your sex Life With Sports www . shop28 . net
From joyce_dabor at yahoo.com Mon Jun 22 18:58:18 2009
From: joyce_dabor at yahoo.com (Joy Dabor)
Date: 22 Jun 2009 11:58:18 -0700
Subject: [Fedora-suds-list] hello,sweet one
Message-ID: <200906221858.n5MIwI7r010808@mx3.redhat.com>
You are invited to "hello,sweet one".
By your host Joy Dabor:
Date: Monday June 22, 2009
Time: 6:00 pm - 7:00 pm (GMT +00:00)
Street: Hi dear, how are you today isaw you email at(www.eslteachersboard.com)hope that every things is ok with you as it is my great pleassure to contact you in having communication with you, please i wish you will have the desire with me so that we can get to know each other better and see what happened in future. i will be very happy if you can write me through my email for easiest communication and to know all about each other, and also give you my pictures and details about me, here is my email (joyce_dabor at yahoo.com) i will be waiting to hear from you as i wish you all the best for your day. your new friend. joy
Guests:
* fedora-developer-sig at redhat.com
* fedora-el-list at redhat.com
* fedora-extras-commits-owner at redhat.com
* fedora-extras-commits at redhat.com
* fedora-extras-list-owner at redhat.com
* fedora-electronic-lab-list-owner at redhat.com
* fedora-electronic-lab-list at redhat.com
* a-eclipse-commits-owner at redhat.com
* fedora-eclipse-commits at redhat.com
* fedora-docs-commits-owner at redhat.com
* fedora-docs-commits at redhat.com
* fedora-docs-list at redhat.com
* fedora-education-list-owner at redhat.com
* fedora-education-list at redhat.com
* fedora-fr-list-owner at redhat.com
* fedora-fr-list at redhat.com
* fedora-fonts-bugs-list-owner at redhat.com
* fedora-fonts-bugs-list at redhat.com
* fedora-directory-users-owner at redhat.com
* fedora-directory-users at redhat.com
* fedora-haskell-list-owner at redhat.com
* fedora-haskell-list at redhat.com
* fedora-i18n-bugs at redhat.com
* fedora-ia64-list-owner at redhat.com
* fedora-ia64-list at redhat.com
* fedora-infrastructure-list-owner at redhat.com
* fedora-infrastructure-list at redhat.com
* fedora-music-list-owner at redhat.com
* fedora-music-list at redhat.com
* fedora-legacy-list-owner at redhat.com
* fedora-legacy-list at redhat.com
* fedora-mentors-list-owner at redhat.com
* fedora-mentors-list at redhat.com
* fedora-news-list-owner at redhat.com
* fedora-news-list at redhat.com
* fedora-kernel-list-owner at redhat.com
* fedora-kernel-list at redhat.com
* fedora-list-owner at redhat.com
* fedora-list at redhat.com
* fedora-nightlife-list-owner at redhat.com
* fedora-nightlife-list at redhat.com
* fedora-it-list-owner at redhat.com
* fedora-it-list at redhat.com
* fedora-python-devel-list-owner at redhat.com
* fedora-python-devel-list at redhat.com
* fedora-olpc-list-owner at redhat.com
* fedora-olpc-list at redhat.com
* fedora-ocaml-list-owner at redhat.com
* fedora-suds-list-owner at redhat.com
* fedora-suds-list at redhat.com
* fedora-selinux-list-owner at redhat.com
* fedora-selinux-list at redhat.com
* fedora-relnotes-content-owner at redhat.com
* fedora-relnotes-content at redhat.com
* relnotes at fedoraproject.org
* fedora-package-review-owner at redhat.com
* fedora-package-review at redhat.com
* fedora-trans-announce-owner at redhat.com
* fedora-trans-announce at redhat.com
invitation_add_to_your_yahoo_calendar:
http://calendar.yahoo.com/?v=60&ST=20090622T180000%2B0000&TITLE=hello,sweet+one&DUR=0100&VIEW=d&in_st=Hi+dear,+how+are+you+today+isaw+you+email+at(www.eslteachersboard.com)hope+that+every+things+is+ok+with+you+as+it+is+my+great+pleassure+to+contact+you+in+having+communication+with+you,+please+i+wish+you+will+have+the+desire+with+me+so+that+we+can+get+to+know+each+other+better+and+see+what+happened+in+future.+i+will+be+very+happy+if+you+can+write+me+through+my+email+for+easiest+communication+and+to+know+all+about+each+other,+and+also+give+you+my+pictures+and+details+about+me,+here+is+my+email+(joyce_dabor at yahoo.com)+i+will+be+waiting+to+hear+from+you+as+i+wish+you+all+the+best+for+your+day.+your+new+friend.+joy&TYPE=10
Copyright ? 2009 All Rights Reserved
www.yahoo.com
Privacy Policy:
http://privacy.yahoo.com/privacy/us
Terms of Service:
http://docs.yahoo.com/info/terms/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From sate at guatemotor.com Tue Jun 23 01:17:57 2009
From: sate at guatemotor.com (Everage)
Date: Tue, 23 Jun 2009 01:17:57 -0000
Subject: [Fedora-suds-list] How to Keep sex Fun -- Avdice For Christian
Couples
Message-ID: <91261960206293@guatemotor.com>
How too Keep sex Fun -- Advice For Christian Couples www . shop75 . net
From amateurish at behladesign.com Tue Jun 23 21:51:06 2009
From: amateurish at behladesign.com (Micthell Keblish)
Date: Tue, 23 Jun 2009 22:51:06 +0100
Subject: [Fedora-suds-list] Talking Dirty to a Woman - Do Girls Really Likke
a Man Who Talks Dirty in Bed? (You'll Be Surpprised)
Message-ID:
Talking Dirty to aa Woman - Do Girls Really Like a Man Who Talks Dirty in Bed? (You'll Be Surprised) www . shop94 . net
From battik at abric.net Wed Jun 24 14:09:17 2009
From: battik at abric.net (Luhr)
Date: Wed, 24 Jun 2009 15:09:17 +0100
Subject: [Fedora-suds-list] Should Prostitution be Legarl? Take the Pooll
Message-ID: <0f3ecc130cf86104396e-1Zo6kz@abric.net>
Should Prostitution bee Legaal? Take the Poll www . shop57 . net
From dashiki at n-global.com Fri Jun 26 09:26:39 2009
From: dashiki at n-global.com (Hockersmith Newingham)
Date: Fri, 26 Jun 2009 09:26:39 -0000
Subject: [Fedora-suds-list] 77 Tips oHw to Read His sexual Body Language
Message-ID: <19ac_stuck@n-global.com>
7 Tips How to Read iHs sexual Bdoy Language www . med92 . com
From splake at imperial.com.pl Sun Jun 28 05:41:10 2009
From: splake at imperial.com.pl (Brownley Enloe)
Date: Sun, 28 Jun 2009 06:41:10 +0100
Subject: [Fedora-suds-list] Swingeer Online Dating - meeting Swingerrs In
Person Who You Met Online
Message-ID: <0654473338141470@imperial.com.pl>
Swinger Online aDDting - meeting Swingers In Person Who You Met Online www. pill77. net. Drooling Saop Oapera (SWF)
From rjalves at igc.gulbenkian.pt Sun Jun 28 18:41:52 2009
From: rjalves at igc.gulbenkian.pt (Renato Alves)
Date: Sun, 28 Jun 2009 19:41:52 +0100
Subject: [Fedora-suds-list] Regression from rev 517 to 518
Message-ID: <4A47B970.8060404@igc.gulbenkian.pt>
I'm interacting with a perl SOAP::Lite server. Never had problems using
suds before but aparently since rev 518 it stopped working. So at the
moment I'm still using 517. The most recent revision still suffers from
the same problem.
Here's one traceback. The error is always the same and it happens with
all server requests (as far as I've tested).
Traceback (most recent call last):
File "hermes.py", line 175, in
blast.run_blast("unkseq.fasta", seq)
File "hermes.py", line 129, in run_blast
self.push_file(filename, seq)
File "hermes.py", line 83, in push_file
DATA=data)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
240, in __call__
return target.call(*args, **kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
379, in call
return method(*args, **kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
240, in __call__
return target.call(*args, **kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
422, in call
return client.invoke(args, kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
480, in invoke
result = self.send(msg)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
511, in send
result = self.failed(binding, e)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
562, in failed
r, p = binding.get_fault(reply)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/bindings/binding.py",
line 219, in get_fault
faultroot = self.parser.parse(string=reply)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/sax/parser.py",
line 140, in parse
sax.parse(source)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 220, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py", line
38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: :7:0: not well-formed
(invalid token)
Is there any change I need to do to my code?
Thanks,
Renato Alves
From defeatures at soundtrend.com Mon Jun 29 14:19:01 2009
From: defeatures at soundtrend.com (Adderley)
Date: Mon, 29 Jun 2009 13:19:01 -0100
Subject: [Fedora-suds-list] Eaasy Ways to Make a Girl Orgasm - Trust Me!
This is One Secret You uJst Don't Want to Miss
Message-ID:
Easy Ways to Make a Girl Orrgasm - Trust Me! Tihs is One Secret You Just Don't Want to Miss www. pill99. com. Woman Trying to Cheat on Drrug Test Akss Clerk to Microwave Prosthetic penis Device
From jortel at redhat.com Mon Jun 29 13:57:56 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Mon, 29 Jun 2009 08:57:56 -0500
Subject: [Fedora-suds-list] Regression from rev 517 to 518
In-Reply-To: <4A47B970.8060404@igc.gulbenkian.pt>
References: <4A47B970.8060404@igc.gulbenkian.pt>
Message-ID: <4A48C864.8060908@redhat.com>
Renato,
Thanks for reporting this. I'm pretty jammed this week but I'll do my best to take a look.
-jeff
Renato Alves wrote:
> I'm interacting with a perl SOAP::Lite server. Never had problems using
> suds before but aparently since rev 518 it stopped working. So at the
> moment I'm still using 517. The most recent revision still suffers from
> the same problem.
>
> Here's one traceback. The error is always the same and it happens with
> all server requests (as far as I've tested).
>
> Traceback (most recent call last):
> File "hermes.py", line 175, in
> blast.run_blast("unkseq.fasta", seq)
> File "hermes.py", line 129, in run_blast
> self.push_file(filename, seq)
> File "hermes.py", line 83, in push_file
> DATA=data)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
> 240, in __call__
> return target.call(*args, **kwargs)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
> 379, in call
> return method(*args, **kwargs)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
> 240, in __call__
> return target.call(*args, **kwargs)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
> 422, in call
> return client.invoke(args, kwargs)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
> 480, in invoke
> result = self.send(msg)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
> 511, in send
> result = self.failed(binding, e)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
> 562, in failed
> r, p = binding.get_fault(reply)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/bindings/binding.py",
> line 219, in get_fault
> faultroot = self.parser.parse(string=reply)
> File
> "/home/rjalves/system/lib/python2.5/site-packages/suds/sax/parser.py",
> line 140, in parse
> sax.parse(source)
> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> line 109, in parse
> xmlreader.IncrementalParser.parse(self, source)
> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
> line 123, in parse
> self.feed(buffer)
> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> line 220, in feed
> self._err_handler.fatalError(exc)
> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py", line
> 38, in fatalError
> raise exception
> xml.sax._exceptions.SAXParseException: :7:0: not well-formed
> (invalid token)
>
> Is there any change I need to do to my code?
>
> Thanks,
> Renato Alves
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
From jortel at redhat.com Tue Jun 30 19:37:00 2009
From: jortel at redhat.com (Jeff Ortel)
Date: Tue, 30 Jun 2009 14:37:00 -0500
Subject: [Fedora-suds-list] Regression from rev 517 to 518
In-Reply-To: <4A48C864.8060908@redhat.com>
References: <4A47B970.8060404@igc.gulbenkian.pt> <4A48C864.8060908@redhat.com>
Message-ID: <4A4A695C.1050106@redhat.com>
Hey Renato,
Can you attach the raw (string) being returned by the server. Or, better yet, is this a
public server? Can I run against it?
-jeff
Jeff Ortel wrote:
> Renato,
>
> Thanks for reporting this. I'm pretty jammed this week but I'll do my
> best to take a look.
>
> -jeff
>
> Renato Alves wrote:
>> I'm interacting with a perl SOAP::Lite server. Never had problems using
>> suds before but aparently since rev 518 it stopped working. So at the
>> moment I'm still using 517. The most recent revision still suffers from
>> the same problem.
>>
>> Here's one traceback. The error is always the same and it happens with
>> all server requests (as far as I've tested).
>>
>> Traceback (most recent call last):
>> File "hermes.py", line 175, in
>> blast.run_blast("unkseq.fasta", seq)
>> File "hermes.py", line 129, in run_blast
>> self.push_file(filename, seq)
>> File "hermes.py", line 83, in push_file
>> DATA=data)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
>> 240, in __call__
>> return target.call(*args, **kwargs)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
>> 379, in call
>> return method(*args, **kwargs)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
>> 240, in __call__
>> return target.call(*args, **kwargs)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
>> 422, in call
>> return client.invoke(args, kwargs)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
>> 480, in invoke
>> result = self.send(msg)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
>> 511, in send
>> result = self.failed(binding, e)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
>> 562, in failed
>> r, p = binding.get_fault(reply)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/bindings/binding.py",
>>
>> line 219, in get_fault
>> faultroot = self.parser.parse(string=reply)
>> File
>> "/home/rjalves/system/lib/python2.5/site-packages/suds/sax/parser.py",
>> line 140, in parse
>> sax.parse(source)
>> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
>> line 109, in parse
>> xmlreader.IncrementalParser.parse(self, source)
>> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
>> line 123, in parse
>> self.feed(buffer)
>> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
>> line 220, in feed
>> self._err_handler.fatalError(exc)
>> File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py", line
>> 38, in fatalError
>> raise exception
>> xml.sax._exceptions.SAXParseException: :7:0: not well-formed
>> (invalid token)
>>
>> Is there any change I need to do to my code?
>>
>> Thanks,
>> Renato Alves
>>
>> _______________________________________________
>> 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
From defectively at varitec.net Tue Jun 30 22:23:39 2009
From: defectively at varitec.net (Medovich Jividen)
Date: Tue, 30 Jun 2009 21:23:39 -0100
Subject: [Fedora-suds-list] Orgasmic Diet - Can You Really Give Her an
Orbgasm rFom Food? (This is GREAT to Know)
Message-ID: <62d32d2b7c9be8cd42.INi2q6m4AZ3h@varitec.net>
Orgasmic Diet - Can You Really Give Her ann Orgasm From Food? (This iss GREAT to Know) www. med52. net. Draaokjan Skies