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 Moley Harey <mo...@gmail.com> on 2008/02/19 19:03:17 UTC

Deploy my Service in a different war than axis2.war

Hi folks!

I have developed an Axis2 Web Service and to deploy and use it in Tomcat I
generate the MyService.aar file and copy it into the
"$CATALINA_HOME/webapps/axis2/WEB-INF/services" folder so it gets deployed
correctly and is accesses in the url:

http://localhost:8080/axis2/services/MyService

My question is if I could build my own "mydeployment.war" file (instead of
using the standard axis2.war) and put there all the necessary jars,
configuration files and my own MyService.aar and deploy it directly into
Tomcat so the url to access it would be something like:

http://localhost:8080/mydeployment/services/MyService

Is it possible to do it?
Or all services implemented using Axis2 have to be deployed into axis.warfile??

Thanks in advance,

Mh

Re: Deploy my Service in a different war than axis2.war

Posted by Moley Harey <mo...@gmail.com>.
Thanks Antonio, the tutorial was very useful!!

2008/2/20, Antonio Manuel Muñiz Martín <am...@gmail.com>:
>
> See this:
>
> http://wso2.org/library/90
>
>
> 2008/2/19, Moley Harey <mo...@gmail.com>:
> >
> > Hi folks!
> >
> > I have developed an Axis2 Web Service and to deploy and use it in Tomcat
> > I generate the MyService.aar file and copy it into the
> > "$CATALINA_HOME/webapps/axis2/WEB-INF/services" folder so it gets deployed
> > correctly and is accesses in the url:
> >
> > http://localhost:8080/axis2/services/MyService
> >
> > My question is if I could build my own "mydeployment.war" file (instead
> > of using the standard axis2.war) and put there all the necessary jars,
> > configuration files and my own MyService.aar and deploy it directly into
> > Tomcat so the url to access it would be something like:
> >
> > http://localhost:8080/mydeployment/services/MyService
> >
> > Is it possible to do it?
> > Or all services implemented using Axis2 have to be deployed into
> > axis.war file??
> >
> > Thanks in advance,
> >
> > Mh
> >
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Para atras, solo para tomar impulso!

http://chromewaves.blogspot.com/

Re: Deploy my Service in a different war than axis2.war

Posted by Antonio Manuel Muñiz Martín <am...@gmail.com>.
See this:

http://wso2.org/library/90


2008/2/19, Moley Harey <mo...@gmail.com>:
>
> Hi folks!
>
> I have developed an Axis2 Web Service and to deploy and use it in Tomcat I
> generate the MyService.aar file and copy it into the
> "$CATALINA_HOME/webapps/axis2/WEB-INF/services" folder so it gets deployed
> correctly and is accesses in the url:
>
> http://localhost:8080/axis2/services/MyService
>
> My question is if I could build my own "mydeployment.war" file (instead of
> using the standard axis2.war) and put there all the necessary jars,
> configuration files and my own MyService.aar and deploy it directly into
> Tomcat so the url to access it would be something like:
>
> http://localhost:8080/mydeployment/services/MyService
>
> Is it possible to do it?
> Or all services implemented using Axis2 have to be deployed into axis.warfile??
>
> Thanks in advance,
>
> Mh
>

Re: Deploy my Service in a different war than axis2.war

Posted by ja...@nationwideprovident.com.
Yea..it's possible..because i am already doing that way



                                                                           
                   "Moley                                                  
                   Harey"                                                  
                   <moleyharey@                                       From 
                   gmail.com>           "Moley Harey"                      
                                        <mo...@gmail.com>             
                                                                        To 
                                        axis-user@ws.apache.org            
                                                                        cc 
                                                                           
                                                                   Subject 
                   02/19/2008           Deploy my Service in a different   
                   01:03 PM             war than axis2.war                 
                   Please                                                  
                   respond to                                              
                   axis-user@ws                                            
                   .apache.org                                             
                                                                           
                                                                           




Hi folks!

I have developed an Axis2 Web Service and to deploy and use it in Tomcat I
generate the MyService.aar file and copy it into the
"$CATALINA_HOME/webapps/axis2/WEB-INF/services" folder so it gets deployed
correctly and is accesses in the url:

http://localhost:8080/axis2/services/MyService

My question is if I could build my own "mydeployment.war" file (instead of
using the standard axis2.war) and put there all the necessary jars,
configuration files and my own MyService.aar and deploy it directly into
Tomcat so the url to access it would be something like:

http://localhost:8080/mydeployment/services/MyService

Is it possible to do it?
Or all services implemented using Axis2 have to be deployed into axis.war
file??

Thanks in advance,

Mh


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