Yes, you can specify the namespace of endpoint with "endpointNamespace" and the namespace of service with "serviceNamespace", they are all String :).
Please check out the latest 2.0 snapshot for trying. Willem GLD wrote: > Thanks for this chrismas gift ! > > About the namespaces, is there a way to use placeholders too? > > Regards, > Guillaume > > > > willem.jiang wrote: >> I fill a JIRA[1] for it, and the patch is coming up :) >> [1] https://issues.apache.org/activemq/browse/CAMEL-1204 >> >> Willem >> >> >> Willem Jiang wrote: >>> Since there some code in CXF for hacking the Qname for endpointName and >>> serviceName, I don't think you can use the spring placeholder there. >>> How about set the endpointName and serviceName within the >>> <cxf:properties> like this >>> >>> <cxf:cxfEndpoint id="soapMessageEndpointProvider" >>> serviceClass="com.orange.ose.smc.core.web.SmcCxfProvider" >>> wsdlURL="file:///${conf.from.ws.wsdl.location}"> >>> <cxf:properties> >>> <entry key="dataFormat" value="MESSAGE"></entry> >>> <entry key="endpointLocalName" >>> value="${conffrom.ws.soapport}></entry> >>> <entry key="endpointNamespace" >>> value="http://com.mycompany/MyPort"></entry> <entry >>> key="serviceLocalName" value="${conffrom.ws.soapserver}"></entry> >>> <entry key="serviceNamespace" >>> value="http://com.mycompany/MyService"></entry> >>> </cxf:properties> >>> <cxf:cxfEndpoint/> >>> >>> I think I can add this feature before end of this year :) >>> >>> Willem >>> >>> >> >> >