You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Krzysztof Adamczyk <kr...@gmail.com> on 2008/10/30 14:31:29 UTC
Web service deployed as WAR
Hi!
I need to deploy a simple Web Service as a web application (WAR).
Is it possible without including all the Axis2 libs in my WAR?
I know that if would deploy it as AAR i wouldn't need these libs,
but for some reasons I have to have a WAR application.
Any help appreciated.
Greetings,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Web service deployed as WAR
Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Oct 31, 2008 at 5:10 PM, Krzysztof Adamczyk <
krzysztof.adamczyk@gmail.com> wrote:
> Thanks for your reply.
> I limited the amount of jars needed to about 9MB and it's fine for me.
> I would just like to know if my approach is okay (I mean including
> axis jars in my webapp)?
> What do you think about it?
yes. if you look at the Axis2.war distribution it is a war. you can find the
web.xml file inside the
WEB-INF folder and Axis2 servlet is declared on it. in other words Axis2 is
a servlet.
So you can add that servlet to your web applicatoin.
thanks,
Amila.
>
>
> Greetings,
> Chris
>
> On Fri, Oct 31, 2008 at 12:34 PM, Amila Suriarachchi
> <am...@gmail.com> wrote:
> >
> >
> > On Thu, Oct 30, 2008 at 7:01 PM, Krzysztof Adamczyk
> > <kr...@gmail.com> wrote:
> >>
> >> Hi!
> >>
> >> I need to deploy a simple Web Service as a web application (WAR).
> >> Is it possible without including all the Axis2 libs in my WAR?
> >
> > It depends on the service you have written. certainly you don't need all
> the
> > jars.
> >
> > thanks,
> > Amila.
> >>
> >> I know that if would deploy it as AAR i wouldn't need these libs,
> >> but for some reasons I have to have a WAR application.
> >> Any help appreciated.
> >>
> >> Greetings,
> >> Chris
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/
Re: Web service deployed as WAR
Posted by Krzysztof Adamczyk <kr...@gmail.com>.
Thanks for your reply.
I limited the amount of jars needed to about 9MB and it's fine for me.
I would just like to know if my approach is okay (I mean including
axis jars in my webapp)?
What do you think about it?
Greetings,
Chris
On Fri, Oct 31, 2008 at 12:34 PM, Amila Suriarachchi
<am...@gmail.com> wrote:
>
>
> On Thu, Oct 30, 2008 at 7:01 PM, Krzysztof Adamczyk
> <kr...@gmail.com> wrote:
>>
>> Hi!
>>
>> I need to deploy a simple Web Service as a web application (WAR).
>> Is it possible without including all the Axis2 libs in my WAR?
>
> It depends on the service you have written. certainly you don't need all the
> jars.
>
> thanks,
> Amila.
>>
>> I know that if would deploy it as AAR i wouldn't need these libs,
>> but for some reasons I have to have a WAR application.
>> Any help appreciated.
>>
>> Greetings,
>> Chris
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Web service deployed as WAR
Posted by Amila Suriarachchi <am...@gmail.com>.
On Thu, Oct 30, 2008 at 7:01 PM, Krzysztof Adamczyk <
krzysztof.adamczyk@gmail.com> wrote:
> Hi!
>
> I need to deploy a simple Web Service as a web application (WAR).
> Is it possible without including all the Axis2 libs in my WAR?
It depends on the service you have written. certainly you don't need all the
jars.
thanks,
Amila.
>
> I know that if would deploy it as AAR i wouldn't need these libs,
> but for some reasons I have to have a WAR application.
> Any help appreciated.
>
> Greetings,
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/