A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Display HostName in EPR of WSDL
rakesh kumar nampally
Joined: Feb 03, 2007
May 13, 2011 14:20:33
I am using axis2-1.4.1, when i deploy aar file wsdl gets automatically generated when i access with "?wsdl" at the end of the service.
EPR (endpoint reference) is coming up the with ip address. Is there a way to display hostname or any site name like myhost.com.
And also its displaying ip with port number on which
is running. so is there a way to not to display that also.
Thanks a lot
thanks & regards, Rakesh
Joined: Jan 13, 2010
May 15, 2011 21:13:18
You can update the host name in axis2.xml file.
<!-- Following parameter will set the host name for the epr--> <parameter name="hostname" locked="true">myhost.com</parameter>
subject: Display HostName in EPR of WSDL
IP Address as a hostname string !
Service working but cannot see wsdl
How to know the DNS name or IP address of server with code?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015