aspose file tools*
The moose likes Web Services and the fly likes Display HostName in EPR of WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Display HostName in EPR of WSDL" Watch "Display HostName in EPR of WSDL" New topic
Author

Display HostName in EPR of WSDL

rakesh kumar nampally
Ranch Hand

Joined: Feb 03, 2007
Posts: 46
Hi All

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 tomcat is running. so is there a way to not to display that also.

Thanks a lot

Regards
Rakesh.


thanks & regards, Rakesh
Ravinderjit Singh
Ranch Hand

Joined: Jan 13, 2010
Posts: 68
You can update the host name in axis2.xml file.

 
Consider Paul's rocket mass heater.
 
subject: Display HostName in EPR of WSDL
 
Similar Threads
How to know the DNS name or IP address of server with code?
IP Address as a hostname string !
Actionforward url
Getting CommunicationException
Service working but cannot see wsdl