Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8729

Same endpoints with different SOAP versions dont work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • Core
    • None
    • Unknown

    Description

      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/users@cxf.apache.org/msg45320.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mash-sap Manuel Shenavai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: