axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: Axis2/Java : How to change the URL to access webserivces ?
Date Sat, 31 Jul 2010 12:47:26 GMT
On Sat, Jul 31, 2010 at 14:07, Martin Gainty <mgainty@hotmail.com> wrote:
> <!-- To override repository/services you need to uncomment following
> parameter and value SHOULD be absolute file path. -->
> <parameter name="ServicesDirectory" locked="false">service</parameter>

No, it's the servicePath parameter in axis2.xml that needs to be set
to services/soap.

> please direct posts on Axis implementation to axis-user@ws.apache.org

java-user@axis.apache.org to be precise.

>
> 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.tihiri@gmail.com
> To: axis-dev@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.
>
>
>

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


Mime
View raw message