<!-- To override repository/services you need to uncomment following parameter 
and value SHOULD be absolute file path. -->

 
<parameter name="ServicesDirectory" locked="false">service</parameter>



please direct posts on Axis implementation to axis-u...@ws.apache.org
 
Viel Gluck
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
 



Date: Sat, 31 Jul 2010 11:49:49 +0200
Subject: Axis2/Java : How to change the URL to access webserivces ?
From: hideki.tih...@gmail.com
To: axis-...@ws.apache.org

Hi,


I can't seem to find a solution for the following:


Currently the webservices are accessed via the 'default' URL: 
http://localhost:8080/myserver/services/...


I would like to change this to the following URL: 
http://localhost:8080/myserver/services/soap/...


What needs to be done to make this happen ?


I couldn't find that I need to set/change a parameter in the axis2.xml file


Also changing following in the web.xml:



    <servlet-mapping>
        <servlet-name>AxisServlet</servlet-name>
        <url-pattern>/services/*</url-pattern>
    </servlet-mapping>


to 

    <servlet-mapping>
        <servlet-name>AxisServlet</servlet-name>
        <url-pattern>/services/soap/*</url-pattern>
    </servlet-mapping>


did not make it happen.




Any ideas how it should be done ?


Regards.


H.





                                          

Reply via email to