Hey Stefano,
I'm not surprised. Suds trims leading and trailing whitespace to account for
formatted
XML. I'll add an option so you can turn it off if you want.
Regards,
Jeff
On 11/12/2009 10:28 AM, stecuratti(a)tiscali.it wrote:
Hello there,
i'm having some problems with suds client: when i try to
get a string from from a particular web service, all leading and
following withespaces are omitted.
Here's an example:
client=Client
('http://www.pdb.org/pdb/services/pdbws?wsdl')
print client.service.
getKabschSander('103M','A')
Result is
'HHHHHHHHHHHHHHGGGHHHHHHHHHHHHHHH GGGGGG TTTTT SHHHHHH
HHHHHHHHHHHHHHHHHHHTTT HHHHHHHHHHHHHTS HHHHHHHHHHHHHHHHHH GGG
HHHHHHHHHHHHHHHHHHHHHHHHTT'
but it should be
'
HHHHHHHHHHHHHHGGGHHHHHHHHHHHHHHH GGGGGG TTTTT SHHHHHH
HHHHHHHHHHHHHHHHHHHTTT HHHHHHHHHHHHHTS HHHHHHHHHHHHHHHHHH GGG
HHHHHHHHHHHHHHHHHHHHHHHHTT '
I'm quite new to wsdl, and to be honest
i'd like to avoid getting into it (that's why i'm using suds)...
hope
someone can help,
thanks and regards
Stefano
Passa a Tiscali Tutto Incluso Light: telefono + adsl 8 Mb senza limiti a soli 9,95 euro
al mese fino al 01/04/2010. Gratis la Sim Tiscali Mobile con 25 euro di traffico.
L’offerta è valida solo se attivi entro il 12/11/09
http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso_light/?...
_______________________________________________
fedora-suds-list mailing list
fedora-suds-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-suds-list