camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GLD <guillaume.lu...@orange-ftgroup.com>
Subject Re: Spring Placeholders in cxf:cxfEndpoint
Date Tue, 30 Dec 2008 10:08:16 GMT

It works fine.

Thanks a lot.

Guillaume


willem.jiang wrote:
> 
> 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
>>>>
>>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Spring-Placeholders-in-cxf%3AcxfEndpoint-tp21147828s22882p21215171.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message