On Jan 23, 2008 12:58 PM, Cybexion <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a CXF SE, which I created based on the WSDL-first example.
> The java classes are generated based on my WSDL and I could test everything
> using a modified version of the client.html.
>
> We have a CRM System which I wanted to access from my ServiceImplementation
> (CRMServiceImpl).
> Therefore I created (next to some other classes) an AladdinOrderService.
> This service also works fine.
> I tested it using JUnit
> The AladdinOrderService classes are Part of the CXFSE.
> Now I wanted to use this Service inside my CRMServiceImpl class. I extended
> the bean.xml and injected the service.
>
> The bean.xml looks as follows:
> <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0">
> <cxfse:endpoint>
> <cxfse:pojo>
> <bean
> class="my.company.product.components.crmservice.CRMServiceImpl">
> <property name="aladdinOrderService" ref="aladdinService"/>
> </bean>
> </cxfse:pojo>
> </cxfse:endpoint>
>
> <bean
> class="my.company.product.components.crmservice.aladdin.order.AladdinOrderService"
> id="aladdinService">
> <property name="orderDAO" ref="aladdinOrderDAO"/>
> </bean>
>
> <bean
> class="my.company.product.components.crmservice.aladdin.order.dao.AladdinOrderDAO"
> id="aladdinOrderDAO">
> </bean>
> </beans>
>
> Everything compiles fine and an SA is created.
> When I want to deploy the SA by dropping it into the hotdeploy folder it
> fails with the error messages below:
>
> Does anyone know whats fron here?
> Is something wrong to inject the aladdinService into my CRMServiceImpl?
>
> Thanks in advance for helping!!!
...
> <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
> org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
> xbean namespace mapping: http://servicemix.apache.org/cxfse/1.0
The most common cause for this error is that you have a dependency or
a componentName in the project pom.xml on a JBI component other than
the one whose namespace is unrecognized. I.e., even though you are
attempting to deploy this SU to the servicemix-cxf-se, there is a
dependency on a different ServiceMIx JBI component. Please show us the
pom.xml for this project.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/