Schneider Christian wrote:
Hi Willem,
I have not yet used servicemix (at least the 4.x version). I will try with
servicemix but my target environment will be eclipse rcp. My colleagues want to
call services from a rich client. So I guess even if it works with servicemix
it is not a suitable environment.
What do you mean by bundle header? The manifest?
Yeah, it's the manifest file which has the import and export packages.
BTW, in ServiceMix you can get control of which JVM system package will
be export into osgi platform, I guess you can do the same thing in the
eclipse rcp to export the right version of JAXB.
Willem
Greetings
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
-----Ursprüngliche Nachricht-----
Von: Willem Jiang [mailto:[email protected]]
Gesendet: Mittwoch, 25. August 2010 15:58
An: [email protected]
Betreff: Re: AW: Problem with service call in osgi: Unmarshalling Error: unexpected element
(uri:"", local:"customers"). Expected elements are (none)
Hi Christian,
Did you try to deploy your bundle into ServicemMix?
Can I have a look at your application bundle header?
Willem
Schneider Christian 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