On 06/25/2012 01:20 PM, Burak Arslan wrote:
On 06/25/12 20:29, C Anthony Risinger wrote:out_message = getattr(models, m+'Response', None)btw, we have spyne.const.suffix.RESPONSE_SUFFIX now.
ah nice nice, will be useful ... yeah this service was pre-existing and every single Model is already defined ... including arrays. generated from the existing XSD.
kudos on the ARRAY_SUFFIX tho; i wrestled with that for a little bit before realizing i just had to subclass Array in my generated Models and then everything Just Worked (since so many place check issubclass(Array) ... probably should use a duck-type friendly approach eventually, but this works for now)
thanks, -- C Anthony ----------------------------------------- CONFIDENTIALITY: The information contained in this communication may be confidential and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete any copy of it from your computer system. _______________________________________________ Soap mailing list [email protected] http://mail.python.org/mailman/listinfo/soap
