I am trying to use CXF-SE component, my configuration is like this (includes
additional spring configurations)

<cxfse:endpoint>
        <cxfse:pojo>
          <bean
class="com.fuelquest.services.masterdata.cxfse.impl.OrganizationServiceImpl"> 
                <property name="orgDAO"><ref bean="orgDAO"/></property>         
                
          </bean>
        </cxfse:pojo>
</cxfse:endpoint>  

<bean id="orgDAO"
class="com.fuelquest.mothra.dao.common.impl.OrganizationsDAOImpl">
        <property name="sessionFactory"><ref local="sessionFactory"
/></property>
</bean>   

<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
                <property name="dataSource"><ref local="dataSource" 
/></property>
                <property name="configurationClass"
value="org.hibernate.cfg.AnnotationConfiguration" />
                <property name="configLocation" 
value="classpath:hibernate.cfg.xml"/>
</bean> 

<bean id="dataSource"
class="org.springframework.jndi.JndiObjectFactoryBean">
         <property name="jndiName"><value>mothraDS</value></property>
</bean>
.....
....

But when I deploy, my services are getting deployed with names/endpoints
like this

DEBUG - CxfSeComponent                 - Initializing service unit
DEBUG - ComponentContextImpl           - Component: servicemix-cxf-se
activated endpoint: {http://unknown.namespace/}$Proxy81Service :
$Proxy81Port
DEBUG - CxfSeComponent                 - Querying service description for
ServiceEndpoint[service={http://unknown.namespace/}$Proxy81Service,endpoint=
$Proxy81Port]
DEBUG - CxfSeComponent                 - No description found for
{http://unknown.namespace/}$Proxy81Service:$Proxy81Port
DEBUG - WSDL1Processor                 - Endpoint
ServiceEndpoint[service={http://unknown.namespace/}$Proxy81Service,endpoint=$Proxy81Port]
has no ser
vice description
DEBUG - CxfSeComponent                 - Querying service description for
ServiceEndpoint[service={http://unknown.namespace/}$Proxy81Service,endpoint=
$Proxy81Port]
DEBUG - CxfSeComponent                 - No description found for
{http://unknown.namespace/}$Proxy81Service:$Proxy81Port
DEBUG - WSDL2Processor                 - Endpoint
ServiceEndpoint[service={http://unknown.namespace/}$Proxy81Service,endpoint=$Proxy81Port]
has no ser
vice description
DEBUG - CxfSeComponent                 - Service unit initialized

instead of the actual serviceName/targetNamespace/endPointInterface I
specified in the Impl class.

If I remove the other spring configuration and just have

<cxfse:endpoint>
        <cxfse:pojo>
          <bean
class="com.fuelquest.services.masterdata.cxfse.impl.OrganizationServiceImpl"> 
                <property name="orgDAO"><ref bean="orgDAO"/></property>         
                
          </bean>
       </cxfse:pojo>
</cxfse:endpoint>    

everything is getting deployed properly.

Are there any limitations on defining additional spring configurations
inside the cxf-se component? I am using 2009.01 SMX components.

-- 
View this message in context: 
http://old.nabble.com/SMX-CXF-SE%3A-ServiceName-EP-etc.-not-getting-generated-properly-tp27829319p27829319.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to