Fix service location in SOAP WSDL document
By default, the first request to the SOAP service will trigger a build of the WSDL document, using the context (service location) from that request. For example, if the first request is on `http://localhost/` and subsequent requests are on `https://mutalyzer.nl/services/`, they will not have a valid WSDL document. This is actually what we do on our production infrastructure, where the service is tested (on localhost) after it has been started. The fix is to force a build of the WSDL document and specifying the location to use. http://spyne.io/docs/2.10/reference/server.html#spyne.server.wsgi.WsgiApplication
Showing
- doc/config.rst 4 additions, 4 deletionsdoc/config.rst
- mutalyzer/config/default_settings.py 2 additions, 2 deletionsmutalyzer/config/default_settings.py
- mutalyzer/entrypoints/service_soap.py 16 additions, 0 deletionsmutalyzer/entrypoints/service_soap.py
- mutalyzer/website/views.py 4 additions, 3 deletionsmutalyzer/website/views.py
Loading
Please register or sign in to comment