Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4351

Impossible to use placeholders in endpointName and serviceName attributes of cxf:cxfEndpoint

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.3
    • Fix Version/s: 2.9.0
    • Component/s: camel-cxf
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Here is how endpointName and serviceName are declared in XSD.

      <xsd:attribute name="endpointName" type="xsd:QName" /> 
      <xsd:attribute name="serviceName" type="xsd:QName" /> 
      

      So the xml parser fails to parse the following element

      <cxf:cxfEndpoint id="service" address="${http.service.endpoint.path}" wsdlURL="${http.service.wsdl.path}"
          serviceName="${http.service.serviceName}"
          endpointName="${http.service.portName}">
      </cxf:cxfEndpoint>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                njiang Willem Jiang
                Reporter:
                szhemzhitsky Sergey Zhemzhitsky
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: