[Soap-Python] Problem with simpleContent

Burak Arslan burak.arslan at arskom.com.tr
Thu Dec 13 21:10:06 CET 2012


Hi Taras,

You're difficult :)

Maybe you've already seen it, but I've committed a new failing test for 
your case 
(https://github.com/plq/spyne/commit/d08f29cb3c8c2eba2dc652d6818390fa820fa058). 
Once I got a fix, I'll let you know.

Best,
Burak

On 12/10/12 19:17, KulaPard wrote:
> 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
>>
>>



More information about the Soap mailing list