Hi Sergey, that could very well be the problem I have. I did not import these packages. I now tried to add javax.xml.bind.annotation but got a package uses conflict ( see below).
I have tried packages javax.xml.bind.annotation to find the reason but for me this looks ok: javax.xml.bind.annotation; version="0.0.0"<System Bundle [0]> javax.xml.bind.annotation; version="2.1.0"<init...@reference:file:plugins/org.apache.servicemix.specs.jaxb-api-2.1-1.3.0.jar/ [17]> init...@reference:file:plugins/org.apache.servicemix.bundles.jaxb-impl-2.1.6_1.jar/ [10] imports init...@reference:file:plugins/cxf-bundle-minimal-2.2.10.jar/ [16] imports init...@reference:file:plugins/org.apache.servicemix.specs.jaxws-api-2.1-1.3.0.jar/ [19] imports Any idea what goes wrong here? I hate those package uses conflicts .. they do not seem to reallly help to find the cause. Grretings Christian 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 ----------- ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.4.3.R34x_v20081215-1030 1 ACTIVE org.apache.servicemix.bundles.neethi_2.0.4.1 2 INSTALLED customerserviceclient_1.0.0 3 ACTIVE org.apache.servicemix.bundles.xmlresolver_1.2.0.1 4 ACTIVE org.springframework.aop_2.5.6.A 5 ACTIVE org.springframework.osgi.extender_1.1.3.RELEASE 6 ACTIVE com.springsource.org.apache.commons.logging_1.1.1 7 ACTIVE org.apache.servicemix.bundles.xmlschema_1.4.3.1 8 ACTIVE org.apache.servicemix.bundles.asm_2.2.3.1 9 ACTIVE org.springframework.osgi.core_1.1.3.RELEASE 10 ACTIVE org.apache.servicemix.bundles.jaxb-impl_2.1.6.1 11 ACTIVE org.apache.servicemix.bundles.wsdl4j_1.6.1.1 12 ACTIVE org.apache.geronimo.specs.geronimo-javamail_1.4_spec_1.2.0 13 ACTIVE org.apache.servicemix.bundles.woodstox_3.2.7.1 14 ACTIVE org.springframework.context_2.5.6.A 15 ACTIVE org.apache.servicemix.specs.saaj-api-1.3_1.3.0 16 ACTIVE org.apache.cxf.bundle-minimal_2.2.10 17 ACTIVE org.apache.servicemix.specs.jaxb-api-2.1_1.3.0 18 ACTIVE org.springframework.core_2.5.6.A 19 ACTIVE org.apache.servicemix.specs.jaxws-api-2.1_1.3.0 20 ACTIVE com.springsource.org.aopalliance_1.0.0 21 ACTIVE org.springframework.beans_2.5.6.A 22 ACTIVE org.apache.geronimo.specs.geronimo-activation_1.1_spec_1.0.2 23 ACTIVE org.springframework.osgi.io_1.1.3.RELEASE 24 ACTIVE org.apache.servicemix.specs.stax-api-1.0_1.3.0 osgi> diag 2 init...@reference:file:../../../eclipsercp/customerserviceclient/ [2] Package uses conflict: Import-Package: javax.xml.bind.annotation; version="2.1.0" --------- Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Customerserviceclient Plug-in Bundle-SymbolicName: customerserviceclient; singleton:=true Bundle-Version: 1.0.0 Bundle-Activator: customerserviceclient.Activator Require-Bundle: org.eclipse.osgi;bundle-version="3.4.3", com.springsource.org.apache.commons.logging;bundle-version="1.1.1", org.apache.cxf.bundle-minimal;bundle-version="2.2.10" Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Spring-Context: META-INF/spring/bundle-context.xml Export-Package: net.enbw.services.etg.examples.customerservice Bundle-ClassPath: . Import-Package: javax.xml.bind.annotation;version="2.1.0", org.springframework.beans.factory, org.springframework.beans.factory.config;version="2.5.6.A" ---------- -----Ursprüngliche Nachricht----- Von: Sergey Beryozkin [mailto:[email protected]] Gesendet: Mittwoch, 25. August 2010 10:57 An: [email protected] Betreff: Re: Problem with service call in osgi: Unmarshalling Error: unexpected element (uri:"", local:"customers"). Expected elements are (none) What about your application bundle, what does it import ? Does it import all the jws annotations ? cheers, Sergey
