we are migrating to latest jboss fuse .when i try to deploy existing service
to latest jboss fuse then getting below exception,.what is the bundle i need
to install?
Error executing command: Error installing bundles:
Unresolved constraint in bundle idemployeeService [323]: Unable to
resolve 323.0: missing requirement [323.0] osgi.wiring.bundle;
(osgi.wiring.bundle=org.apache.cxf.bundle)
pom.xml important contents
*************************
<camel.version>2.15.1.redhat-620133</camel.version>
<activemq.version>5.5.1.fuse-7-061</activemq.version>
<cxf-version>3.0.4.redhat-620133</cxf-version>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
<Import-Package>
META-INF.cxf,
javax.jws,
javax.wsdl,
javax.xml.bind,
javax.xml.bind.annotation,
javax.xml.namespace,
javax.xml.ws,
org.w3c.dom,
*
</Import-Package>
<DynamicImport-Package>
org.apache.cxf.*,
org.springframework.beans.*
</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
beans.xml
*********
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xmlns:ctx="http://www.springframework.org/schema/context"
xmlns:cxf="http://camel.apache.org/schema/cxf"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<ctx:property-placeholder
location="classpath:idemployee-service.properties"/>
<camel:camelContext xmlns="http://camel.apache.org/schema/spring" >
<route id="route1">
<from uri="cxf:bean:idemployeeRouterEndpoint"/>
<to uri="cxf:bean:idemployeeServiceEndpoint"/>
</route>
</camel:camelContext>
<bean id="loggingInInterceptor"
class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
<cxf:cxfEndpoint id="idemployeeServiceEndpoint"
wsdlURL="${idemployee-host}/idemployee-webservice/idemployeeService?wsdl"
address="${idemployee-host}/idemployee-webservice/idemployeeService"
endpointName="idemployeeService"
serviceName="idemployeeService"
xmlns:s="http://service.idemployee.com">
<cxf:properties>
<entry key="dataFormat" value="MESSAGE"/>
<entry key="defaultOperationNamespace"
value="http://service.idemployee.com/"/>
</cxf:properties>
</cxf:cxfEndpoint>
<cxf:cxfEndpoint id="idemployeeRouterEndpoint"
address="http://0.0.0.0:9199/idemployee/soap"
wsdlURL="${idemployee-host}/idemployee-webservice/idemployeeService?wsdl"
endpointName="idemployeeService"
serviceName="idemployeeService"
xmlns:s="http://service.idemployee.com">
<cxf:inInterceptors>
<ref bean="loggingInInterceptor"/>
</cxf:inInterceptors>
<cxf:properties>
<entry key="dataFormat" value="MESSAGE"/>
</cxf:properties>
</cxf:cxfEndpoint>
</beans>
--
View this message in context:
http://camel.465427.n5.nabble.com/missing-requirement-org-apache-cxf-bundle-tp5769048.html
Sent from the Camel - Users mailing list archive at Nabble.com.