Hi, I have another spyne question (big surprise, huh?:)
I found out from here [http://www.mail-archive.com/[email protected]/msg00582.html] that the wsdl file is generated once and then cached. That is nice, of course. My issue is that I want to allow multiple sub-domains to access the same service. Currently, the first sub-domain that hits ?wsdl will cause that particular sub-domain to be embedded in the wsdl's <soap:address/> element. Later, when a different sub-domain asks for the ?wsdl, it will incorrectly get the <soap:address/> sub-domain from the first request. My attempt to remedy this was to sub-class the Wsdl11 interface class and override the "get_interface_document" method. I wanted to change it so that before returning the cached etree from __wsdl, it would change the soap:address element to be the domain from the current request. There does not seem to be any way to tell the application to use a different interface though. Is there another, more obvious way to solve this? If not, I will likely just modify the source. I wanted to ask here first though. As always, thanks!, Ken _______________________________________________ Soap mailing list [email protected] http://mail.python.org/mailman/listinfo/soap
