We are building application which communicates with another application via soap web services. The other application is developed by another company using PHP. Our app is client to their web service.
We have testing environment where we connected our apps and everything worked fine. Then we moved to production env. But their web service namespace is generated automatically based on URL, so namespace in test and prod env are mismatched.
I generated SOAP client with svcutil once more for production, but when I deploy my solution to test env, I can't connect to their web service. They also are not willing to change anything.
Is it possible to change namespace of web service client during runtime based on endpoint address?
their web service namespace is generated automatically based on URL. Sounds like a pretty horrible idea in case you want to move the service to a new location without breaking every client.