You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org> on 2011/08/18 17:46:27 UTC

[jira] [Updated] (CAMEL-4351) Impossible to use placeholders in endpointName and serviceName attributes of cxf:cxfEndpoint

     [ https://issues.apache.org/jira/browse/CAMEL-4351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Zhemzhitsky updated CAMEL-4351:
--------------------------------------

    Description: 
Here is how endpointName and serviceName are declared in XSD.

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

So the xml parser fails to parse the following element

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



  was:
Here is how endpointName and serviceName are declared in XSD.

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

So the xml parser fails to parse the following element

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




> Impossible to use placeholders in endpointName and serviceName attributes of cxf:cxfEndpoint
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4351
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4351
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.7.3
>            Reporter: Sergey Zhemzhitsky
>
> Here is how endpointName and serviceName are declared in XSD.
> {code}
> <xsd:attribute name="endpointName" type="xsd:QName" /> 
> <xsd:attribute name="serviceName" type="xsd:QName" /> 
> {code}
> So the xml parser fails to parse the following element
> {code}
> <cxf:cxfEndpoint id="service" address="${http.service.endpoint.path}" wsdlURL="${http.service.wsdl.path}"
>     serviceName="${http.service.serviceName}"
>     endpointName="${http.service.portName}">
> </cxf:cxfEndpoint>
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira