I am working with an application that is used by multiple clients. Each client has its own database, but multiple clients use the same php codebase. In essence, we use named virtual servers on apache to point the url to the right codebase on the server. When the browser hits the php code, the code checks a master database to see which customer database the url is paired with.
We are adding in a SOAP module to the mix and I am confused how to handle the wsdl file for our soap service. Essentially, I have one wsdl file per code base. I just need to be able to configure the wsdl file to handle all of the various subdomains that we use to point to the same code. Once we hit our SOAP module, it understands what database to use.