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-tp20686030p21858561.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to