Description of problem: Can't use XTS and "jbossws.undefined.host" for wsdl-host, or WSDL rewriting with request URL. XTS uses ServerConfig to initialise it's configuration. However, we should rely on jboss.bind.address instead, because wsdl-host could take "jbossws.undefined.host" as a value. "jbossws.undefined.host" will cause UnknownHostException, because address rewriting is not executed in XTS. Version-Release number of selected component (if applicable): EAP 6.4.6 How reproducible: See attached reproducer Steps to Reproduce: 1. run "mvn test" to execute 2. 3. Actual results: Stacktrace with: Caused by: java.net.UnknownHostException: jbossws.undefined.host at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) [rt.jar:1.7.0_75] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) [rt.jar:1.7.0_75] at java.net.Socket.connect(Socket.java:579) [rt.jar:1.7.0_75] Expected results: Working Additional info: