atom feed6 messages in org.apache.ws.commons-devUsing AXIOM with OSGi - Some help app...
FromSent OnAttachments
Mike EdwardsJan 2, 2009 1:19 pm 
Andreas VeithenJan 4, 2009 8:33 am 
David IllsleyJan 5, 2009 9:56 am 
Andreas VeithenJan 5, 2009 10:09 am 
David IllsleyJan 27, 2009 10:22 am 
Andreas VeithenJan 27, 2009 10:39 am 
Subject:Using AXIOM with OSGi - Some help appreciated
From:Mike Edwards (mike@gmail.com)
Date:Jan 2, 2009 1:19:10 pm
List:org.apache.ws.commons-dev

Folks,

I am writing as a developer on the Apache Tuscany project.

We are building a version of Tuscany that runs on OSGi - and we use AXIOM in our
codebase.

We're experiencing some problems associated with running AXIOM under OSGi and
I'm hoping that you will be able to help us fix those problems.

We're using the axiom-api jar (version 1.2.7) and we run into some problems when
code inside this jar tries to load classes from axiom.impl jar. The axiom-api manifest does
declare SOME dependencies on packages inside axiom-impl, but it seems as if it needs to
declare some more. We ran into the following classes being loaded from axiom-api:

1) SOAP11Factory

org.apache.axiom.soap.impl.llom.soap11.SOAP11Factory (axiom-impl)

2) SOAP12Factory

org.apache.axiom.soap.impl.llom.soap12.SOAP12Factory (axiom-impl)

... both from OMAbstractFactory class

Does the manifest for axiom-api need to contain both of these packages as
imports? I note that the axiom-impl manifest does export both of them.

I patched the axiom-api manifest on my system by adding imports for those 2
packages and things seem to work just fine.

Many thanks,

Yours, Mike.