Passing special characters in soap data
John Gordon
gordon at panix.com
Tue Apr 30 10:08:07 EDT 2013
In <mailman.1176.1367322680.3114.python-list at python.org> Ombongi Moraa Fe <moraa.lovetakes2 at gmail.com> writes:
> My provider sends soap data to me as they receive from subscriber. as
> expected the messages with special characters like quotes are received as
> html entities.
> like the message below had a quote:
> <?xml version="1.0" encoding="utf-8" ?><soapenv:Envelope
> ...<message>I'll shape it up myself</message>...
> </soapenv:Body></soapenv:Envelope>
> Since i pass this data into my python script as a command line call, i get
> the error:
> /bin/sh: Syntax error: Unterminated quoted string
Can you modify your python script so it accepts a filename which contains
the xml?
--
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list
mailing list