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 Michele Mazzucco <Mi...@ncl.ac.uk> on 2006/10/26 12:55:51 UTC

[Axis2] Web application packaging howto

Hi all,

I've a web application which includes a web service. How does the
package work in this case? Is it the following?

WAR
-- jsp pages
-- WEB-INF
---- web.xml
---- lib
---- aar file including the web service



Thanks in advance,
Michele

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Web application packaging howto

Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Hi Deepal,


On 31 Oct 2006, at 08:10, Deepal Jayasinghe wrote:

> Hi Michele ;
>
>> Depal,
>>
>> If I copy the webapp packaged as you say in $CATALINA_HOME/webapps  
>> how
>> can the axis2 web service work?
>> If that location is wrong, which is the right one?
>>
>>
> I didnt get what you mean by this.
>
> You need to copy webapp package into  $CATALINA_HOME/webapps/axis2.

This is what I meant :). So war files including axis2 web services  
have to be copied to $CATALINA_HOME/webapps/axis2.

> Any way pls explain this a bit.
>
> Thanks
> Deepal


Thanks,
Michele
>
>> Thanks,
>> Michele
>>
>> Deepal Jayasinghe wrote:
>>
>>
>>> WAR
>>>  jsp pages
>>>  WEB-INF
>>>      services
>>>          aar files
>>>      modules
>>>          mar files
>>>      lib
>>>         lib files
>>>      classes
>>>          class files
>>>
>>>
>>> Thanks
>>> Deepal
>>>
>>> Michele Mazzucco wrote:
>>>
>>>
>>>
>>>> Hi all,
>>>>
>>>> I've a web application which includes a web service. How does the
>>>> package work in this case? Is it the following?
>>>>
>>>> WAR
>>>> -- jsp pages
>>>> -- WEB-INF
>>>> ---- web.xml
>>>> ---- lib
>>>> ---- aar file including the web service
>>>>
>>>>
>>>>
>>>> Thanks in advance,
>>>> Michele
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>
>>
>
> -- 
> Thanks,
> Deepal
> ................................................................
> "The highest tower is built one brick at a time"
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Web application packaging howto

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Michele ;

>Depal,
>
>If I copy the webapp packaged as you say in $CATALINA_HOME/webapps how
>can the axis2 web service work?
>If that location is wrong, which is the right one?
>  
>
I didnt get what you mean by this.

You need to copy webapp package into  $CATALINA_HOME/webapps/axis2.
Any way pls explain this a bit.

Thanks
Deepal

>Thanks,
>Michele
>
>Deepal Jayasinghe wrote:
>  
>
>>WAR
>>  jsp pages
>>  WEB-INF
>>      services
>>          aar files
>>      modules
>>          mar files
>>      lib
>>         lib files
>>      classes
>>          class files
>>
>>
>>Thanks
>>Deepal
>>
>>Michele Mazzucco wrote:
>>
>>    
>>
>>>Hi all,
>>>
>>>I've a web application which includes a web service. How does the
>>>package work in this case? Is it the following?
>>>
>>>WAR
>>>-- jsp pages
>>>-- WEB-INF
>>>---- web.xml
>>>---- lib
>>>---- aar file including the web service
>>>
>>>
>>>
>>>Thanks in advance,
>>>Michele
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>>>
>>> 
>>>
>>>      
>>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Web application packaging howto

Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Depal,

If I copy the webapp packaged as you say in $CATALINA_HOME/webapps how
can the axis2 web service work?
If that location is wrong, which is the right one?

Thanks,
Michele

Deepal Jayasinghe wrote:
> WAR
>   jsp pages
>   WEB-INF
>       services
>           aar files
>       modules
>           mar files
>       lib
>          lib files
>       classes
>           class files
> 
> 
> Thanks
> Deepal
> 
> Michele Mazzucco wrote:
> 
>> Hi all,
>>
>> I've a web application which includes a web service. How does the
>> package work in this case? Is it the following?
>>
>> WAR
>> -- jsp pages
>> -- WEB-INF
>> ---- web.xml
>> ---- lib
>> ---- aar file including the web service
>>
>>
>>
>> Thanks in advance,
>> Michele
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>  
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Web application packaging howto

Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Deepal,

thanks for you reply. What about classes shared between the web-app and
the web service (say, an exception): should it be put in
\WEB-INF\classes or in \WEB-INF\services\service.aar?
And what about common libraries?


Thanks,
Michele

Deepal Jayasinghe wrote:
> WAR
>   jsp pages
>   WEB-INF
>       services
>           aar files
>       modules
>           mar files
>       lib
>          lib files
>       classes
>           class files
> 
> 
> Thanks
> Deepal
> 
> Michele Mazzucco wrote:
> 
>> Hi all,
>>
>> I've a web application which includes a web service. How does the
>> package work in this case? Is it the following?
>>
>> WAR
>> -- jsp pages
>> -- WEB-INF
>> ---- web.xml
>> ---- lib
>> ---- aar file including the web service
>>
>>
>>
>> Thanks in advance,
>> Michele
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>  
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Web application packaging howto

Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Deepal,

I forgot a particular: if I put my service in /WEB-INF/services, is it
available from "outside" (i.e. can external clients invoke the web service)?


Thanks,
Michele

Deepal Jayasinghe wrote:
> WAR
>   jsp pages
>   WEB-INF
>       services
>           aar files
>       modules
>           mar files
>       lib
>          lib files
>       classes
>           class files
> 
> 
> Thanks
> Deepal
> 
> Michele Mazzucco wrote:
> 
>> Hi all,
>>
>> I've a web application which includes a web service. How does the
>> package work in this case? Is it the following?
>>
>> WAR
>> -- jsp pages
>> -- WEB-INF
>> ---- web.xml
>> ---- lib
>> ---- aar file including the web service
>>
>>
>>
>> Thanks in advance,
>> Michele
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>  
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Web application packaging howto

Posted by Deepal Jayasinghe <de...@opensource.lk>.
WAR
  jsp pages
  WEB-INF
      services
          aar files
      modules
          mar files
      lib
         lib files
      classes
          class files


Thanks
Deepal

Michele Mazzucco wrote:

>Hi all,
>
>I've a web application which includes a web service. How does the
>package work in this case? Is it the following?
>
>WAR
>-- jsp pages
>-- WEB-INF
>---- web.xml
>---- lib
>---- aar file including the web service
>
>
>
>Thanks in advance,
>Michele
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org