We set up wildfly 10 to run as a service on centos 7. In /etc/wildfly/wildfly.conf there is an entry for WILDFLY_BIND which we set to 0.0.0.0. In standalone-full.xml we have
<wsdl-host>${jboss.bind.address:XX.XX.XX.XX}</wsdl-host> where XX.XX.XX.XX is the IP of the server. If the /etc/hosts has an entry for XX.XX.XX.XX wildfly picks up the first alias and uses that in the soap:address location for WSDL files which causes problems. If the /etc/hosts does not have any entries for XX.XX.XX.XX wildfly seems to use the hostname which is good.
Other than making <wsdl-host>XX.XX.XX.XX</wsdl-host> (which makes it hard coded, no jboss.bind.address) is there something that can be added to wildfly.conf like WILDFLY_BIND but only for wsdl-host?
thanks