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

Freeman Fang commented on CXF-8084:
-----------------------------------

Hi [~morse]

FYI, the "http.base.path" is calculate from the HttpServletRequest in 
org.apache.cxf.transport.http,AbstractHTTPDestination.setupMessage method for 
each request.

And it's by design your configuration for servlet context will affect the 
"http.base.path", you can configure the servlet context in spring boot, plain 
servlet or in OSGi.

So this is more about a configuration question.

Freeman


> 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)

Reply via email to