Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CXF webservice deployed on tomcat

 
Vishnu Dasaraju
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic