I have imported the blueprint service in spring configuration file as

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schem...ring-beans.xsd
http://www.springframework.org/schema/osgi http://www.springframework.org/schem...pring-osgi.xsd
http://www.osgi.org/xmlns/blueprint/v1.0.0">

<!-- Export the simpleService bean (defined in a separate
config file in this case) as an OSGi service -->
<!-- definitions using elements of the osgi namespace can be included
in this file. There is no requirement to keep these definitions
in a separate file if you do not want to. The rationale for
keeping these definitions separate is to facilitate integration
testing of the bundle outside of an OSGi container -->
<osgi:reference id="simpleServiceOsgi"
interface="com.test.simpleserv.MyService" /><!--




<bp:blueprint>
<bp:reference id="echoServRef" interface="com.test.simpleserv.Echo"></bp:reference>
</bp:blueprint>
and my blueprint config file was :

<service id="echoService" interface="com.ebay.test.simpleserv.Echo" ref="echo"/>
<bean id="echo" class="com.ebay.test.simpleserv.internal.EchoImpl" >
<property name="message" value="Echo: "/>
<!-- <property name="pkgAdmin" ref="pkgAdmin"/>-->
</bean>


but when iam trying to use it when running the test iam getting below excpetion


ests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.297 sec <<< FAILURE!
testSimpleSpringServiceExported(com..test.simplese rvTest.SimpleServiceBundleTest) Time elapsed: 2.031 sec <<< ERROR!
org.springframework.beans.factory.xml.XmlBeanDefin itionStoreException: Line 26 in XML document from OSGi resource[classpath:com//test/simpleservTest/spring/context.xml|bnd.id=19|bnd.sym=org.springframework. osgi.samples.simpleservice.test] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'bp:blueprint'.
at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:404)
at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:310)
at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:143)
at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:178)
at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:149)


anythign wrong that iam doing ..? How to use blueprint services in spring osgi based view ?