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.