Re: changing the Http request URI
hi, so how can I do that ? :)
Re: changing the Http request URI
Hi, You could have something like the following easily though (with one instance of Axis2 running), http://url:prot/somePrefix/Project1/services/ServicesNames http://url:prot/somePrefix/Project2/services/ServicesNames Thanks, Keith. On Wed, Aug 27, 2008 at 12:41 PM, pierre betz <[EMAIL PROTECTED]> wrote: > The NameOfTheProject have to be changed too.. > so, if I rename axis2 folder, it will just work for 1 project, and not the > others. > > I need something like : > http://url:prot/Project1/services/ServicesNames > http://url:prot/Project2/services/ServicesNames > ... > > > > > 2008/8/27 Shehan Simen <[EMAIL PROTECTED]> > > You can put many aar files in to the WEB-INF\services folder. I am doing >> this at the moment. >> >> So you can have something like this: >> >> *http://url:18080/NameOfTheProject/services/ServiceName1* >> >> *http://url:18080/NameOfTheProject/services/ServiceName2* >> >> *http://url:18080/NameOfTheProject/services/ServiceName3* >> >> * * >> >> I don't understand the problem you have. >> >> >> >> >> >> *From:* pierre betz [mailto:[EMAIL PROTECTED] >> *Sent:* Wednesday, 27 August 2008 1:05 PM >> *To:* axis-user@ws.apache.org >> *Subject:* Re: changing the Http request URI >> >> >> >> Hi, >> htank you for the answers. >> >> In fact, I have 3 projects, so 3 aar files, which need to be deployed in >> some folders like : >> http://url:18080/NameOfTheProject/services/ServiceName >> >> I think there is no possibility to do something in this case. Ok, I can >> rename the axis2 directory, and use some parameters in the axis2 >> configuration to change the axis2 root folder name and the services name, >> but it will do that for every aar file deployed. >> >> Anyway, thanks maybe it will help someone else :) >> >> > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
Re: changing the Http request URI
yep I agree.. but I will have 3 axis plugins running... no ?
RE: changing the Http request URI
You can just rename the axis2.war file to project1.war, project2.war, .. and then just deploy. No need to change any xml config files. Then you can copy the .aar files in to the extracted project1, project2, ...folders. I think it is very easy and won't take much time. From: pierre betz [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2008 5:11 PM To: axis-user@ws.apache.org Subject: Re: changing the Http request URI The NameOfTheProject have to be changed too.. so, if I rename axis2 folder, it will just work for 1 project, and not the others. I need something like : http://url:prot/Project1/services/ServicesNames http://url:prot/Project2/services/ServicesNames ... 2008/8/27 Shehan Simen <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> You can put many aar files in to the WEB-INF\services folder. I am doing this at the moment. So you can have something like this: http://url:18080/NameOfTheProject/services/ServiceName1 http://url:18080/NameOfTheProject/services/ServiceName2 http://url:18080/NameOfTheProject/services/ServiceName3 I don't understand the problem you have. From: pierre betz [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] Sent: Wednesday, 27 August 2008 1:05 PM To: axis-user@ws.apache.org<mailto:axis-user@ws.apache.org> Subject: Re: changing the Http request URI Hi, htank you for the answers. In fact, I have 3 projects, so 3 aar files, which need to be deployed in some folders like : http://url:18080/NameOfTheProject/services/ServiceName I think there is no possibility to do something in this case. Ok, I can rename the axis2 directory, and use some parameters in the axis2 configuration to change the axis2 root folder name and the services name, but it will do that for every aar file deployed. Anyway, thanks maybe it will help someone else :)
Re: changing the Http request URI
The NameOfTheProject have to be changed too.. so, if I rename axis2 folder, it will just work for 1 project, and not the others. I need something like : http://url:prot/Project1/services/ServicesNames http://url:prot/Project2/services/ServicesNames ... 2008/8/27 Shehan Simen <[EMAIL PROTECTED]> > You can put many aar files in to the WEB-INF\services folder. I am doing > this at the moment. > > So you can have something like this: > > *http://url:18080/NameOfTheProject/services/ServiceName1* > > *http://url:18080/NameOfTheProject/services/ServiceName2* > > *http://url:18080/NameOfTheProject/services/ServiceName3* > > * * > > I don't understand the problem you have. > > > > > > *From:* pierre betz [mailto:[EMAIL PROTECTED] > *Sent:* Wednesday, 27 August 2008 1:05 PM > *To:* axis-user@ws.apache.org > *Subject:* Re: changing the Http request URI > > > > Hi, > htank you for the answers. > > In fact, I have 3 projects, so 3 aar files, which need to be deployed in > some folders like : http://url:18080/NameOfTheProject/services/ServiceName > > I think there is no possibility to do something in this case. Ok, I can > rename the axis2 directory, and use some parameters in the axis2 > configuration to change the axis2 root folder name and the services name, > but it will do that for every aar file deployed. > > Anyway, thanks maybe it will help someone else :) > >
RE: changing the Http request URI
You can put many aar files in to the WEB-INF\services folder. I am doing this at the moment. So you can have something like this: http://url:18080/NameOfTheProject/services/ServiceName1 http://url:18080/NameOfTheProject/services/ServiceName2 http://url:18080/NameOfTheProject/services/ServiceName3 I don't understand the problem you have. From: pierre betz [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2008 1:05 PM To: axis-user@ws.apache.org Subject: Re: changing the Http request URI Hi, htank you for the answers. In fact, I have 3 projects, so 3 aar files, which need to be deployed in some folders like : http://url:18080/NameOfTheProject/services/ServiceName I think there is no possibility to do something in this case. Ok, I can rename the axis2 directory, and use some parameters in the axis2 configuration to change the axis2 root folder name and the services name, but it will do that for every aar file deployed. Anyway, thanks maybe it will help someone else :)
Re: changing the Http request URI
Hi, htank you for the answers. In fact, I have 3 projects, so 3 aar files, which need to be deployed in some folders like : http://url:18080/NameOfTheProject/services/ServiceName I think there is no possibility to do something in this case. Ok, I can rename the axis2 directory, and use some parameters in the axis2 configuration to change the axis2 root folder name and the services name, but it will do that for every aar file deployed. Anyway, thanks maybe it will help someone else :)
RE: changing the Http request URI
Hi Martin, Can we get rid of the word "axis2" from the url by doing as you said? Regards From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2008 9:29 AM To: axis-user@ws.apache.org Subject: RE: changing the Http request URI copy *.aar to %TOMCAT_HOME%/webapps/axis2/WEB-INF/services and update %TOMCAT_HOME%/webapps/axis2/WEB-INF/services/services.list Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Date: Wed, 27 Aug 2008 09:15:48 +1000 Subject: RE: changing the Http request URI Hi, Just rename the axis.war file to NameOftheWar.war and deploy it in the tomcat. Then put ur .aar file inside the proper place same as in axis2. It just work. Let me know how it goes. Regards, Shehan From: pierre betz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2008 6:57 PM To: axis-user@ws.apache.org Subject: Re: changing the Http request URI the previous web service was deployed in tomcat and generated with axis1. to access to a service and call an operation, we did : http://service.myUrl.com:18080/NameOftheWar/services/NameService?NameOperation but, as now I use axis2 as a plugin in tomcat, I really can't find a way to call the new WebService with the same url. I assume it's not possible ? because all the axis2 services will be in the http://url.com:18080/axis2/whatever/ .. si .. still no ideas on how to change the way axis2 listen.. Get thousands of games on your PC, your mobile phone, and the web with Windows(r). Game with Windows<http://clk.atdmt.com/MRT/go/108588800/direct/01/>
RE: changing the Http request URI
copy *.aar to %TOMCAT_HOME%/webapps/axis2/WEB-INF/services and update %TOMCAT_HOME%/webapps/axis2/WEB-INF/services/services.list Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Date: Wed, 27 Aug 2008 09:15:48 +1000 Subject: RE: changing the Http request URI Hi, Just rename the axis.war file to NameOftheWar.war and deploy it in the tomcat. Then put ur .aar file inside the proper place same as in axis2. It just work. Let me know how it goes. Regards, Shehan From: pierre betz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2008 6:57 PM To: axis-user@ws.apache.org Subject: Re: changing the Http request URI the previous web service was deployed in tomcat and generated with axis1. to access to a service and call an operation, we did : http://service.myUrl.com:18080/NameOftheWar/services/NameService?NameOperation but, as now I use axis2 as a plugin in tomcat, I really can't find a way to call the new WebService with the same url. I assume it's not possible ? because all the axis2 services will be in the http://url.com:18080/axis2/whatever/ .. si .. still no ideas on how to change the way axis2 listen.. _ Get thousands of games on your PC, your mobile phone, and the web with Windows®. http://clk.atdmt.com/MRT/go/108588800/direct/01/
RE: changing the Http request URI
Hi, Just rename the axis.war file to NameOftheWar.war and deploy it in the tomcat. Then put ur .aar file inside the proper place same as in axis2. It just work. Let me know how it goes. Regards, Shehan From: pierre betz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2008 6:57 PM To: axis-user@ws.apache.org Subject: Re: changing the Http request URI the previous web service was deployed in tomcat and generated with axis1. to access to a service and call an operation, we did : http://service.myUrl.com:18080/NameOftheWar/services/NameService?NameOperation but, as now I use axis2 as a plugin in tomcat, I really can't find a way to call the new WebService with the same url. I assume it's not possible ? because all the axis2 services will be in the http://url.com:18080/axis2/whatever/ .. si .. still no ideas on how to change the way axis2 listen..
Re: changing the Http request URI
the previous web service was deployed in tomcat and generated with axis1. to access to a service and call an operation, we did : http://service.myUrl.com:18080/NameOftheWar/services/NameService?NameOperation but, as now I use axis2 as a plugin in tomcat, I really can't find a way to call the new WebService with the same url. I assume it's not possible ? because all the axis2 services will be in the http://url.com:18080/axis2/whatever/ .. si .. still no ideas on how to change the way axis2 listen..