It appears that Spyne sets the port in the WSDL definition according to how the service is accessed. For example, if I first (i.e., after a restart) access the service at http://domain.com/soap-api/, it will embed that URL in the WSDL. However, if I use https://www.domain.com/soap-api/, it will use that URL. Below is a segment of my WSDL:
<wsdl:service name="QuestService">
<wsdl:port name="Application" binding="tns:Application">
<soap:address location="https://app.stage.domain.com/soap-api/quest/"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name="Application">
<wsdl:operation name="ReceiveLabReqStatus" parameterOrder="ReceiveLabReqStatus">
...
When I use suds to access the server, suds doesn't seem to care which URL is in the definition and which URL I feed to suds. However, it appears that other clients do care and, if they're not using the right URL, will throw an error when the URLs don't match (at least I think that's what's happening).
So, my question: is there a way in Spyne to explicitly set the URL that's associated with the service?