File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Display HostName in EPR of WSDL" Watch "Display HostName in EPR of WSDL" New topic

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

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

Ravinderjit Singh
Ranch Hand

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

I agree. Here's the link:
subject: Display HostName in EPR of WSDL
It's not a secret anymore!