[Soap-Python] Problem with simpleContent

KulaPard kulapard at gmail.com
Mon Dec 10 20:17:23 CET 2012


Hi, Burak!
No, still not working with multiple elements

Sent this:
<ns1:Params>
    <ns1:Param name="foo1">bar1</ns1:Param>
    <ns1:Param name="foo2">bar2</ns1:Param>
</ns1:Params>

but on server side got this:
<ns0:Params xmlns:ns0="spyne.test">
    <ns0:Param name="foo2">bar1</ns0:Param>
    <ns0:Param name="foo2">bar2</ns0:Param>
</ns0:Params>

Take a look at the first parameter.

Thanks

Taras


2012/12/10 Burak Arslan <burak.arslan at arskom.com.tr>

> On 11/22/12 18:37, KulaPard wrote:
>
>> Super! Great job! Thanks, Burak.
>> But I still don't understand how get access to this attributes in
>> received messages?
>> How to generate messages with multiple elements? Maybe you can give me
>> some examples?
>> I'll be very grateful.
>>
>>
>
>
> Hi,
>
> I've finally gotten this working.
>
> Here's the test that show how it's supposed to work:
> https://github.com/plq/spyne/**blob/**4ccc8b7dc539611cd7d41d54ea96b6**
> 7661039436/spyne/test/**protocol/test_xml.py#L53<https://github.com/plq/spyne/blob/4ccc8b7dc539611cd7d41d54ea96b67661039436/spyne/test/protocol/test_xml.py#L53>
>
> Does it work for you?
>
> Best,
> Burak
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/soap/attachments/20121210/c24eec14/attachment.html>


More information about the Soap mailing list