[Fedora-suds-list] suds removing whitespaces

stecuratti at tiscali.it stecuratti at tiscali.it
Thu Nov 12 16:28:16 UTC 2009


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/?WT.mc_id=01fw




More information about the suds mailing list