You likely need to import the specific things you need.   I would start with:

        <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" />

And see if that helps.

Dan


On Tuesday 07 December 2010 7:59:22 am vkrejcirik wrote:
> I have any import in my Spring context config file. Config file looks like:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-3.0.xsd";>
> 
>       <bean class="clan.core.ServicesFactoryBean"
>               init-method="create" destroy-method="destroy">
>               <property name="serviceName" value="ContextService" />
>               <property name="protoPackage" value="ContextProtos" />
>               <property name="production" value="true" />
>       </bean>
> 
>       <bean class="clan.core.ServicesFactoryBean"
>               init-method="create" destroy-method="destroy">
>               <property name="serviceName" value="JobService" />
>               <property name="protoPackage" value="JobProtos" />
>               <property name="production" value="true" />
>       </bean>
> 
> 
>       <!-- <bean id="dataSource"
> class="org.springframework.jdbc.datasource.DriverManagerDataSource">
>               <property name="driverClassName" value="org.h2.Driver" /> 
> <property
> name="url"
>               value="jdbc:h2:file:~/clan-cr" /> <property name="username" 
value="user"
>               /> <property name="password" value="pass" /> </bean> -->
> 
>       <bean id="dataSource"
> class="org.springframework.jndi.JndiObjectFactoryBean">
>               <property name="jndiName" value="java:comp/env/jdbc/core" />
>       </bean>
> 
> 
>       <bean class="core.jobs.JobsScheduler"
>               init-method="create" destroy-method="destroy"
> factory-method="getInstance">
>               <property name="checkPeriod" value="30000" />
>       </bean>
> 
>       <bean id="sqlSessionFactory"
> class="org.mybatis.spring.SqlSessionFactoryBean">
>               <property name="dataSource" ref="dataSource" />
>               <property name="configLocation"
>                       value="WEB-INF/classes/clan/Configuration.xml" />
>       </bean>
> 
>       <bean id="coreMapper" class="org.mybatis.spring.MapperFactoryBean">
>               <property name="mapperInterface" value="clan.core.CoreMapper" />
>               <property name="sqlSessionFactory" ref="sqlSessionFactory" />
>       </bean>
> 
> </beans>
> 
> 
> Or do you mean something else? I have only this xml config file. Then I
> have in web.xml:
> 
>       <context-param>
>               <param-name>contextConfigLocation</param-name>
>               
> <param-value>classpath:clan/core/srv/services-prd.xml</param-value>
>       </context-param>

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to