I am using 2.1.4 SNAPSHOT and am still not able to get this working. Is there anything special one needs to do to get the PropertyPlaceholderConfigurer to be recognized? Is there an example or test case that you could refer me to if available.
Thanks! dkulp wrote: > > On Tuesday 11 November 2008 12:31:32 pm Harry van Rijn wrote: >> Hi, >> >> It looks like that properties in the http:conduit element are NOT >> resolved. >> Is there a way out? > > This SHOULD be working in CXF 2.1.3, maybe 2.1.2. What version of CXF > are > you using? > > Dan > > >> I want to refer to configuration files in the JBoss >> config directoy: >> >> <sec:keyManagers >> keyPassword="${model.server.keystore.password}"> >> <sec:keyStore type="JKS" >> password="${model.server.keystore.password}" >> >> file="${jboss.server.home.dir}/conf/props/model/${model.server.keystore.fil >>ename}"/> >> >> Here is my beans containing file: >> >> <beans >> xmlns="http://www.springframework.org/schema/beans" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns:sec="http://cxf.apache.org/configuration/security" >> xmlns:http="http://cxf.apache.org/transports/http/configuration" >> xmlns:jaxws="http://cxf.apache.org/jaxws" >> xmlns:wsa="http://cxf.apache.org/ws/addressing" >> xmlns:cxf="http://cxf.apache.org/core" >> xsi:schemaLocation=" >> http://cxf.apache.org/core >> http://cxf.apache.org/schemas/core.xsd >> http://www.springframework.org/schema/beans >> http://www.springframework.org/schema/beans/spring-beans.xsd >> http://cxf.apache.org/configuration/security >> http://cxf.apache.org/schemas/configuration/security.xsd >> http://cxf.apache.org/transports/http/configuration >> http://cxf.apache.org/schemas/configuration/http-conf.xsd >> http://cxf.apache.org/core >> http://cxf.apache.org/schemas/core.xsd >> http://cxf.apache.org/jaxws >> http://cxf.apache.org/schemas/jaxws.xsd"> >> >> <bean >> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigur >>er"> <property name="location"> >> >> <value>${jboss.server.config.url}/props/model/model.properties</value> >> </property> >> </bean> >> >> <import resource="classpath:META-INF/cxf/cxf.xml" /> >> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> >> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> >> >> <http:conduit >> name="{http://modelwebservice.c.b.a/wsdl}ModelPort.http-conduit"> >> <http:tlsClientParameters secureSocketProtocol="SSL"> >> <sec:keyManagers >> keyPassword="${model.server.keystore.password}"> >> <sec:keyStore type="JKS" >> password="${model.server.keystore.password}" >> >> file="${jboss.server.home.dir}/conf/props/model/${model.server.keystore.fil >>ename}"/> </sec:keyManagers> >> <sec:trustManagers> >> <sec:keyStore type="JKS" >> password="${model.server.truststore.password}" >> >> file="${jboss.server.home.dir}/conf/props/model/${model.server.truststore.f >>ilename}"/> </sec:trustManagers> >> <sec:cipherSuitesFilter> >> <!-- these filters ensure that a ciphersuite >> with >> export-suitable or null encryption is used, >> but exclude anonymous Diffie-Hellman key change as >> this is vulnerable to man-in-the-middle attacks --> >> <sec:include>.*_EXPORT_.*</sec:include> >> <sec:include>.*_EXPORT1024_.*</sec:include> >> <sec:include>.*_WITH_DES_.*</sec:include> >> <sec:include>.*_WITH_NULL_.*</sec:include> >> <sec:exclude>.*_DH_anon_.*</sec:exclude> >> </sec:cipherSuitesFilter> >> </http:tlsClientParameters> >> >> <!-- Default: authorization = none >> <http:authorization> >> <sec:UserName>tomcat</sec:UserName> >> <sec:Password>tomcat</sec:Password> >> </http:authorization> >> --> >> >> <!-- Default: AutoRedirect = false, Connection = close >> <http:client AutoRedirect="true" Connection="Keep-Alive"/> >> --> >> >> <http:client ContentType="text/xml"/> >> </http:conduit> >> >> <bean id="modelWebService" >> class="com.tsystems.model.server.ModelPortTypeImpl" lazy-init="true" > >> <property name="preis" value="${model.price}"/> >> <property name="menge" value="${model.quantity}"/> >> </bean> >> >> <cxf:bus> >> <cxf:features> >> <cxf:logging/> >> </cxf:features> >> </cxf:bus> >> >> <jaxws:endpoint id="modelEndpoint" >> implementor="#modelWebService" >> wsdlLocation="WEB-INF/wsdl/ModelWebService.wsdl" >> address="/Model"> >> </jaxws:endpoint> >> >> </beans> > > > > -- > Daniel Kulp > [EMAIL PROTECTED] > http://dankulp.com/blog > > -- View this message in context: http://www.nabble.com/Are-properties-not-resolved-in-http%3Aconduit-tp20444369p20914953.html Sent from the cxf-user mailing list archive at Nabble.com.