Hello Alex,

On 08/24/12 19:11, Alex Railean wrote:
My Spyne-powered server is generating a WSDL schema that reveals my
server's address, yet I prefer that a domain name is used instead.

wsgi_app = WsgiApplication(...)
from spyne.interface.wsdl import Wsdl11
wsdl = Wsdl11(self.app.interface)
wsdl.build_interface_document("http://my_awesome_domain.name/";)
wsgi_app._wsdl = wsdl.get_interface_document()

https://github.com/arskom/spyne/blob/26c565589f8b3d8da6c98eeb24f80467f0de5e7c/spyne/server/wsgi.py#L166

My other question is Twisted-specific - how to define the listening
interface?

The examples here use a variable called 'host':
https://github.com/arskom/spyne/tree/master/examples/twisted

However, I only see that it is used to print some debug information,

heh :) I sometimes to the weirdest things.

whereas the twisted server itself is not related to it in anyway. What
am I missing?


Look it up in the twisted docs and let me know as well.

Best,
Burak

_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to