<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><br>
Hi,<br>
<br>
On 04/18/13 13:46, Ombongi Moraa Fe wrote:<br>
</div>
<blockquote
cite="mid:CAM6w3npCQwfsYTDATi7pgP350kot_2u7B+i_QZsqD8aQT3-jYA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:georgia,serif;font-size:small">Hi Burak,
Team,<br>
<br>
</div>
</div>
</blockquote>
<br>
Apparently I was too deep in answering support questions for my
company :) This is python-list, so It's just me here :)<br>
<br>
<blockquote
cite="mid:CAM6w3npCQwfsYTDATi7pgP350kot_2u7B+i_QZsqD8aQT3-jYA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:georgia,serif;font-size:small">Your
solution worked perfectly thanks.<br>
<br>
</div>
<div class="gmail_default"
style="font-family:georgia,serif;font-size:small">Could you
share the logic of this solution?<br>
</div>
<br>
</div>
</blockquote>
<br>
You're using suds. Let's have a look at what you see:<br>
<br>
[(DeliveryInformation){<br>
address = "254727"<br>
deliveryStatus = "DeliveredToNetwork"<br>
}]<br>
<br>
You have it in square brackets, so it's an array. You apparently
want the first element, so it's result[0]. It's of type
DeliveryInformation with two fields, they are what you see there.
Depending on the which soap mode (rpc/document) your server uses,
you should either use result[0].deliveryStatus or
result[0].DeliveryInformation.deliveryStatus.<br>
<br>
I guess I got too much experience doing SOAP with python :) (I
maintain spyne, see: <a class="moz-txt-link-freetext" href="http://spyne.io">http://spyne.io</a>)<br>
<br>
I'm glad it worked.<br>
<br>
Best,<br>
Burak<br>
<br>
</body>
</html>