Code-First and Wsdl-First
atlantix Mar 8, 2011 4:23 AMI started two project using wsdl-first archetype and code-first archetype
I used mvn to compile and then I deployed
the wsdl-first web service deployed successfully and worked perfectly
the code-first failed at deployment giving the following message
installed but I couldnt start it
-->
Error executing command: The bundle "code-first_0.0.1.SNAPSHOT " could not be resolved. Reason: Missing Constraint: Import-Package: org.springframework.beans.factory.config; version="[2.5.0,3.0.0)"
trying to debug it ??
karaf@root> headers 225
A CXF Code First OSGi Project (225)
-
Manifest-Version = 1.0
Bnd-LastModified = 1299575066837
Tool = Bnd-1.15.0
Built-By = someone
Build-Jdk = 1.6.0_23
Created-By = Apache Maven Bundle Plugin
Bundle-Name = A CXF Code First OSGi Project
Bundle-SymbolicName = code-first
Bundle-Version = 0.0.1.SNAPSHOT
Bundle-ManifestVersion = 2
Import-Package =
META-INF.cxf,
META-INF.cxf.osgi,
javax.jws;version="[2.0,3)",
javax.wsdl,
javax.xml.bind,
javax.xml.bind.annotation,
javax.xml.namespace,
javax.xml.ws;version="[2.1,3)",
org.apache.cxf.bus,
org.apache.cxf.bus.resource,
org.apache.cxf.bus.spring,
org.apache.cxf.configuration.spring,
org.apache.cxf.jaxws,
org.apache.cxf.resource,
org.apache.cxf.transport.http_osgi,
org.springframework.beans.factory.config;version="[2.5,3)"
Export-Package =
ex.tuto.payments.code_first.client;uses:="ex.tuto.payments.code_first,org.apache.cxf.jaxws,javax.xml.ws",
ex.tuto.payments.code_first;
uses:="ex.tuto.payments.code_first.types,
javax.jws,
javax.xml.bind.annotation,
javax.xml.ws",
ex.tuto.payments.code_first.types;uses:=javax.xml.bind.annotation
Require-Bundle =
org.apache.cxf.bundle
karaf@root> headers 224
A CXF WSDL First OSGi Project (224)
-
Manifest-Version = 1.0
Bnd-LastModified = 1299509626297
Tool = Bnd-1.15.0
Built-By = someone
Build-Jdk = 1.6.0_23
Created-By = Apache Maven Bundle Plugin
Bundle-Name = A CXF WSDL First OSGi Project
Bundle-SymbolicName = wsdl-first
Bundle-Version = 0.0.1.SNAPSHOT
Bundle-ManifestVersion = 2
Import-Package =
META-INF.cxf,
META-INF.cxf.osgi,
javax.jws;version="[2.0,3)",
javax.wsdl,
javax.xml.bind,
javax.xml.bind.annotation,
javax.xml.namespace,
javax.xml.ws;version="[2.1,3)",
org.apache.cxf.bus,
org.apache.cxf.bus.resource,
org.apache.cxf.bus.spring,
org.apache.cxf.configuration.spring,
org.apache.cxf.jaxws,
org.apache.cxf.resource,
org.apache.cxf.transport.http_osgi,
org.springframework.beans.factory.config
Export-Package =
ex.tuto.payments.wsdl_first;
uses:="javax.jws,
org.apache.servicemix.samples.wsdl_first.types,
javax.xml.ws,
org.apache.servicemix.samples.wsdl_first",
org.apache.servicemix.samples.wsdl_first;
uses:="javax.jws,
javax.xml.bind.annotation,
org.apache.servicemix.samples.wsdl_first.types,
javax.xml.ws,
javax.xml.namespace",
org.apache.servicemix.samples.wsdl_first.types;uses:=javax.xml.bind.annotation
Require-Bundle =
org.apache.cxf.bundle