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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.3
    • 2.9.0
    • camel-cxf
    • None
    • 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

        1. CxfEndpointBeans.xml.patch
          1 kB
          Sergey Zhemzhitsky

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: