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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13087140#comment-13087140 ] 

Claus Ibsen commented on CAMEL-4351:
------------------------------------

I assume you use Spring, and that ${ } is spring property placeholders, right?

> 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