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 CXF webservice deployed on tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "CXF webservice deployed on tomcat" Watch "CXF webservice deployed on tomcat" New topic

CXF webservice deployed on tomcat

Vishnu Dasaraju

Joined: Jan 16, 2013
Posts: 1
We have a soap based cxf webservice generated using top-down approach. When we created a wsdl first, the endpoint was defined as http://localhost:8080/xxxxx?wsdl. Using this wsdl, we generated all the service classes and domain classes etc., Eventually we configured these services using spring jax-ws.

and we don't keep a physical copy of wsdl file written manually by us in the war file, which we deploy on our tomcat server.

So, when we deployed it on the server, the wsdl endpoint was replaced by the respective server's hostname and port. For example: http://localhost:8080/xxxxx?wsdl has been replaced to http://server-hosname:8080/xxxxx?wsdl which is expected.

Weird part:
In the war file we deployed, we have lot of webservices defined in the same way. But some of those webservices wsdl endpoint's were replaced by the server hostname and port and some of them were not replaced which is unexpected. This still say http://localhost:8080/xxxxx?wsdl

Question: Did any of you guys went through a similar situation like this before? If so, could you please help me understand the issue?
Do you guys think if this is related to a server issue?
I agree. Here's the link:
subject: CXF webservice deployed on tomcat
It's not a secret anymore!