[ 
https://issues.apache.org/jira/browse/CXF-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755854#comment-13755854
 ] 

Magnus Jason commented on CXF-4999:
-----------------------------------

It seems like this was introduced with 1417095, that changed then caused the 
issue CXF-4856.

This is a major issue for people doing java first services that are hosted 
behind proxies.
                
> 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
>
> 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

Reply via email to