Changing hostname
Hektor
New Altair Community Member
Sorry for a stupid question, but
how can I change:
<port binding="tns:RepositoryServiceBinding" name="RepositoryServicePort">
<soap:address location="http://HOSTNAME:8080/RAWS/RepositoryService"/>
</port>
displayed at:
http://localhost:8080/RAWS/RepositoryService?wsdl
What's the name of the file in which can be this changed.
how can I change:
<port binding="tns:RepositoryServiceBinding" name="RepositoryServicePort">
<soap:address location="http://HOSTNAME:8080/RAWS/RepositoryService"/>
</port>
displayed at:
http://localhost:8080/RAWS/RepositoryService?wsdl
What's the name of the file in which can be this changed.
0
Answers
-
Hi,
question is not stupid, put a very typical pitfall. I would say the best solution is to tell your system what its own host name is. How that works, depends on your OS. At least that is the solution we typically apply.
Best,
Simon0 -
Thanks,
one solution:
run.bat -b xxx.xxx.xxx.xxx
explanation:
http://stackoverflow.com/questions/1032554/how-can-i-use-the-hostname-of-the-server-instead-of-localhost-with-jboss0