Hello,
I'm working with suds to send send messages to smsc. I've notices the
messages with ' are really not processed on my side (which could mean
an error occurs somewhere - most probably in my php script). SMSC has also
asked that I 'take care of the '' as it's the reason my subscribers
may not
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:
I'll shape it up myself...
Since i pass this data into my python script as a command line
Hi Stefan, Group
Thanks for the thumbs up.
Worked perfectly.
Saludos
Ombongi Moraa Faith
On 29 April 2013 14:22, Stefan Holdermans wrote:
> Ombongi,
>
> > however, if i pass xml data that DOES NOT contain sepid element, i get
> an error:
> >
> > Traceback (most recent call last):
> > File
Good Afternoon,
Among other elements values that my script finds is value for sepid
sepid = content.find(".//{http://www.huawei.com.cn/schema/common/v2_1}sepid
").text
however, if i pass xml data that DOES NOT contain sepid element, i get an
error:
Traceback (most recent call last):
File "/u
Hi Team,
In my python script, I have this:
command="lynx -dump
'phpscript?param1=%s¶m2=%s¶m3=%s¶m4=%s¶m5=%s'"%(value1,value2,value3,value4)
result=subprocess.call(command,shell=True)
print 'xml message'
However, the response from running the php script is also printed on output
screen. I don't
Hi Burak, Team,
Your solution worked perfectly thanks.
Could you share the logic of this solution?
Saludos
Ombongi Moraa Faith
On 18 April 2013 00:41, Burak Arslan wrote:
> On 04/17/13 16:50, Ombongi Moraa Fe wrote:
>
> My
>
> client.service.gere(ri)
>
> method cal
My
client.service.gere(ri)
method call logs the below soap response in my log file.
http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>http://www.csapi.org/schema/parlayx/sms/send/v2_2/local
">254727DeliveredToNetwork
If I assign the client.serv
Hello Team,
Thanks for your input.
|Possibly it's not matching because of your mistaken use of octal. Octal
won't hurt for ints below 8, but you probably don't restrict it in the real
code. For example, v = 030 will not match equal in the following:
I've changed the key,value pairs in the dic
hello Team,
I have this fairly simple script to iterate the dictionary items and check
if the items match certain values;
dictionary={'1234567890':001, '0987654321':002}
for k, v in dictionary.iteritems():
.
. #suds client statements;
if (k == '1234567890' and v
Hello Team,
My perl script "a.pl" calls python script "b.py" and passes arguments to
it; expecting a return value;
"b.py" uses suds to facilitate soap-based communication with another server
which then returns some value (deliveryStatus)
basically, my b.py script has these 3 major parts;
#part
Hi Burak,
Thanks a lot.
I've been working with suds in this project and I am amazed at how much
little code I am using compared to my original php scripts;
from your answer, I realized my major headache was not assigning the value
of client.last_received method call to another object.
With this
Hello Group,
I am newbie to python and getting my way around. However, my first project
that introduced me to the language deals with SOAP requests.
The server I communicate with basically sends me 2 soap responses; One with
a requestIdentifier which I should use to query the delivery status of t
12 matches
Mail list logo