axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Pfeifer" <>
Subject RE: [Axis2] How to use Axis library in a war file
Date Thu, 22 Mar 2007 14:00:20 GMT

We use maven to copy the aar file into the WEB/services directory of the webapp.  If you build
your aar file first using maven, then build your war, you can use the following pom.xml snippet
to copy your aar into your WAR.  It would be really nice if the Axis2 WAR distribution was
deployed to the ibiblio maven repository as this would make it much easier to use and extend
the default Axis2 WAR distribution.  

AAR files that are included in the WEB-INF/services directory are deployed on startup of the

                        <!-- run at compile time since tests may not be run and it's too
late at package time -->^M
                                <!-- LIST ALL AAR Dependencies that you want to be packaged
with the webservicecontainer -->^M


-----Original Message-----
From: []
Sent: Thu 3/22/2007 10:01 AM
Subject: [Axis2] How to use Axis library in a war file

I have basic question here, I m not sure whether it is addressed in the
forum before.
I have webapplication written, and I want to expose the business logic
of the web application  as service, to serve other stand alone clients.
I have used AXIS to expose service, so now I have two file.
1. WebArchive file(war)
2.AxisArchive file (aar)
We have business logic packaged as two file, .war file for web
client(browsers) and .aar file for stand alone client. 
Logically I should have just one file which should serve all clients. Is
there any means by which I can use Axis as library in .war file.
Is it possible to bundle the .aar file in the war file?????
Any pointers to the examples or documents for the same would be of great
Thanks & Regards,

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.

View raw message