stepank/pyws — pull request #24 by spencerogden (2012-10-04 17:37:51+00:00)
Title: A couple small commits

Hi Stepan,

Thanks for your work on pyws, I have found it useful and I am glad to see you are still active in working on it. These two commits are independent of each other, but I think they are both useful.

SOAP - I found that the .NET SOAP library is picky about the ordering of fields in XML. This commit uses the field order specified in the schema if there is one. The previous version used arbitrary python dict key order.

REST - There isn't a standard on passing times in JSON, but this commit adds a serializer to stringify Python datetime objects to ISO 8601 format, which seems like a reasonable default.

I'm not a frequent contributor to Github projects, so let me know if there is anything I can do to make the process easier.

Thanks again,

Spencer