[
https://issues.apache.org/jira/browse/CXF-8084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897959#comment-16897959
]
George Sedov commented on CXF-8084:
-----------------------------------
Hi [~ffang],
Upon further investigation, I found out that in my case it was the "cxf.path"
property, which is used by cxf-spring-boot-autoconfigure. If I make this
variable into "/" and include "/services" into "server.servlet.contextPath", I
will get the correct URL generation.
So I think the final problem is indeed not in WSDLGetUtils, but actually in
wherever the "http.base.path" gets generated, since it doesn't include the url
mapping information.
> Wrong adress for endpoints is generated with
> autoRewriteSoapAddressForAllServices
> ---------------------------------------------------------------------------------
>
> Key: CXF-8084
> URL: https://issues.apache.org/jira/browse/CXF-8084
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.3.2
> Reporter: George Sedov
> Priority: Major
>
> When using autoRewriteSoapAddressForAllServices the generated service address
> in WSDL is wrong. It is constructed using the "http.base.path", which is
> basically CXF context, plus the publishing address of the endpoint. But there
> should also be "services" between them, i.e.
> [http://example.com/cxfContext/services/myServiceEndpoint]
> instead of
> [http://example.com/cxfContext/myServiceEndpoint|http://example.com/cxfContext/services/myServiceEndpoint]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)