[ https://issues.apache.org/jira/browse/CXF-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-4999. ------------------------------ Resolution: Fixed Fix Version/s: 2.7.7 2.6.10 Assignee: Daniel Kulp > publishedEndpointUrl ignored when wsdlLocation not used > ------------------------------------------------------- > > Key: CXF-4999 > URL: https://issues.apache.org/jira/browse/CXF-4999 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.7.4 > Reporter: Sylvain DeschĂȘnes > Assignee: Daniel Kulp > Fix For: 2.6.10, 2.7.7 > > > We use CXF with spring to expose our web services. We use the feature that > let cxf generate the wsdl when publishing the endpoint. However, our tomcat > is proxied by Apache so we used the publishedEndpointUrl to define the > publicly accessible URL. > It was working fine in cxf 2.7.0, now in 2.7.4 it isn't working anymore. In > the generated wsdl, the endpoint is always exposed with localhost. This > causes a problem with one of our tools. > It seems that in org.apache.cxf.jaxws.EndpointImpl in the method doPublish > somewhere at line 340, it is now required to have a wsdlLocation. Which we > don't since we do Java-first web services. > It seems that publishedEndpointUrl is now ignored totally in 2.7.4 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira