[spyne] Spyne. need help

Burak Arslan burak.arslan at arskom.com.tr
Sun Mar 26 12:32:48 UTC 2017


Hello,


On 03/25/17 17:31, Максат Несипбеков wrote:
> I have SOAP11 service and i use spyne. My service work very well. I 
> have task: write all input xml queries from my clients to database. 
> First variant to do this: write all incoming xml query to log-file, 
> after parse log-file, get xml from it and then insert to database. But 
> i unlike this variant. Have other variants to attach all input xml 
> queries as variable by using spyne?

Yes, that's possible. Have a look at this example: 
https://github.com/arskom/spyne/blob/master/examples/events.py

You can get the request document in ctx.in_body_doc.

Best,
Burak



More information about the people mailing list