Hrm ... well, right now I have a service-config.xml file that
has all the service endpoints. The application exists in a
development environment and two production environments (one of
which is a failover). The application uses the service-config.xml
file during compilation time which means I can't change the
destination on each environment. Here's what I have to do now:
1. Modify the service-config.xml file for the primary
production environment
2 Re-compile the application
3. Deploy the application to the primary production
environment
4. Modify the service-config.xml file for the backup
production environment
5. Re-compile the application
6. Deploy the application to the backup production
environment
7. Modify the service-config.xml file
8. Re-compile the applicaiton
9. Continue working on the application in the development
environment
If I can modify the service-config.xml file without
rebuilding, that would make life much easier. So my question is:
Question: Can I use a service-config.xml file without
including it in the compile time arguments? Is there a better way
to define services so that I can change an endpoint without
recompiling?