You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by anas bakhou <an...@gmail.com> on 2015/04/03 18:43:47 UTC

Re: Axis bundle?

Hi, 
What do you mean by OSGI metadata header ? Do you Mean the manifest.Mf File
!! Please can any one help me I have the same problem.



--
View this message in context: http://servicemix.396122.n5.nabble.com/Axis-bundle-tp4538960p5722458.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Axis bundle?

Posted by se...@gmail.com.
To actually get axis working in OSGi you need to do a bit more due to class loading.




Imports





 !com.sun*,

        !org.apache.bsf*,

        !org.exolab.castor*,

        !sun*,

        !org.apache.commons.net.pop3,

        !org.apache.commons.net.smtp,

        !org.apache.log,*




Then I ended up embedding this - 





axis,commons-beanutils,commons-discovery-0.2,jaxrpc,log4j-1.2.6,saaj,wsdl4j-1.5.1,chConsumer,commons-logging




Dependencies - 





<dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>axis</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/axis.jar</systemPath>

         <scope>system</scope>

      </dependency>

      <dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>commons-beanutils</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/commons-beanutils.jar</systemPath>

         <scope>system</scope>

      </dependency>

      <dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>commons-discovery-0.2</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/commons-discovery-0.2.jar</systemPath>

         <scope>system</scope>

      </dependency>

      <dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>commons-logging</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/commons-logging.jar</systemPath>

         <scope>system</scope>

      </dependency>

      <dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>jaxrpc</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/jaxrpc.jar</systemPath>

         <scope>system</scope>

      </dependency>

      <dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>log4j-1.2.6</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/log4j-1.2.6.jar</systemPath>

         <scope>system</scope>

      </dependency>

      <dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>saaj</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/saaj.jar</systemPath>

         <scope>system</scope>

      </dependency>

      <dependency>

         <groupId>myproject.old.stuff</groupId>

         <artifactId>wsdl4j-1.5.1</artifactId>

         <version>1.0</version>

         <systemPath>${project.basedir}/lib/wsdl4j-1.5.1.jar</systemPath>

         <scope>system</scope>

      </dependency>




And finally some overridden axis classes…..

On Sat, Apr 4, 2015 at 12:43 AM, anas bakhou <an...@gmail.com>
wrote:

> Hi, 
> What do you mean by OSGI metadata header ? Do you Mean the manifest.Mf File
> !! Please can any one help me I have the same problem.
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Axis-bundle-tp4538960p5722458.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.