[
https://issues.apache.org/jira/browse/CXF-8729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576003#comment-17576003
]
Manuel Shenavai commented on CXF-8729:
--------------------------------------
Hi everyone,
in our case, it would be sufficient to disable the
"soapversion-specific-endpoint"-feature of registering two endpoints with
different SOAP versions. I created the following pull request that would allow
users to disable the "soapversion-specific-endpoint"-feature via a system
property:
[https://github.com/apache/cxf/pull/976]
Do you have any thoughts on this proposal?
Best regards,
Manuel
> Same endpoints with different SOAP versions dont work as expected
> -----------------------------------------------------------------
>
> Key: CXF-8729
> URL: https://issues.apache.org/jira/browse/CXF-8729
> Project: CXF
> Issue Type: Bug
> Components: Core
> Reporter: Manuel Shenavai
> Priority: Critical
>
> In Camel-CXF, endpoints with same URL but different SOAP version are possible
> to start. Depending on the version of the SOAP message of the incoming
> request, the corresponding endpoint will be invoked.
> But I found two problems:
> 1. Stopping a route that registered a specific endpoint URL (i.e. /myendpoint
> for SOAP 1.1) will shutdown all endpoints of that URL (also /myendpoint with
> SOAP 1.2 endpoint registered by different route)
> 2. There are some features (i.e.
> CounterRepository<[https://github.com/apache/cxf/blob/master/rt/management/src/main/java/org/apache/cxf/management/counters/CounterRepository.java]>)
> which seem to have problems with using sameURL/differentSOAP version. I
> found they throw NullPointerException and return HTTP200 with an empty body.
> I created a reproducer for both problems:
> [https://github.com/mash-sap/CXFEndpointsAndSOAPVersions]
> Referring to this mail chain:
> [https://www.mail-archive.com/[email protected]/msg45320.html]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)