We are developing a web application that uses web services which needs to deployed on glassfish (application server 9 patch 1 update 1, bundled in j2ee5) . Today we have come across a problem:
When the application is deployed, glassfish changes the wsdl files for our web services. Among other things, it hardcodes the computers name into some location attributes in a couple of places. Depending on the computer setup, the computer name might change when you move a computer around on a network or when you simply disconnect the network cable. Unfortunately this means the web services will no longer work until you redeploy.
Can you somehow prevent glassfish from modifying the wsdl files upon deployment?