What about your application bundle, what does it import ? Does it import all the jws annotations ?
cheers, Sergey On Wed, Aug 25, 2010 at 9:47 AM, Schneider Christian < [email protected]> wrote: > I have set the start levels so that the spec packages are loaded first. The > console messages below show that the javax.xml.bind.* packages are resolved > to the same package in jaxb impl and cxf. I still get the same error though. > Could it be that cxf can not load or instantiate my stub classes. I must > confess I do not really understand how cxf can access / create these classes > at all. Do I have to enable something like buiddy classloading or should > this simply work? > > I have done an interesting experiment. I added the cxf-bundle-minimal jar > to the project in a lib dir, adjusted the require bundles and the call > worked. So I suspect that the problem could be that cxf can not access my > stub classes. Could I be right? Any ideas how to fix that with normal > bundles? > > Greetings > > Christian > > osgi> bundle 17 > init...@reference:file:plugins/org.apache.servicemix.bundles.jaxb-impl-2.1.6_1.jar/ > [17] > Id=17, Status=ACTIVE Data > Root=D:\ws\eclipsercp\.metadata\.plugins\org.eclipse.pde.core\OSGi > Framework\org.eclipse.osgi\bundles\17\data > No registered services. > No services in use. > Exported packages > com.sun.xml.bind.v2; version="0.0.0"[exported] > com.sun.xml.txw2; version="2.1.6"[exported] > com.sun.xml.bind.v2.model.annotation; version="0.0.0"[exported] > com.sun.xml.bind.unmarshaller; version="0.0.0"[exported] > com.sun.xml.bind.api.impl; version="0.0.0"[exported] > com.sun.xml.txw2.output; version="2.1.6"[exported] > com.sun.xml.bind.v2.schemagen.episode; version="0.0.0"[exported] > com.sun.xml.bind.v2.util; version="0.0.0"[exported] > com.sun.xml.bind.v2.runtime.unmarshaller; version="0.0.0"[exported] > com.sun.xml.bind.marshaller; version="0.0.0"[exported] > com.sun.xml.bind.v2.model.runtime; version="0.0.0"[exported] > com.sun.xml.bind.v2.runtime.reflect.opt; version="0.0.0"[exported] > com.sun.xml.bind.v2.schemagen.xmlschema; version="0.0.0"[exported] > com.sun.istack; version="0.0.0"[exported] > com.sun.xml.bind; version="0.0.0"[exported] > com.sun.xml.bind.v2.model.core; version="0.0.0"[exported] > com.sun.xml.bind.v2.runtime.output; version="0.0.0"[exported] > com.sun.xml.bind.v2.bytecode; version="0.0.0"[exported] > com.sun.xml.bind.api; version="0.0.0"[exported] > com.sun.xml.bind.v2.model.impl; version="0.0.0"[exported] > com.sun.xml.bind.v2.model.nav; version="0.0.0"[exported] > com.sun.xml.txw2.annotation; version="2.1.6"[exported] > com.sun.xml.bind.v2.schemagen; version="0.0.0"[exported] > com.sun.xml.bind.util; version="0.0.0"[exported] > com.sun.xml.bind.v2.runtime.reflect; version="0.0.0"[exported] > com.sun.xml.bind.v2.runtime; version="0.0.0"[exported] > com.sun.xml.bind.annotation; version="0.0.0"[exported] > com.sun.xml.bind.v2.runtime.property; version="0.0.0"[exported] > Imported packages > javax.activation; > version="1.1.0"<init...@reference:file:plugins/geronimo-activation_1.1_spec-1.0.2.jar/ > [16]> > javax.imageio; version="0.0.0"<System Bundle [0]> > javax.imageio.stream; version="0.0.0"<System Bundle [0]> > javax.xml.bind; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.bind.annotation; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.bind.annotation.adapters; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.bind.attachment; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.bind.helpers; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.datatype; version="0.0.0"<System Bundle [0]> > javax.xml.namespace; version="0.0.0"<System Bundle [0]> > javax.xml.parsers; version="0.0.0"<System Bundle [0]> > javax.xml.stream; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.stax-api-1.0-1.3.0.jar/ > [7]> > javax.xml.stream.events; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.stax-api-1.0-1.3.0.jar/ > [7]> > javax.xml.transform; version="0.0.0"<System Bundle [0]> > javax.xml.transform.dom; version="0.0.0"<System Bundle [0]> > javax.xml.transform.sax; version="0.0.0"<System Bundle [0]> > javax.xml.transform.stream; version="0.0.0"<System Bundle [0]> > javax.xml.validation; version="0.0.0"<System Bundle [0]> > org.w3c.dom; version="0.0.0"<System Bundle [0]> > org.xml.sax; version="0.0.0"<System Bundle [0]> > org.xml.sax.ext; version="0.0.0"<System Bundle [0]> > org.xml.sax.helpers; version="0.0.0"<System Bundle [0]> > No fragment bundles > Named class space > org.apache.servicemix.bundles.jaxb-impl; > bundle-version="2.1.6.1"[provided] > No required bundles > > osgi> bundle 3 > init...@reference:file:plugins/cxf-bundle-minimal-2.2.10.jar/ [3] > Id=3, Status=ACTIVE Data > Root=D:\ws\eclipsercp\.metadata\.plugins\org.eclipse.pde.core\OSGi > Framework\org.eclipse.osgi\bundles\3\data > No registered services. > No services in use. > Exported packages > org.apache.cxf.ws.security.policy.builders; version="2.2.10"[exported] > org.apache.cxf.configuration.jsse; version="2.2.10"[exported] > org.apache.cxf.jaxrs.utils; version="2.2.10"[exported] > org.apache.cxf.ws.security.trust; version="2.2.10"[exported] > org.apache.cxf.clustering.spring; version="2.2.10"[exported] > org.apache.cxf.transport.http.gzip; version="2.2.10"[exported] > org.apache.cxf.transport.https; version="2.2.10"[exported] > org.apache.cxf.resource; version="2.2.10"[exported] > org.apache.cxf.transports.http_jetty.configuration; > version="2.2.10"[exported] > org.apache.cxf.jaxws.handler.logical; version="2.2.10"[exported] > org.apache.cxf.ws.security.wss4j; version="2.2.10"[exported] > org.apache.cxf.annotations; version="2.2.10"[exported] > org.apache.cxf.databinding; version="2.2.10"[exported] > org.apache.cxf.endpoint; version="2.2.10"[exported] > org.apache.cxf.ws.rm; version="2.2.10"[exported] > org.apache.cxf.jaxws.interceptors; version="2.2.10"[exported] > org.apache.cxf.jaxws.binding.http; version="2.2.10"[exported] > org.apache.cxf.interceptor.security; version="2.2.10"[exported] > org.apache.cxf.jaxrs.provider; version="2.2.10"[exported] > org.apache.cxf.databinding.source; version="2.2.10"[exported] > org.apache.cxf.ws.policy.selector; version="2.2.10"[exported] > org.apache.cxf.tools.validator; version="2.2.10"[exported] > org.apache.cxf.binding.soap.saaj; version="2.2.10"[exported] > org.apache.cxf.aegis.type.encoded; version="2.2.10"[exported] > org.apache.cxf.ws.security.policy.model; version="2.2.10"[exported] > org.apache.cxf.security.transport; version="2.2.10"[exported] > org.apache.cxf.feature; version="2.2.10"[exported] > org.apache.cxf.phase; version="2.2.10"[exported] > org.apache.cxf.binding.xml.wsdl11; version="2.2.10"[exported] > org.apache.cxf.management.utils; version="2.2.10"[exported] > org.apache.cxf.attachment; version="2.2.10"[exported] > org.apache.cxf.binding; version="2.2.10"[exported] > org.apache.cxf.ws.policy.attachment.reference; > version="2.2.10"[exported] > org.apache.cxf.ws.addressing.v200408; version="2.2.10"[exported] > org.apache.cxf.tools.common.dom; version="2.2.10"[exported] > org.apache.cxf.common.commands; version="2.2.10"[exported] > org.apache.cxf.management.counters; version="2.2.10"[exported] > org.apache.cxf.binding.xml.interceptor; version="2.2.10"[exported] > org.apache.cxf.management; version="2.2.10"[exported] > org.apache.cxf.configuration; version="2.2.10"[exported] > org.apache.cxf.common.xmlschema; version="2.2.10"[exported] > org.apache.cxf.jaxrs.lifecycle; version="2.2.10"[exported] > org.apache.cxf.jaxrs.ext.xml; version="2.2.10"[exported] > org.apache.cxf.clustering; version="2.2.10"[exported] > org.apache.cxf.transport.http_jetty.spring; version="2.2.10"[exported] > org.apache.cxf.jaxws.binding; version="2.2.10"[exported] > org.apache.cxf.security; version="2.2.10"[exported] > org.apache.cxf.helpers; version="2.2.10"[exported] > org.apache.cxf.ws.rm.persistence; version="2.2.10"[exported] > org.apache.cxf.common.i18n; version="2.2.10"[exported] > org.apache.cxf.service.factory; version="2.2.10"[exported] > org.apache.cxf.jaxrs.model; version="2.2.10"[exported] > org.apache.cxf.ws.rm.manager; version="2.2.10"[exported] > org.apache.cxf.ws.policy; version="2.2.10"[exported] > org.apache.cxf.transport.http; version="2.2.10"[exported] > org.apache.cxf.ws.policy.attachment.wsdl11; version="2.2.10"[exported] > org.apache.cxf.ws.policy.builder.xml; version="2.2.10"[exported] > org.apache.cxf.jaxrs.ext; version="2.2.10"[exported] > org.apache.cxf.buslifecycle; version="2.2.10"[exported] > org.apache.cxf.management.interceptor; version="2.2.10"[exported] > org.apache.cxf.jaxws.handler.soap; version="2.2.10"[exported] > org.apache.cxf.wsdl.http; version="2.2.10"[exported] > org.apache.cxf.common.classloader; version="2.2.10"[exported] > org.apache.cxf.ws.policy.util; version="2.2.10"[exported] > org.apache.cxf.configuration.spring; version="2.2.10"[exported] > org.apache.cxf.jaxrs.interceptor; version="2.2.10"[exported] > org.apache.cxf.wsdl11; version="2.2.10"[exported] > org.apache.cxf.ws.security.tokenstore; version="2.2.10"[exported] > org.apache.cxf.jaxws.javaee; version="2.2.10"[exported] > org.apache.cxf.jaxrs.ext.atom; version="2.2.10"[exported] > org.apache.cxf.tools.common.model; version="2.2.10"[exported] > org.apache.cxf.aegis.databinding; version="2.2.10"[exported] > org.apache.cxf.jaxws.context; version="2.2.10"[exported] > org.apache.cxf.extension; version="2.2.10"[exported] > org.apache.cxf.ws.addressing.spring; version="2.2.10"[exported] > org.apache.cxf.transport.https_jetty; version="2.2.10"[exported] > org.apache.cxf.ws.policy.v200607; version="2.2.10"[exported] > org.apache.cxf.message; version="2.2.10"[exported] > org.apache.cxf.jaxrs.model.wadl; version="2.2.10"[exported] > org.apache.cxf.tools.common.toolspec; version="2.2.10"[exported] > org.apache.cxf.aegis.xml.jdom; version="2.2.10"[exported] > org.apache.cxf.ws.policy.attachment; version="2.2.10"[exported] > org.apache.cxf.management.jmx; version="2.2.10"[exported] > org.apache.cxf.test; version="2.2.10"[exported] > org.apache.cxf.binding.soap.model; version="2.2.10"[exported] > org.apache.cxf.jaxrs.client; version="2.2.10"[exported] > org.apache.cxf.jaxrs.ext.multipart; version="2.2.10"[exported] > org.apache.cxf.aegis.type.xml; version="2.2.10"[exported] > org.apache.cxf.aegis.xml; version="2.2.10"[exported] > org.apache.cxf.bus.resource; version="2.2.10"[exported] > org.apache.cxf.aegis.type; version="2.2.10"[exported] > org.apache.cxf.transport.http_jetty.continuations; > version="2.2.10"[exported] > org.apache.cxf.ws.policy.builder.jaxb; version="2.2.10"[exported] > org.apache.cxf.continuations; version="2.2.10"[exported] > org.apache.cxf.service.invoker; version="2.2.10"[exported] > org.apache.cxf.binding.xml; version="2.2.10"[exported] > org.apache.cxf.bus.spring; version="2.2.10"[exported] > org.apache.cxf.configuration.security; version="2.2.10"[exported] > org.apache.cxf.management.annotation; version="2.2.10"[exported] > org.apache.cxf.jaxrs.utils.schemas; version="2.2.10"[exported] > org.apache.cxf.ws.policy.mtom; version="2.2.10"[exported] > org.apache.cxf.jaxws.support; version="2.2.10"[exported] > org.apache.cxf.aegis.util; version="2.2.10"[exported] > org.apache.cxf.binding.soap.wsdl11; version="2.2.10"[exported] > org.apache.cxf.jaxb; version="2.2.10"[exported] > org.apache.cxf.workqueue; version="2.2.10"[exported] > org.apache.cxf.ws.rm.feature; version="2.2.10"[exported] > org.apache.cxf.transport.jms.spring; version="2.2.10"[exported] > org.apache.cxf.logging; version="2.2.10"[exported] > org.apache.cxf.ws.security.wss4j.policyhandlers; > version="2.2.10"[exported] > org.apache.cxf.aegis.xml.stax; version="2.2.10"[exported] > org.apache.cxf.jaxrs.utils.multipart; version="2.2.10"[exported] > org.apache.cxf.transport.http.spring; version="2.2.10"[exported] > org.apache.cxf.ws.addressing.v200403; version="2.2.10"[exported] > org.apache.cxf.bus; version="2.2.10"[exported] > org.apache.cxf.xmlbeans; version="2.2.10"[exported] > org.apache.cxf.ws.addressing.policy; version="2.2.10"[exported] > org.apache.cxf.frontend.spring; version="2.2.10"[exported] > org.apache.cxf.common.annotation; version="2.2.10"[exported] > org.apache.cxf.configuration.jsse.spring; version="2.2.10"[exported] > org.apache.cxf.ws.policy.v200409; version="2.2.10"[exported] > org.apache.cxf.ws.policy.spring; version="2.2.10"[exported] > org.apache.cxf.jaxb.io; version="2.2.10"[exported] > org.apache.cxf.version; version="2.2.10"[exported] > org.apache.cxf.tools.common; version="2.2.10"[exported] > org.apache.cxf.ws.rm.spring; version="2.2.10"[exported] > org.apache.cxf.aegis.type.java5; version="2.2.10"[exported] > org.apache.cxf.endpoint.dynamic; version="2.2.10"[exported] > org.apache.cxf.jaxrs.ext.form; version="2.2.10"[exported] > org.apache.cxf.jaxws.endpoint.dynamic; version="2.2.10"[exported] > org.apache.cxf.ws.addressing.soap; version="2.2.10"[exported] > org.apache.cxf.jca.outbound; version="2.2.10"[exported] > org.apache.cxf.service.model; version="2.2.10"[exported] > org.apache.cxf.transport; version="2.2.10"[exported] > org.apache.cxf.simple; version="2.2.10"[exported] > org.apache.cxf.interceptor; version="2.2.10"[exported] > org.apache.cxf.binding.soap; version="2.2.10"[exported] > org.apache.cxf.aegis.util.date; version="2.2.10"[exported] > org.apache.cxf; version="2.2.10"[exported] > org.apache.cxf.ws.rm.persistence.jdbc; version="2.2.10"[exported] > org.apache.cxf.staxutils; version="2.2.10"[exported] > org.apache.cxf.transport.http_jetty; version="2.2.10"[exported] > org.apache.cxf.jaxws.spring; version="2.2.10"[exported] > org.apache.cxf.headers; version="2.2.10"[exported] > org.apache.cxf.tools.common.extensions.soap; version="2.2.10"[exported] > org.apache.cxf.jaxb.attachment; version="2.2.10"[exported] > org.apache.cxf.transport.jms.wsdl11; version="2.2.10"[exported] > org.apache.cxf.frontend; version="2.2.10"[exported] > org.apache.cxf.jaxws.binding.soap; version="2.2.10"[exported] > org.apache.cxf.ws.policy.builder.primitive; version="2.2.10"[exported] > org.apache.cxf.bindings.xformat; version="2.2.10"[exported] > org.apache.cxf.xmlbeans.tools; version="2.2.10"[exported] > org.apache.cxf.jaxrs.impl; version="2.2.10"[exported] > org.apache.cxf.ws.security; version="2.2.10"[exported] > org.apache.cxf.aegis.type.mtom; version="2.2.10"[exported] > org.apache.cxf.ws.rm.policy; version="2.2.10"[exported] > org.apache.cxf.jaxrs.ext.codegen; version="2.2.10"[exported] > org.apache.cxf.transports.http; version="2.2.10"[exported] > org.apache.cxf.aegis.type.basic; version="2.2.10"[exported] > org.apache.cxf.transport.jms; version="2.2.10"[exported] > org.apache.cxf.bus.extension; version="2.2.10"[exported] > org.apache.cxf.ws.policy.attachment.external; version="2.2.10"[exported] > org.apache.cxf.tools.util; version="2.2.10"[exported] > org.apache.cxf.management.jmx.export.runtime; version="2.2.10"[exported] > org.apache.cxf.transport.jms.continuations; version="2.2.10"[exported] > org.apache.cxf.jaxws.handler; version="2.2.10"[exported] > org.apache.cxf.jaxrs; version="2.2.10"[exported] > org.apache.cxf.common.injection; version="2.2.10"[exported] > org.apache.cxf.common.security; version="2.2.10"[exported] > org.apache.cxf.aegis.type.collection; version="2.2.10"[exported] > org.apache.cxf.transport.http.policy; version="2.2.10"[exported] > org.apache.cxf.transport.servlet; version="2.2.10"[exported] > org.apache.cxf.common.logging; version="2.2.10"[exported] > org.apache.cxf.catalog; version="2.2.10"[exported] > org.apache.cxf.jaxws; version="2.2.10"[exported] > org.apache.cxf.ws.security.policy; version="2.2.10"[exported] > org.apache.cxf.aegis; version="2.2.10"[exported] > org.apache.cxf.binding.soap.spring; version="2.2.10"[exported] > org.apache.cxf.ws.rm.soap; version="2.2.10"[exported] > org.apache.cxf.common; version="2.2.10"[exported] > org.apache.cxf.common.util; version="2.2.10"[exported] > org.apache.cxf.binding.soap.interceptor; version="2.2.10"[exported] > org.apache.cxf.aegis.util.jdom; version="2.2.10"[exported] > org.apache.cxf.ws.addressing; version="2.2.10"[exported] > org.apache.cxf.aegis.util.stax; version="2.2.10"[exported] > org.apache.cxf.service; version="2.2.10"[exported] > org.apache.cxf.wsdl; version="2.2.10"[exported] > org.apache.cxf.databinding.stax; version="2.2.10"[exported] > org.apache.cxf.ws.security.policy.interceptors; > version="2.2.10"[exported] > org.apache.cxf.tools.common.toolspec.parser; version="2.2.10"[exported] > org.apache.cxf.jaxws.spi; version="2.2.10"[exported] > org.apache.cxf.jaxrs.servlet; version="2.2.10"[exported] > org.apache.cxf.databinding.source.mime; version="2.2.10"[exported] > org.apache.cxf.jaxrs.impl.tl; version="2.2.10"[exported] > org.apache.cxf.io; version="2.2.10"[exported] > org.apache.cxf.jaxrs.spring; version="2.2.10"[exported] > org.apache.cxf.ws.addressing.wsdl; version="2.2.10"[exported] > org.apache.cxf.transports.http.configuration; version="2.2.10"[exported] > META-INF.cxf; version="0.0.0"[exported] > META-INF.cxf.osgi; version="0.0.0"[exported] > schemas; version="0.0.0"[exported] > schemas.configuration; version="0.0.0"[exported] > schemas.wsdl; version="0.0.0"[exported] > Imported packages > com.ibm.wsdl.extensions.schema; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > com.ibm.wsdl.extensions.soap; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > com.sun.xml.bind.marshaller; > version="0.0.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.jaxb-impl-2.1.6_1.jar/ > [17]> > javax.activation; > version="1.1.0"<init...@reference:file:plugins/geronimo-activation_1.1_spec-1.0.2.jar/ > [16]> > javax.annotation; version="0.0.0"<System Bundle [0]> > javax.imageio; version="0.0.0"<System Bundle [0]> > javax.imageio.stream; version="0.0.0"<System Bundle [0]> > javax.jws; version="0.0.0"<System Bundle [0]> > javax.jws.soap; version="0.0.0"<System Bundle [0]> > javax.mail; > version="1.4.0"<init...@reference:file:plugins/geronimo-javamail_1.4_spec-1.2.jar/ > [15]> > javax.mail.internet; > version="1.4.0"<init...@reference:file:plugins/geronimo-javamail_1.4_spec-1.2.jar/ > [15]> > javax.management; version="0.0.0"<System Bundle [0]> > javax.management.modelmbean; version="0.0.0"<System Bundle [0]> > javax.management.remote; version="0.0.0"<System Bundle [0]> > javax.naming; version="0.0.0"<System Bundle [0]> > javax.net.ssl; version="0.0.0"<System Bundle [0]> > javax.security.auth; version="0.0.0"<System Bundle [0]> > javax.security.auth.callback; version="0.0.0"<System Bundle [0]> > javax.security.auth.x500; version="0.0.0"<System Bundle [0]> > javax.transaction.xa; version="0.0.0"<System Bundle [0]> > javax.ws.rs; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jsr311-api-1.0-1.3.0.jar/ > [2]> > javax.ws.rs.core; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jsr311-api-1.0-1.3.0.jar/ > [2]> > javax.ws.rs.ext; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jsr311-api-1.0-1.3.0.jar/ > [2]> > javax.wsdl; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.extensions; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.extensions.http; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.extensions.mime; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.extensions.schema; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.extensions.soap; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.extensions.soap12; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.factory; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.wsdl.xml; > version="1.6.1"<init...@reference:file:plugins/com.springsource.javax.wsdl-1.6.1.jar/ > [13]> > javax.xml.bind; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.bind.annotation; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.bind.annotation.adapters; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.bind.attachment; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ > [4]> > javax.xml.datatype; version="0.0.0"<System Bundle [0]> > javax.xml.namespace; version="0.0.0"<System Bundle [0]> > javax.xml.parsers; version="0.0.0"<System Bundle [0]> > javax.xml.soap; version="0.0.0"<System Bundle [0]> > javax.xml.stream; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.stax-api-1.0-1.3.0.jar/ > [7]> > javax.xml.stream.events; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.stax-api-1.0-1.3.0.jar/ > [7]> > javax.xml.stream.util; > version="1.0.0"<init...@reference:file:plugins/org.apache.servicemix.specs.stax-api-1.0-1.3.0.jar/ > [7]> > javax.xml.transform; version="0.0.0"<System Bundle [0]> > javax.xml.transform.dom; version="0.0.0"<System Bundle [0]> > javax.xml.transform.sax; version="0.0.0"<System Bundle [0]> > javax.xml.transform.stream; version="0.0.0"<System Bundle [0]> > javax.xml.validation; version="0.0.0"<System Bundle [0]> > javax.xml.ws; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxws-api-2.1-1.3.0.jar/ > [5]> > javax.xml.ws.handler; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxws-api-2.1-1.3.0.jar/ > [5]> > javax.xml.ws.handler.soap; version="0.0.0"<System Bundle [0]> > javax.xml.ws.http; version="0.0.0"<System Bundle [0]> > javax.xml.ws.soap; version="0.0.0"<System Bundle [0]> > javax.xml.ws.spi; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxws-api-2.1-1.3.0.jar/ > [5]> > javax.xml.ws.wsaddressing; > version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxws-api-2.1-1.3.0.jar/ > [5]> > javax.xml.xpath; version="0.0.0"<System Bundle [0]> > org.apache.neethi; > version="2.0.4"<init...@reference:file:plugins/org.apache.servicemix.bundles.neethi-2.0.4_1.jar/ > [28]> > org.apache.ws.commons.schema; > version="1.4.5"<init...@reference:file:plugins/XmlSchema-1.4.5.jar/ > [23]> > org.apache.ws.commons.schema.constants; > version="1.4.5"<init...@reference:file:plugins/XmlSchema-1.4.5.jar/ [23]> > org.apache.ws.commons.schema.extensions; > version="1.4.5"<init...@reference:file:plugins/XmlSchema-1.4.5.jar/ [23]> > org.apache.ws.commons.schema.resolver; > version="1.4.5"<init...@reference:file:plugins/XmlSchema-1.4.5.jar/ > [23]> > org.apache.ws.commons.schema.utils; > version="1.4.5"<init...@reference:file:plugins/XmlSchema-1.4.5.jar/ > [23]> > org.apache.xml.resolver; > version="1.2.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlresolver-1.2_1.jar/ > [10]> > org.apache.xml.resolver.helpers; > version="1.2.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlresolver-1.2_1.jar/ > [10]> > org.apache.xml.resolver.tools; > version="1.2.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlresolver-1.2_1.jar/ > [10]> > org.apache.xml.security.keys.content; > version="1.3.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlsec-1.3.0_1.jar/ > [1]> > org.apache.xml.security.keys.content.keyvalues; > version="1.3.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlsec-1.3.0_1.jar/ > [1]> > org.apache.xml.security.signature; > version="1.3.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlsec-1.3.0_1.jar/ > [1]> > org.apache.xml.security.transforms; > version="1.3.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlsec-1.3.0_1.jar/ > [1]> > org.apache.xml.security.utils; > version="1.3.0"<init...@reference:file:plugins/org.apache.servicemix.bundles.xmlsec-1.3.0_1.jar/ > [1]> > org.objectweb.asm; > version="1.5.3"<init...@reference:file:plugins/com.springsource.org.objectweb.asm-1.5.3.jar/ > [14]> > org.springframework.aop; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.aop-2.5.6.A.jar/ > [25]> > org.springframework.aop.framework; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.aop-2.5.6.A.jar/ > [25]> > org.springframework.aop.support; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.aop-2.5.6.A.jar/ > [25]> > org.springframework.beans; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.beans-2.5.6.A.jar/ > [19]> > org.springframework.beans.factory; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.beans-2.5.6.A.jar/ > [19]> > org.springframework.beans.factory.annotation; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.beans-2.5.6.A.jar/ > [19]> > org.springframework.beans.factory.config; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.beans-2.5.6.A.jar/ > [19]> > org.springframework.beans.factory.support; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.beans-2.5.6.A.jar/ > [19]> > org.springframework.beans.factory.wiring; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.beans-2.5.6.A.jar/ > [19]> > org.springframework.beans.factory.xml; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.beans-2.5.6.A.jar/ > [19]> > org.springframework.context; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.context-2.5.6.A.jar/ > [22]> > org.springframework.context.event; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.context-2.5.6.A.jar/ > [22]> > org.springframework.context.support; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.context-2.5.6.A.jar/ > [22]> > org.springframework.core; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.core-2.5.6.A.jar/ > [26]> > org.springframework.core.io; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.core-2.5.6.A.jar/ > [26]> > org.springframework.core.io.support; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.core-2.5.6.A.jar/ > [26]> > org.springframework.core.task; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.core-2.5.6.A.jar/ > [26]> > org.springframework.jndi; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.context-2.5.6.A.jar/ > [22]> > org.springframework.util; > version="2.5.6.A"<init...@reference:file:plugins/org.springframework.core-2.5.6.A.jar/ > [26]> > org.w3c.dom; version="0.0.0"<System Bundle [0]> > org.w3c.dom.bootstrap; version="0.0.0"<System Bundle [0]> > org.w3c.dom.ls; version="0.0.0"<System Bundle [0]> > org.xml.sax; version="0.0.0"<System Bundle [0]> > org.xml.sax.ext; version="0.0.0"<System Bundle [0]> > org.xml.sax.helpers; version="0.0.0"<System Bundle [0]> > No fragment bundles > Named class space > org.apache.cxf.bundle-minimal; bundle-version="2.2.10"[provided] > No required bundles > > > > > Christian Schneider > Informationsverarbeitung > Business Solutions > Handel und Dispatching > > Tel : +49-(0)721-63-15482 > > EnBW Systeme Infrastruktur Support GmbH > Sitz der Gesellschaft: Karlsruhe > Handelsregister: Amtsgericht Mannheim HRB 108550 > Vorsitzender des Aufsichtsrats: Dr. Bernhard Beck > Geschäftsführer: Jochen Adenau, Hans-Günther Meier > > > -----Ursprüngliche Nachricht----- > Von: Daniel Kulp [mailto:[email protected]] > Gesendet: Dienstag, 24. August 2010 20:38 > An: [email protected] > Cc: Schneider Christian > Betreff: Re: Problem with service call in osgi: Unmarshalling Error: > unexpected element (uri:"", local:"customers"). Expected elements are (none) > > > My gut feeling is that you have a startup ordering issue. Try moving the > servicemix.spec and servicemix.bundle bundles to BEFORE the CXF bundle. > > What I think may be happening is that CXF is resolving the javax.xml.bind > anntations to the versions built into the JDK, but the jaxb-impl bundle is > resolving it to the servicemix.spec version. Thus, the annotions don't > match > so the the jaxb context doesn't recognize the annotations and is just doing > some default things. > > You could check by doing a "bundle 72" and "bundle 91" and see where they > are > finding their javax.xml.bind annotations. > > > Dan >
