Hostname without ip in endpoint address

2928539.gmail.com's picture
Hi. How can I substitute ip in endpoint address parameter. For example: <wsdl2:endpoint name="HTTPEndpoint" binding="tns:myserviceHttpBinding" address="http://192.168.1.110:9763/services/myservice.HTTPEndpoint/"/> but I need smt like <wsdl2:endpoint name="HTTPEndpoint" binding="tns:myserviceHttpBinding" address="http://myhostname:9763/services/myservice.HTTPEndpoint/"/> Thanks.
joseantonio.aparicio.securitasdirect.es's picture

hostname parameter in server.xml

Try to uncomment the hostname parameter in carbon.xml configuration file and put the server name. P.e. <!-- Host name or IP address of the machine hosting this server e.g. www.wso2.org, 192.168.1.10 This is will become part of the End Point Reference of the services deployed on this server instance. --> <HostName>put here your server name or your ip</HostName>  
2928539.gmail.com's picture

Thank you) It works

Thank you) It works
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
KeellsSuper is a leading supermarket chain with 50-plus outlets in Sri Lanka, and it offers the only online supermarket in the country. In 2005, JKH implemented SAP ERP across it’s 70 subsidiaries...
Thursday, February 16th 2012, 09.00 AM (PST)

Thursday, February 16th 2012, 10.00 AM (GMT)