Actually we want to remove both "axis2" and "services" prefixes.
The URI http://localhost:9090/axis2/services/echo should be changed to http://localhost:9090/echo. Is this possible with Simple Axis2 Server? Our end application URIs should look like the following... http://localhost:9090/echo1 http://localhost:9090/echo2 http://localhost:9090/add http://localhost:9090/sub and so on. Thanks, Sandeep From: George Loring [mailto:george.lor...@wal-mart.com] Sent: Thursday, July 26, 2012 7:26 PM To: Apache AXIS C Developers List Subject: RE: Need help on Axis2c The link I gave you does address simple axis2 server. Here's what it says: With simple axis2 server, the only mandatory part of the endpoint address is /services segment. When the URI dispatcher searches for the service being invoked, it uses /service as the prefix to parse the endpoint address and to locate the service. In other words, anything following /services would be considered the service name. In line with the above description, it is not a must to have /axis2 segment in the service endpoint address when using the simple axis2 server. Hence both http://localhost:9090/axis2/services/echo and http://localhost:9090/services/echo would point to the same service, namely echo. In fact the URL http://localhost:9090/[anything_here]/services/echo<http://localhost:9090/%5banything_here%5d/services/echo> would always point to the echo service with simple axis2 server. From: Sandeep Manappa Vasudeva Murthy (India - Bangalore) [mailto:sandeep.mur...@mindteck.com] Sent: Wednesday, July 25, 2012 12:22 AM To: Apache AXIS C Developers List Subject: RE: Need help on Axis2c Thanks George. As per the link, the prefix "/axis2/services" can be removed if we use Apache2 Httpd Server. But, we are using Simple_Axis2c_Server. The link does not explain exactly how to remove the prefix "/axis2/services" from the uri when using Simple_Axis2c_Server. From: George Loring [mailto:george.lor...@wal-mart.com] Sent: Tuesday, July 24, 2012 7:03 PM To: Apache AXIS C Developers List Subject: RE: Need help on Axis2c Take a look at this link: http://wso2.org/library/2663 From: Sandeep Manappa Vasudeva Murthy (India - Bangalore) [mailto:sandeep.mur...@mindteck.com] Sent: Tuesday, July 24, 2012 6:15 AM To: c-dev@axis.apache.org Subject: Need help on Axis2c Hi, This is sandeep here. We are planning to use Axis2c Server for one of our project. The web services are based on RESTful framework on Linux Platform. Currently, we got the Axis2c Server up and running and are able demonstrate echo sample services (enabled the REST GET methods in services.xml). The URI used for this demo is http://localhost:9090/axis2/services/echo/get_echo/HelloWorld. Question: Would it be possible to remove/axis2/services/ from the URI? Basically, the required URI should be http://localhost:9090/echo/get_echo/HelloWorld. Please let us know how to achieve this? We tried modifying the source code, but was unsuccessful. Thanks, Sandeep ______________________________________________________________________ This email has been scanned by the Boundary Defense for Email Security System. For more information please visit http://www.apptix.com/email-security/antispam-virus ______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential *** ______________________________________________________________________ This email has been scanned by the Boundary Defense for Email Security System. For more information please visit http://www.apptix.com/email-security/antispam-virus ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the Boundary Defense for Email Security System. For more information please visit http://www.apptix.com/email-security/antispam-virus ______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential *** ______________________________________________________________________ This email has been scanned by the Boundary Defense for Email Security System. For more information please visit http://www.apptix.com/email-security/antispam-virus ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the Boundary Defense for Email Security System. For more information please visit http://www.apptix.com/email-security/antispam-virus ______________________________________________________________________