You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Subra A Narayanan <as...@gmail.com> on 2007/09/06 16:25:39 UTC

Changing the web service end point

Hello everyone,

Endpoint for Web services written using Axis2c are generally of the format

=> http://www.foo.com/axis2c/services/servicename


By modifying the httpd.conf (or apache2.conf) file, I was able to change the
above to

=> http://www.foo.com/subra/services/servicename


Now I would like to get rid of the word "services" from the uri. How do I do
that. Is that even possible?


Thanks for any help!


Subra

Re: Changing the web service end point

Posted by Samisa Abeysinghe <sa...@wso2.com>.
I have written an article on how to configure endpoints with Axis2/C. 
http://wso2.org/library/2663
Hope this helps.

Samisa...

Subra A Narayanan wrote:
> Thanks Samisa!!!
>
> On 9/7/07, *Samisa Abeysinghe* <samisa@wso2.com 
> <ma...@wso2.com>> wrote:
>
>     I forgot to mention that I fixed this for simple Axis server as well.
>     But in that case, you have to recompile the source. Only the httpd
>     module support the config based deployment. I hope we can live
>     with that
>     as simple axis server would hardly be used in production.
>
>     Thanks,
>     Samisa...
>
>     Samisa Abeysinghe wrote:
>     > Subra A Narayanan wrote:
>     >> Hello everyone,
>     >>
>     >> Endpoint for Web services written using Axis2c are generally of the
>     >> format
>     >>
>     >> => http://www.foo.com/axis2c/services/servicename
>     >>
>     >>
>     >> By modifying the httpd.conf (or apache2.conf) file, I was able to
>     >> change the above to
>     >>
>     >> => http://www.foo.com/subra/services/servicename
>     >>
>     >>
>     >> Now I would like to get rid of the word "services" from the
>     uri. How
>     >> do I do that. Is that even possible?
>     > Good that you raised the question, I fixed it today in svn head and
>     > will be available with 1.1 release.
>     > To get an idea on how to achieve this, please have a look at the
>     > comment here:
>     > http://issues.apache.org/jira/browse/AXIS2C-410#action_12525679
>     >
>     > Thanks,
>     > Samisa...
>     >>
>     >>
>     >> Thanks for any help!
>     >>
>     >>
>     >> Subra
>     >
>     >
>
>
>     --
>     Samisa Abeysinghe : WSO2 WSF/C
>     "
>     http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services
>     <http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services>"
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>     <ma...@ws.apache.org>
>     For additional commands, e-mail: axis-c-user-help@ws.apache.org
>     <ma...@ws.apache.org>
>
>


-- 
Samisa Abeysinghe : WSO2 WSF/PHP
"http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"


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


Re: Changing the web service end point

Posted by Subra A Narayanan <as...@gmail.com>.
Thanks Samisa!!!

On 9/7/07, Samisa Abeysinghe <sa...@wso2.com> wrote:
>
> I forgot to mention that I fixed this for simple Axis server as well.
> But in that case, you have to recompile the source. Only the httpd
> module support the config based deployment. I hope we can live with that
> as simple axis server would hardly be used in production.
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe wrote:
> > Subra A Narayanan wrote:
> >> Hello everyone,
> >>
> >> Endpoint for Web services written using Axis2c are generally of the
> >> format
> >>
> >> => http://www.foo.com/axis2c/services/servicename
> >>
> >>
> >> By modifying the httpd.conf (or apache2.conf) file, I was able to
> >> change the above to
> >>
> >> => http://www.foo.com/subra/services/servicename
> >>
> >>
> >> Now I would like to get rid of the word "services" from the uri. How
> >> do I do that. Is that even possible?
> > Good that you raised the question, I fixed it today in svn head and
> > will be available with 1.1 release.
> > To get an idea on how to achieve this, please have a look at the
> > comment here:
> > http://issues.apache.org/jira/browse/AXIS2C-410#action_12525679
> >
> > Thanks,
> > Samisa...
> >>
> >>
> >> Thanks for any help!
> >>
> >>
> >> Subra
> >
> >
>
>
> --
> Samisa Abeysinghe : WSO2 WSF/C
> "
> http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services
> "
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

Re: Changing the web service end point

Posted by Samisa Abeysinghe <sa...@wso2.com>.
I forgot to mention that I fixed this for simple Axis server as well. 
But in that case, you have to recompile the source. Only the httpd 
module support the config based deployment. I hope we can live with that 
as simple axis server would hardly be used in production.

Thanks,
Samisa...

Samisa Abeysinghe wrote:
> Subra A Narayanan wrote:
>> Hello everyone,
>>
>> Endpoint for Web services written using Axis2c are generally of the 
>> format
>>
>> => http://www.foo.com/axis2c/services/servicename
>>
>>
>> By modifying the httpd.conf (or apache2.conf) file, I was able to 
>> change the above to
>>
>> => http://www.foo.com/subra/services/servicename
>>
>>
>> Now I would like to get rid of the word "services" from the uri. How 
>> do I do that. Is that even possible?
> Good that you raised the question, I fixed it today in svn head and 
> will be available with 1.1 release.
> To get an idea on how to achieve this, please have a look at the 
> comment here: 
> http://issues.apache.org/jira/browse/AXIS2C-410#action_12525679
>
> Thanks,
> Samisa...
>>
>>
>> Thanks for any help!
>>
>>
>> Subra
>
>


-- 
Samisa Abeysinghe : WSO2 WSF/C
"http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services"


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


Re: Changing the web service end point

Posted by Samisa Abeysinghe <sa...@wso2.com>.
I forgot to mention that I fixed this for simple Axis server as well. 
But in that case, you have to recompile the source. Only the httpd 
module support the config based deployment. I hope we can live with that 
as simple axis server would hardly be used in production.

Thanks,
Samisa...

Samisa Abeysinghe wrote:
> Subra A Narayanan wrote:
>> Hello everyone,
>>
>> Endpoint for Web services written using Axis2c are generally of the 
>> format
>>
>> => http://www.foo.com/axis2c/services/servicename
>>
>>
>> By modifying the httpd.conf (or apache2.conf) file, I was able to 
>> change the above to
>>
>> => http://www.foo.com/subra/services/servicename
>>
>>
>> Now I would like to get rid of the word "services" from the uri. How 
>> do I do that. Is that even possible?
> Good that you raised the question, I fixed it today in svn head and 
> will be available with 1.1 release.
> To get an idea on how to achieve this, please have a look at the 
> comment here: 
> http://issues.apache.org/jira/browse/AXIS2C-410#action_12525679
>
> Thanks,
> Samisa...
>>
>>
>> Thanks for any help!
>>
>>
>> Subra
>
>


-- 
Samisa Abeysinghe : WSO2 WSF/C
"http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services"


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


Re: Changing the web service end point

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Subra A Narayanan wrote:
> Hello everyone,
>
> Endpoint for Web services written using Axis2c are generally of the format
>
> => http://www.foo.com/axis2c/services/servicename
>
>
> By modifying the httpd.conf (or apache2.conf) file, I was able to 
> change the above to
>
> => http://www.foo.com/subra/services/servicename
>
>
> Now I would like to get rid of the word "services" from the uri. How 
> do I do that. Is that even possible?
Good that you raised the question, I fixed it today in svn head and will 
be available with 1.1 release.
To get an idea on how to achieve this, please have a look at the comment 
here: http://issues.apache.org/jira/browse/AXIS2C-410#action_12525679

Thanks,
Samisa...
>
>
> Thanks for any help!
>
>
> Subra


-- 
Samisa Abeysinghe : WSO2 WSF/C
"http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services"


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