Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44535

RE: Passing special characters in soap data

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <moraa.lovetakes2@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'syntax': 0.04; 'error:': 0.07; 'soap': 0.07; 'string': 0.09; '&lt;?xml': 0.09; 'subject:characters': 0.09; 'python': 0.11; 'entities.': 0.16; 'quoted': 0.16; 'shape': 0.19; 'command': 0.22; 'team,': 0.22; 'sends': 0.24; 'script': 0.25; 'pass': 0.26; 'characters': 0.30; 'message-id:@mail.gmail.com': 0.30; 'quotes': 0.31; 'saludos': 0.31; 'skip:? 20': 0.31; 'received:google.com': 0.35; 'subject:data': 0.36; 'expected': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'receive': 0.70; 'special': 0.74; 'faith': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=u8FEgt1YNJhL2tw/Eks4NdWdRWHf4nFpwnUPU3nqW4E=; b=V7OjTFT9YhxsNgH/IxIwrwHjNja8cCd71ilUelVmc1c2zurtfGmmnqQNrVJcjKrIqR V+1FxFy5ec8Gr6LDHT7Og2uNTBsF8hIajOhFGA1pTtWGLNkBr0vpxWVkOhMC5tE0DBsn vK0d8Hilwp2eRmIwLMFs3noNjQcEW4t4cJVKmSjYzmNqO0vGHaMPbfI+kI8TFj8PgzY/ hCDavEMcJkVDt+/QNR0DGl06VmG0j8OiwaWmnU9SLOL8hn4GqO42xKqps08D8EpCgmis phhpGZDLtJp97IJD9vV49W/UXTWLFbvuVpoL7gEHA02FnXSgG2s46zYIjzmuV9Nl+g5e eN5A==
X-Received by 10.182.78.41 with SMTP id y9mr29381697obw.69.1367322671434; Tue, 30 Apr 2013 04:51:11 -0700 (PDT)
MIME-Version 1.0
From Ombongi Moraa Fe <moraa.lovetakes2@gmail.com>
Date Tue, 30 Apr 2013 14:50:31 +0300
Subject RE: Passing special characters in soap data
To python-list@python.org
Content-Type multipart/alternative; boundary=047d7b2e47101fd3cc04db929e30
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1176.1367322680.3114.python-list@python.org> (permalink)
Lines 61
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367322680 news.xs4all.nl 15892 [2001:888:2000:d::a6]:48726
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44535

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Team,

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&apos;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



how can i resolve this and any other html entities i receive?

Saludos

Ombongi Moraa Faith

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

RE: Passing special characters in soap data Ombongi Moraa Fe <moraa.lovetakes2@gmail.com> - 2013-04-30 14:50 +0300
  Re: Passing special characters in soap data John Gordon <gordon@panix.com> - 2013-04-30 14:08 +0000

csiph-web