Hi Gino,
Sure, we are already using PropertyPlaceholders for other configuration
data. However, it seems that whatever endpoint you specify on the
locationURI, it just gets ignored by ServiceMix, instead of inserting it as
an additional endpoint when serving the WSDL.
Thanks.
Ginobean wrote:
>
> Yes. It is indeed possible.
>
> Recipe:
> 1. In your xbean.xml file, add a PropertyPlaceholderConfigurer.
> 2. for the locationURI, you can now use a variable placeholder in place
> of a hardcoded url.
>
> What this means is that you can configure a property file to hold the
> location URI instead of having to edit xbean.xml and rebuilding separate
> packages for each target environment.
>
> Hope this helps..
>
> Gino.
>
>
> <bean id="propertyConfigurer"
> class="org.springframework.beans.factory.config.
> PropertyPlaceholderConfigurer">
> <property name="location" ..
> </bean>
>
> <cxfbc:consumer wsdl="classpath:ServiceName.wsdl"
> locationURI="${services.base.url}/ServiceName" ..
>
>
>
--
View this message in context:
http://www.nabble.com/servicemix-cxf-bc-locationURI-tp20686030p21923777.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.