axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upul Godage" <upulg....@gmail.com>
Subject Re: how to get the list of available services in AXIS2 ?
Date Fri, 05 Oct 2007 09:10:49 GMT
Try  http://localhost:8080/xoraapps/services/listServices

or go to services from http://localhost:8080/xoraapps

Upul


On 10/5/07, Charitha Kankanamge <charitha@wso2.com> wrote:
>
> Hi Harsha,
> If you are deploying axis2 on Resin server, then you should deploy
> axis2.war as mentioned in the
> http://ws.apache.org/axis2/1_3/installationguide.html#servlet_container
>
> regards
> Charitha
>
> harsha kilangodi wrote:
>
> > Thanks Mughal,
> > I have tried the following link
> > http://localhost:8080/axis2/services/
> >
> > I got "404 Not found exception". Do I need to deploy axis2.war file to
> > get the list of services ?.
> >
> > Thanks
> > Harsha
> >
> >
> > */Anas Mughal <anasmughal@gmail.com>/* wrote:
> >
> >     Did you try:
> >     http://localhost:8080/axis2/services/
> >     <http://localhost:8080/axis2/services/Version>
> >
> >
> >
> >
> >
> >     On 9/29/07, *harsha kilangodi* <harshakln@yahoo.com
> >     <mailto:harshakln@yahoo.com>> wrote:
> >
> >         Hi all
> >         In AXIS1.x version we can list all the available services
> >         http://localhost:8080/xoraapps/services
> >         <http://localhost:8080/xoraapps/services>
> >
> >         Now I am trying to migrate to axis2. I have implemented the
> >         services successfully. I get the WSDL when the following URL
> >         is entered
> >
> http://localhost:8080/xoraapps/services/TimeTrackServices301?wsdl
> >
> >         But If I try the following URL
> >
> >         http://localhost:8080/xoraapps/services   I get the following
> >         exception
> >
> >          <Exception>org.apache.axis2.AxisFault: The service cannot be
> >         found for the endpoint reference (EPR) /xoraapps/services at
> >         org.apache.axis2.engine.DispatchPhase.checkPostConditions(
> DispatchPhase.java:62)
> >         at org.apache.axis2.engine.Phase.invoke(Phase.java:308) at
> >         org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
> >         at
> >         org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
> >         at
> >         org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine
> >         (RESTUtil.java:125) at
> >         org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(
> RESTUtil.java:119)
> >         at
> >
> org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest
> (AxisServlet.java:799)
> >         at org.apache.axis2.transport.http.AxisServlet.doGet
> >         (AxisServlet.java:242) at
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
> >         at
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
> >         at
> >         com.caucho.server.http.FilterChainServlet.doFilter(
> FilterChainServlet.java
> >         :96) at
> >         com.xora.apps.util.RequestLogger.doFilter(RequestLogger.java
> :258)
> >         at
> >         com.caucho.server.http.FilterChainFilter.doFilter(
> FilterChainFilter.java:88)
> >         at
> >         com.caucho.server.http.Invocation.service(Invocation.java:315)
> >         at
> >         com.caucho.server.http.CacheInvocation.service(
> CacheInvocation.java:135)
> >         at
> >         com.caucho.server.http.HttpRequest.handleRequest(
> HttpRequest.java:246)
> >         at
> >         com.caucho.server.http.HttpRequest.handleConnection(
> HttpRequest.java:163)
> >         at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
> >         at java.lang.Thread.run(Thread.java:534)</Exception>
> >
> >         I am using resin server (2.1.10). The web.xml contains
> >         following lines
> >
> >               <servlet>
> >                   <servlet-name>AxisServlet</servlet-name>
> >                   <display-name>Apache-Axis Servlet</display-name>
> >
> >         <servlet-class>org.apache.axis2.transport.http.AxisServlet
> >         </servlet-class>
> >                   <load-on-startup>1</load-on-startup>
> >               </servlet>
> >               <servlet>
> >                   <servlet-name>AxisAdminServlet</servlet-name>
> >                   <display-name>Apache-Axis AxisAdmin Servlet (Web
> >         Admin)</display-name>
> >                   <servlet-class>
> >
> >         org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
> >               </servlet>
> >               <servlet-mapping>
> >                   <servlet-name>AxisServlet</servlet-name>
> >                   <url-pattern>/servlet/AxisServlet</url-pattern>
> >               </servlet-mapping>
> >               <servlet-mapping>
> >                   <servlet-name>AxisServlet</servlet-name>
> >                   <url-pattern>*.jws</url-pattern>
> >               </servlet-mapping>
> >               <servlet-mapping>
> >                   <servlet-name>AxisServlet</servlet-name>
> >                   <url-pattern>/services/*</url-pattern>
> >               </servlet-mapping>
> >
> >         Could any one help me to know how to list the services with
> >         AXIS2.
> >
> >         Thanks
> >         Harsha
> >
> ------------------------------------------------------------------------
> >         Luggage? GPS? Comic books?
> >         Check out fitting gifts for grads
> >         <
> http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
> >at
> >         Yahoo! Search.
> >
> >
> >
> >
> >     --
> >     Anas Mughal
> >
> >
> > ------------------------------------------------------------------------
> > Need a vacation? Get great deals to amazing places
> > <
> http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--
> >on
> > Yahoo! Travel.
>
>
>
> --
> Charitha Kankanamge
> WSO2 inc.
> Flower Road, Colombo 07
> +94 714268070
>
> A bug in the hand is better than one as yet undetected
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

Mime
View raw message