[
https://issues.apache.org/jira/browse/CXF-8084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897360#comment-16897360
]
George Sedov commented on CXF-8084:
-----------------------------------
Hi [~ffang],
In my particular case "publishedEndpointUrl" doesn't help, because the logic
for "current" endpoint (the one that is called with "?wsdl") and all the other
endpoints differs. If I provide an explicit "publishedEndpointUrl", it will
break many other things, and it will also not help in this case, since for the
"current" endpoint I'll get
[http://example.com/cxfContext/services/services/myServiceEndpoint|http://example.com/cxfContext/services/myServiceEndpoint]
(the "current" address is replaced based on the request url, not
"http.base.path").
There maybe no compulsory specs about "services", but there is an
implementation from CXF itself. I wasn't able to find where the final address
of the endpoint being formed, but I guess it is somewhere inside the CXF. So
during the address rewriting the information about this suffix should be
available - whether it is currently used or not, and what exactly is it.
> 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)